robin Posted November 30, 2003 Posted November 30, 2003 trying to run the install.php but it keeps displaing the message FATAL ERROR: register_globals is disabled in php.ini, please enable it! http://www.shopnet.ca/catalog/install/index.php confirmed registerr_globals = no http://www.shopnet.ca <---will show info infophp(); research didn't give me anything tangable to fix this problem
Guest Posted November 30, 2003 Posted November 30, 2003 register_globals is something that your hosting provider must turn on in their php.ini file. Without it you can't run the install or the shop.
robin Posted November 30, 2003 Author Posted November 30, 2003 hi,, i have a static ip and i have alinux machine tha i host my webpage on so i do have total control of it....
misohoni Posted December 1, 2003 Posted December 1, 2003 Check to the attributes of the php.ini file and CHMOD it? You could also try installing by www.yoursite.com/catalog/install/install.php
freecool Posted December 1, 2003 Posted December 1, 2003 ive no access to php.ini...so cant install oscommerce on the server..anyway to work aroun this? thanks.
jpf Posted December 2, 2003 Posted December 2, 2003 register_globals variable HAS to be set in php.ini to ON or 'IF' allowed in httpd.conf, .htaccess (Host have to have 'AllowOverride Options' or 'AllowOverride All' set in httpd.conf for your site) php.ini look for and change to register_globals = on or in httpd.conf under your specific "VirtualHost" site: php_value register_globals 1 or in all .htaccess files in each directory which has php files that are run add line: php_flag register_globals on Good Luck
robin Posted December 3, 2003 Author Posted December 3, 2003 hi.. still no go... i could be wrong but i dont thing it has to do anything to do wtih php.ini configuratoin or httpd.conf....i think it has more to do with scriptiong... i could be in the left field on this one...
jpf Posted December 3, 2003 Posted December 3, 2003 Sorry - it has EVERYTHING to do with php.ini (or in some Linuxs - this may be php3.ini or something - same basic thing) Your host "MAY" have allow override on - thus can be changed in .htaccess file. If not then can NOT be set in .htaccess file As per :http://php.net/ini_set register_globals - Changeable: PHP_INI_PERDIR PHP_INI_SYSTEM Where: PHP_INI_PERDIR - Entry can be set in php.ini, .htaccess or httpd.conf PHP_INI_SYSTEM - Entry can be set in php.ini or httpd.conf See more about this variable at: http://php.net/register_globals osC is working on NOT requiring this to be used. For MS3/MS4 release.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.