PDA

View Full Version : 500 Server Error


karenkwfl
05-07-2006, 01:16 PM
I have installed, deleted, and installed again. Tested and tested again. The demo.php (http://www.kwbts.com/calendar/demo.php ) works. No trouble getting into the setup panel. But I continually get the same error when trying to load this page: http://www.kwbts.com/members_area/KWBTScalendar.php

500 Server Error
"The web server encountered an error or misconfiguration and was unable to complete your request. If this error persists, please contact the webmaster, and inform them of the time the error occurred, and anything you might have done that may have caused the error."

I'm attaching my my page in a .zip file. I'm using site root paths, which i used successfuly in another easyphpcalendar instal. but I did test document relative paths with no success.

I greatly appreciate your help.
Karen

Brian
05-07-2006, 05:47 PM
It could be a path issue...

Try changing each

require("/calendar/calendar.php");

to

require("../calendar/calendar.php");

karenkwfl
05-07-2006, 05:56 PM
Hi Brian,
I had already tried that, but I did it again. Same error message.
Attaching the file with changed paths just to be sure I'm not making an error somewhere.

Thanks for your continued help, Karen

karenkwfl
05-07-2006, 06:07 PM
If I move the page out of the folder it is in, updating the paths, of course, I get different errors:
Warning: main(/calendar/calendar.php) [function.main (http://www.easyphpcalendar.com/forums/function.main)]: failed to open stream: No such file or directory in /home/kwbts/www/www/members_area/calendar.php on line 28

Warning: main(/calendar/calendar.php) [function.main (http://www.easyphpcalendar.com/forums/function.main)]: failed to open stream: No such file or directory in /home/kwbts/www/www/members_area/calendar.php on line 28

Fatal error: main() [function.require (http://www.easyphpcalendar.com/forums/function.require)]: Failed opening required '/calendar/calendar.php' (include_path='.:/usr/local/lib/php') in /home/kwbts/www/www/members_area/calendar.php on line 28

Does this informaiton clarify anything?
Karen

ve9gra
05-07-2006, 08:04 PM
At the very worse case senario, just use the proper full path... You're using a wrong path in there for sure.

change every require to

require("/home/kwbts/www/www/calendar/calendar.php");