Ironside Posted February 4, 2008 Posted February 4, 2008 I have just installed a package onto the server. However, I am getting the below message come up. I can't find anywhere in. .Htaccess to enable registered globals. Also, I haven't got a php.ini in the root folder. Any ideas? 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
♥Vger Posted February 5, 2008 Posted February 5, 2008 What you need to add to the root level .htaccess file will depend on the server configuration, and remember that .htaccess files only work on Apache servers, not on Windows servers. Even if your server is Apache your hosts may disallow setting Register Globals to 'on' via .htaccess. You can try these variations: php_value register_globals = 1 php_value register_globals = on php_flag register_globals = 1 php_flag register_globals = on Vger
Ironside Posted February 5, 2008 Author Posted February 5, 2008 What you need to add to the root level .htaccess file will depend on the server configuration, and remember that .htaccess files only work on Apache servers, not on Windows servers. Even if your server is Apache your hosts may disallow setting Register Globals to 'on' via .htaccess. You can try these variations: php_value register_globals = 1 php_value register_globals = on php_flag register_globals = 1 php_flag register_globals = on Vger I tried all these settings but it still won't work. Even uploaded another site on to another test server and it does exactly the same thing. Have you got any more ideas because I really need to get this sorted?
♥geoffreywalton Posted February 5, 2008 Posted February 5, 2008 You could try this contribution. http://addons.oscommerce.com/info/2097 Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
♥Vger Posted February 6, 2008 Posted February 6, 2008 Geoffrey shouldn't "Norfolk, UK (close to the centre of the universe)" read instead "Norfolk, UK (not the end of the world but we can see it from here)". I speak as someone who loves Norfolk. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.