Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

installed but can't get to admin


ruud

Recommended Posts

:'(

Please help me out. Installed thru Cpanel. Tried to follow your instructions as given here:

 

http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/249

 

still got this:

 

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.

 

HELP please

 

ruud faber

Link to comment
Share on other sites

Try this...

use your ftp program to login to your ftp account. There you should see a file in the root of the site called php.ini

Download this and open in notepad or your web editor. On the top of this page you will find something like register_global = off.

if it is off, then delete and write on.

save and upload back to your site (where you go it from)

Link to comment
Share on other sites

It is highly unlikely that you will see a file called php.ini in the root of your website (unless you put one there yourself). If you have access to a local copy of the main server's php.ini file then it will be below the level at which you access your website folders/files.

 

For instance - if your website files are at the /var/www/html/ level then a local php.ini file would be somewhere like:

/var/etc/

 

If the server is Apache based then put putting this code into a .htaccess file in the root of your web:

php_flag register_globals on

 

Vger

Link to comment
Share on other sites

It is highly unlikely that you will see a file called php.ini in the root of your website (unless you put one there yourself). If you have access to a local copy of the main server's php.ini file then it will be below the level at which you access your website folders/files.

 

For instance - if your website files are at the /var/www/html/ level then a local php.ini file would be somewhere like:

/var/etc/

 

If the server is Apache based then put putting this code into a .htaccess file in the root of your web:

php_flag register_globals on

 

Vger

 

Thanks guys!

 

A) i made a php.ini file in the root with the line you gave. Result: the website opened. the admin not.

 

B) yes, it's Apache based.

 

I tried and edited all .ahtaccess files one by one, so that they were not all changed.

same bad result: no website, no admin.

 

Will this problem be solved in the new version of OsC?

 

thanks again,

 

ruud

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...