Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customers Cannot Visit My Online Bookshop


tolbak

Recommended Posts

Hi there, I have a shop http://www.wisdombookshop.com that customers are unable to visit due to some reasons unknown to me.

 

Each time the site is typed in the browser what they get is this message.

 

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 not worked on this site for a while and will not know what is responsible for this error messages.

 

Please, I want someone to help me out.

 

Thank you.

Link to comment
Share on other sites

Hi,

 

I'm not sure if this will solve your problem

 

Here' s the simple solution for the following error:

System Requirement Error: register_globals is diabled i your PHP configuration....

 

Solution:

Locate the file " .htaccess" from the folder where you install OSC.

select this file and "Edit" edit command is available in cpanel - file manager

 

You should see the following line at the end of the file.

 

#<IfModule mod_php4.c>

#php_value session.use_trans_sid 0

#php_value register_globals 1

#</IfModule>

 

Now remove the "#" and it look like this:

 

<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

</IfModule>

 

Click "save" and close

 

It should work now.

 

got it form a a post in the forum

http://www.oscommerce.com/forums/lofiversion/i...hp?t203498.html

 

do you have a backup of your file try replacing them from a backup copy to dee if it fixes it.

Link to comment
Share on other sites

Hi just Open a notepad document and copy this into it.

 

register_globals = on

 

and then save as php.ini and put into your main shop directory and admin directory.

Link to comment
Share on other sites

Hi just Open a notepad document and copy this into it.

 

register_globals = on

 

and then save as php.ini and put into your main shop directory and admin directory.

 

It has done the magic! I am grateful indeed.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...