Jump to content



Photo
- - - - -

register_globals is disabled in your PHP.


This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1   zkart

zkart
  • Members
  • 2 posts

Posted 16 December 2006 - 13:56

Hello, today I installing a oscommerce but:

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.

Can anybody tell me the steps to see my Oscommerce Page please ?, where is the php.ini configuration file or the .htaccess file in my catalog directory ?


Thank You.

#2   nicko107

nicko107
  • Members
  • 117 posts

Posted 16 December 2006 - 14:16

Hello, today I installing a oscommerce but:

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.

Can anybody tell me the steps to see my Oscommerce Page please ?, where is the php.ini configuration file or the .htaccess file in my catalog directory ?
Thank You.



Hi

the .htaccess file are in catalog directory, in some servers only can see this file in the File Manager of the control panel of hosting, in Cpanel or Plesk, or others.

this file are in the pack of osCommerce, see in this file this lines:

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>

uncomment the third line:

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
php_value register_globals 1
#</IfModule>


that could be change the register globals to On

#3   Vger

Vger
  • Members
  • 16,978 posts

Posted 16 December 2006 - 14:21

That only works on Apache servers.

Vger

#4   zkart

zkart
  • Members
  • 2 posts

Posted 16 December 2006 - 15:39

Hi

the .htaccess file are in catalog directory, in some servers only can see this file in the File Manager of the control panel of hosting, in Cpanel or Plesk, or others.

this file are in the pack of osCommerce, see in this file this lines:

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>

uncomment the third line:

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
php_value register_globals 1
#</IfModule>
that could be change the register globals to On



Hello, I'm going to my admin > .htaccess2 and make this (But nothing change). I Can't See my page. In my anothers .htaccess not have a :

#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>

I only have this in my .htaccess2 and make this change:

#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
php_value register_globals 1
#</IfModule>

But Nothing Change


Somebody Help Mee !


Thank You.

#5   nicko107

nicko107
  • Members
  • 117 posts

Posted 16 December 2006 - 17:29

Hello, I'm going to my admin > .htaccess2 and make this (But nothing change). I Can't See my page. In my anothers .htaccess not have a :

#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>

I only have this in my .htaccess2 and make this change:

#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
php_value register_globals 1
#</IfModule>

But Nothing Change
Somebody Help Mee !
Thank You.



Hi

in that case create that file and add this:

php_value register_globals 1

you could create that file with notepad and save with the name htaccess.txt
then upload it to the server into your catalog file with a FTP program
in the server rename that file to: .htaccess

#6   kachro

kachro
  • Members
  • 2 posts

Posted 17 December 2006 - 02:39

That worked just fine with me!!!!!!!!!!!
thanks man /tongue.gif' class='bbc_emoticon' alt=':P' />


Hi

the .htaccess file are in catalog directory, in some servers only can see this file in the File Manager of the control panel of hosting, in Cpanel or Plesk, or others.

this file are in the pack of osCommerce, see in this file this lines:

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>

uncomment the third line:

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
php_value register_globals 1
#</IfModule>
that could be change the register globals to On