PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Troubleshooting & Problems (http://www.photoplog.com/forum/forumdisplay.php?f=6)
-   -   Blank Page or Warning: chdir() or Warning: main() - Why? (http://www.photoplog.com/forum/showthread.php?t=1725)

Morgan 09-11-2007 07:12 PM

Blank Page or Warning: chdir() or Warning: main() - Why?
 
Blank Page or Warning: chdir() or Warning: main() - Why?

Most often it means that the server path you set in the PhotoPlog config.php file is incorrect.

Copy the following into a file named whatismypath.php and FTP it into your main forum directory, then call it from your browser, and it should tell you the server path to use in the PhotoPlog config file:
Code:

<?php echo getcwd(); ?>
Here is an example of how the line in the PhotoPlog config file should look, where you replace /full/path/to/forum with whatever whatismypath.php tells you, no ending slash:
Code:

define('PHOTOPLOG_FWD','/full/path/to/forum');
Note: If you are using a Windows server, you may need to replace \ with / in the whatismypath.php output.


All times are GMT. The time now is 11:46 PM.

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