PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Troubleshooting & Problems (http://www.photoplog.com/forum/forumdisplay.php?f=6)
-   -   Switched Server's, Forum Works Except For Admincp (http://www.photoplog.com/forum/showthread.php?t=2652)

sacredfire 10-09-2008 08:35 AM

Switched Server's, Forum Works Except For Admincp
 
OK Im a total noob but learning as I go.

I Switched server hosts and got the forum running but I cant turn it back on because I cant access the admincp.

I get the following error:

Quote:

500 Server Error

A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
URL: http://www.sdphotoforum.com/digital-...incp/index.php

I then go to my Server Error logs and get this:


Quote:

[09-Oct-2008 02:21:39] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/sdphotof/public_html/digital-camera/gallery/settings.php on line 93
[09-Oct-2008 02:21:39] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sdphotof/public_html/digital-camera/gallery/settings.php on line 93

I go between the referenced error lines and cant find where the problem is.

Thanks in advance!

Nick

Morgan 10-09-2008 04:06 PM

http://www.photoplog.com/forum/showthread.php?t=1725

sacredfire 10-09-2008 06:30 PM

Thank you for the reply.

I rechecked the path and I removed "gallery" from the last part of the path so the photos and gallery work now.

I still get the same error message from settings.php in the Error Logs.

Here is what's on line 93 of settings.php:

Quote:

require_once('./global.php');

That path on line 93 seems to be correct because if I add an extra "." to it the gallery stops working.

Can I pm you the contents of my global.php? I cant see anything calling for the gallery :-(

sacredfire 10-09-2008 08:37 PM

UPDATE: Fixed!

For all those in Google land my problem was in the Cpanel permissions.

admincp folder should be set to 755 and index.php to 644

Morgan the first reply that was one of the problems. Thanks again.


All times are GMT. The time now is 08:33 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.