i have big problem with the new cpg
when i install it i got this error
Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 125
Warning: Undefined index: SCRIPT_NAME in include/init.inc.php on line 171
Warning: Undefined index: REMOTE_ADDR in include/init.inc.php on line 178
Fatal error: Call to undefined function: mysql_fetch_assoc() in include/init.inc.php on line 80
=============
what i did is :
downloaded cpg1.3.3
extract it to my local server "apache"
made new data base using " phpmy admin"
when to the link "127.0.0.1/cpg133"
i got welcome screen and over it that error
i filled all the txt box as required "admin,password, dt name, dt user name ,... etc"
then OK
after that i gor other welcome messege
i pressed on the link to take me to the main page of my album but i got this error
can you please help me to fix it ??
What version of PHP do you have installed?
mysql_fetch_assoc() requires at least PHP 4.0.3.
Might you be running PHP 5?
Quote
register_long_arrays boolean
Tells PHP whether or not to register the deprecated long $HTTP_*_VARS type predefined variables. When On (default), long predefined PHP variables like $HTTP_GET_VARS will be defined. If you're not using them, it's recommended to turn them off, for performance reasons. Instead, use the superglobal arrays, like $_GET.
This directive became available in PHP 5.0.0.