Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    4

    Default OSC and register_globals... problem

    OK, I know this question has been possed many times before but none of the solutions have worked for me.

    A little history. I OSC based store front went down a few weeks back and it shows 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.

    The rest of my site works fine (non os commerse bassed). I tried changing the htaccess and adding register_globals = 1 or on or what ever but then I just get a 500 error page.

    Now, I'm pretty new at all this, so I need a step by step (babysteps) guide on how to fix this. If someone that can help me needs more info on my software versions or what ever, I'll try to answer them to the best of my abilities.

  2. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    Are you using the latest version of OS Commerce? I thought the latest version of OS Commerce did not require register_globals.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    4

    Default

    Well, I have OSC 2.2.... I know OSC 3.0 is out.... problem is that Cpanel will not let me upgrade... shows some warning about an upgrade test failed and that I assume all risk if it upgrade fails... kind of scary.

    I guess since my store is not working... I should try it... whats the worst that can happen, my store doesnt work anyways.

    Any other sugestions before I go with the upgrade? Has anyone been able to fix the 2.2 version?

  4. #4
    Member
    Join Date
    Apr 2009
    Posts
    230

    Default

    You can try putting the following line in the .htaccess file to enable register globals:

    Code:
     php_flag register_globals on
    If the above still generates the error then you can try creating a file named 'php.ini' in the folder named 'catalog' and put the following line in it :

    Code:
     register_globals = on

Similar Threads & Tags
Similar threads

  1. register_globals on or off ??
    By ctbhost in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-18-2008, 11:53 AM
  2. How to modify PHP.ini? (register_globals problem)
    By Bahrian in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 02-17-2008, 03:31 PM
  3. register_globals On
    By rip_curl in forum cPanel and WHM Discussions
    Replies: 31
    Last Post: 09-08-2006, 04:45 PM
  4. register_globals
    By bh2006 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-20-2006, 08:35 AM
  5. Whats the Best Template CMS Tool for Osc
    By bradyb in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-18-2005, 03:05 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube