everyth5 Posted February 2, 2007 Share Posted February 2, 2007 I have just added a new Sub-Site to my server and am trying to get into the Admin area for it but keep getting this 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. I have copied the php.ini file from my main site , which works fine for getting into the Admin area, but it still does not help. What else must be done? Thanks for the help. Kel Link to comment Share on other sites More sharing options...
everyth5 Posted February 3, 2007 Author Share Posted February 3, 2007 sorry bump: Can anyone help me? I have searched and searched, copied/pasted and saved a dozen times and it just doesn't seem to work. I know that there is a very easy solution but I cannot remember what it is. Please help. thanks Link to comment Share on other sites More sharing options...
Brooke Posted February 3, 2007 Share Posted February 3, 2007 try adding this to your php.ini register_globals = On What? Yeah, I can do that. Link to comment Share on other sites More sharing options...
ace21gabriel Posted February 3, 2007 Share Posted February 3, 2007 or try the httaccess file. Link to comment Share on other sites More sharing options...
everyth5 Posted February 3, 2007 Author Share Posted February 3, 2007 try adding this to your php.ini register_globals = On Thanks Brooke. I had that there before but thought what the ****. Maybe I was missing some invisible code or something. Anyway, same error message 404 I also tried to modify the htaccess file to no avail. But I DID have a small brainstorm. Maybe it has something to do with the sub-directory being deeper in the code? Maybe I have to configure the code to look within the subdirectory and not go back to the root directory? Do you think I might be on the right track? If so where would I find the code that defines the files to look into? Would you know that? Link to comment Share on other sites More sharing options...
everyth5 Posted February 3, 2007 Author Share Posted February 3, 2007 or try the httaccess file. Hi Mat. thanks for the effort. I did try that but it too did not work. Also, sorry to burst your bubble, but as your footer signature says, check out my oscommerce website. I did so and found a vanilla site with a typo in the logo/header. :S Hope that you get lots of business. Thanks again Link to comment Share on other sites More sharing options...
Brooke Posted February 3, 2007 Share Posted February 3, 2007 Thanks Brooke. I had that there before but thought what the ****. Maybe I was missing some invisible code or something. Anyway, same error message 404 I also tried to modify the htaccess file to no avail. But I DID have a small brainstorm. Maybe it has something to do with the sub-directory being deeper in the code? Maybe I have to configure the code to look within the subdirectory and not go back to the root directory? Do you think I might be on the right track? If so where would I find the code that defines the files to look into? Would you know that? hrmmm I'm not sure. do you have this in your php.ini register_long_arrays = On What? Yeah, I can do that. Link to comment Share on other sites More sharing options...
everyth5 Posted February 3, 2007 Author Share Posted February 3, 2007 No, This is all I have in the file register_globals = On Link to comment Share on other sites More sharing options...
Brooke Posted February 3, 2007 Share Posted February 3, 2007 No, This is all I have in the file register_globals = On try adding this as well register_long_arrays = On What? Yeah, I can do that. Link to comment Share on other sites More sharing options...
everyth5 Posted February 3, 2007 Author Share Posted February 3, 2007 I got it! Seems that the php.ini file must be in the admin folder as well as the catalog folder Got it working now. Thanks Oh, btw. Didn't neet the register_long_arrays = On Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.