moby1 Posted July 2, 2009 Share Posted July 2, 2009 Hello all - i am totally new to websites etc.... I am trying to get a store up and running. I've installed an OS Commerce template, but cannot access the admin page for it. When I type the address in: www.MYDOMAIN.co.uk/catalog/admin it comes out with the following error: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. How can I get rid of this so that I can start to customise my store etc? Please help - I've been trying to find a solution myself for the last couple days and I'm seriously struggling. Thanks in advance Link to comment Share on other sites More sharing options...
Pektsekye Posted July 2, 2009 Share Posted July 2, 2009 Hello all - i am totally new to websites etc.... I am trying to get a store up and running. I've installed an OS Commerce template, but cannot access the admin page for it. When I type the address in: www.MYDOMAIN.co.uk/catalog/admin it comes out with the following error: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. How can I get rid of this so that I can start to customise my store etc? Please help - I've been trying to find a solution myself for the last couple days and I'm seriously struggling. Thanks in advance Hello, You should contact your hosting support and ask to turn the register globals on Stanislav Link to comment Share on other sites More sharing options...
playcraft Posted July 2, 2009 Share Posted July 2, 2009 Hello all - i am totally new to websites etc.... I am trying to get a store up and running. I've installed an OS Commerce template, but cannot access the admin page for it. When I type the address in: www.MYDOMAIN.co.uk/catalog/admin it comes out with the following error: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. How can I get rid of this so that I can start to customise my store etc? Please help - I've been trying to find a solution myself for the last couple days and I'm seriously struggling. Thanks in advance You can try placing the following in your .htaccess file php_flag register_globals on Link to comment Share on other sites More sharing options...
moby1 Posted July 4, 2009 Author Share Posted July 4, 2009 Hi again - thanks for all your comments. Here is what my .htaccess file looks like (found in the "catalog" directory): # $Id: .htaccess,v 1.1 2003/06/20 00:18:30 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers # <IfModule mod_setenvif.c> # <IfDefine SSL> # SetEnvIf User-Agent ".*MSIE.*" \ # nokeepalive ssl-unclean-shutdown \ # downgrade-1.0 force-response-1.0 # </IfDefine> # </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # <IfModule mod_php4.c> # placed your recommened php_flag line here & it didnt work php_value session.use_trans_sid 0 php_value register_globals 1 </IfModule> Please let me know where I should be making the ammendments because I tried adding that PHP flag line in but then I got a 500 error!!? thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.