1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, new accounts will need to make at least one (valid) post.
    Otherwise, we will periodically purge all users without posts or that haven't confirmed their account.

index.php page blank after calendar setup

Discussion in 'General Support' started by rmlee27, Aug 4, 2011.

Thread Status:
Not open for further replies.
  1. rmlee27

    rmlee27 Randy Lee

    Compatibility check was ok and the original files were installed by Brian, and I set up the page (index.php) as directed. The following line was entered just before the end of the head, and

    <?php $CSS=1; require("calendar/calendar.php); ?>

    </head>
    and

    <?php $OL=1; require("calendar/calendar.php); ?>
    was set as first line of body.

    Where I want the calendar, I entered

    <?php require("calendar/calendar.php"); ?>

    When uploaded, the page returns as a complete blank.

    What am I doing wrong?
  2. Brian

    Brian EPC Developer Staff Member

    Do the demo page(s) in the calendar directory function?

    Can you log into the Setup Manager and/or Event Manager?
  3. rmlee27

    rmlee27 Randy Lee

    When I open www.cheneyhall.org/calendar/demo.php I see a calendar, but not clickable and the events I've set up all appear below it as a group

    And yes, I can log into Setup Manager and Event Manager.
  4. Brian

    Brian EPC Developer Staff Member

    The demo page appears to be functioning as expected.

    What is the link to your page that comes up blank?
  5. rmlee27

    rmlee27 Randy Lee

    Blank Page

    http://www.cheneyhall.org/index_newtest.php

    Also, I tried using require("calendar/calendar.php); ?> and, since all web docs on the Linux server are in a htdocs directory, I also tried using require("htdocs/calendar/calendar.php); ?> and still get the blank page. If you want to go into the site, I can send you the credentials separately.
  6. Brian

    Brian EPC Developer Staff Member

    Can you reply and attach the index_newtest.php file?
  7. rmlee27

    rmlee27 Randy Lee

    index_newtest.php

    Here's the file. Thanks.

    Attached Files:

  8. Brian

    Brian EPC Developer Staff Member

    Ahh, you're missing a close quote mark in the PHP code.

    <?php $OL=1; require("calendar/calendar.php); ?>

    should be

    <?php $OL=1; require("calendar/calendar.php"); ?>

    Check them all.
  9. rmlee27

    rmlee27 Randy Lee

    Wow, funny about fussy computers ;-) Works perfectly. Thanks.
Thread Status:
Not open for further replies.

Share This Page