PDA

View Full Version : Errors opening calendar page


matawbmstr
01-13-2006, 04:59 PM
I am getting these errors when opening the page I have the calendar on. I have included the code as instructed. I saw another post with the same problem...but did not understand the resolution. Here is a link to the page with the errors

http://www.gomata.org/events.php

help please!


Warning: main(calendar.php): failed to open stream: No such file or directory in /home/gomata/gomata-www/events.php on line 4

Warning: main(calendar.php): failed to open stream: No such file or directory in /home/gomata/gomata-www/events.php on line 4

Fatal error: main(): Failed opening required 'calendar.php' (include_path='./:/usr/local/lib/php:/home/gomata/gomata-www') in /home/gomata/gomata-www/events.php on line 4

Brian
01-13-2006, 06:31 PM
Is this a new install?

Does the demo.php file work?

Can you log into the Setup Manager?

Are the paths correct in the calendar.php file?

ve9gra
01-15-2006, 09:21 AM
I'm ready to bet that in your "require" statement you put "require("calendar.php");"

It's looking for "calendar.php" in the current folder and of course it's not there... Change your require to "require(calendar/calendar.php");" and that should fix your problem.

matawbmstr
01-19-2006, 04:35 PM
I made the calendar/calendar.php change...now the page loads properly, but the calendar does not show. Any ideas. I am running in trial mode....if I can get all of this ironed out will purchase...

Gina

Brian
01-19-2006, 05:51 PM
Can you attach the page with the original code that is "requiring" the calendar? (You may need to rename it .txt or zip it up first).

matawbmstr
01-20-2006, 03:48 PM
is this what you are talking about?

Brian
01-20-2006, 04:07 PM
On the last:

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

Remove $CSS=1;

matawbmstr
01-20-2006, 05:33 PM
O.K.

Did that and the calendar now shows...but my trial has expired so I cannot see the functionality of the program. Can you extend my trial so I can get a good look?

Brian
01-20-2006, 06:45 PM
Please open a support ticket with your current trial license key (found in the Setup Manager) and I'll see what I can do.