Installing a fresh copy of CPG 1.3.2 on Mac OS X 10.3.5 running PHP 5.0.1 with Apache/1.3.29/GD 2.0.28.
Each time I enter in the information for the initial admin screens; admin account & password, mysql config info and hit the "Let's Go" button the screen is redirect to the the same page with all values reset to default. I've tried various browsers; Firefox 1.0PR, Safari and even IE 6sp1 on my XP laptop.
I can see in my error_log that I'm getting this:
Undefined variable: HTTP_SERVER_VARS in /wwwroot/fotos/include/init.inc.php on line 178
Any ideas on how to correct this? Maybe this will fix my problem?
Thanks.
You need to configure PHP correctly. Search the forums for php5, or go to php.net and read about how to configure php.ini. Much has changed from PHP4 to PHP5, including how server variables are handled. 1.3.2 uses the old style, and that's disabled by default in PHP5. I don't recall the setting off-hand, but you'll find it during your search.
Thanks, that took care of the problem.
I had to turn on register_globals and register_long_arrays in the php.ini file.
don't turn on register_globals - this is not necessary and was wrong on the other post as well. Turning on register_long_arrays only should do the trick as well.
Joachim