PDA

View Full Version : No admin or logout function.


sammyman
June 25th, 2004, 08:27 PM
Everything on my forum works except the admin and logout function. It says

Warning: main(home/+++++/public_html/photo/languages/english/pp-inc.php): failed to open stream: No such file or directory in /home/+++++/public_html/photo/pp-inc.php on line 63

Fatal error: main(): Failed opening required 'home/+++++/public_html/photo/languages/english/pp-inc.php' (include_path='.:/usr/local/lib/php') in /home/+++++/public_html/photo/pp-inc.php on line 63

Could this be in the headerinc file? Line 63 of pp-inc.php says :

require "{$Globals['PP_PATH']}/languages/$pplang/pp-inc.php";

I think I am calling globals from my vb forum with the headerinc file.... Why doesn't my logout and admin buttons work?

Chuck S
June 26th, 2004, 05:23 PM
$PP_PATH is in your config file. Make sure you fill out the proper server path to photopost in there.