Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

register globals is off


Guest

Recommended Posts

i just uploaded the oscommerce shop, but i get a message saying :

register_globals is off please change the php.ini file bla bla bla.

 

I asked my ( paid ) host about it and they say that this is because hackers can use this to get information. They tolled me that i can use : $name = $_POST['name'];

they said that i must use this to all the fields in my form.

 

for the stuff in the url i must use : $name = $_GET['name'];

 

my question is :

What the hell are they talking about :unsure:

and how to i get the shop running :(

 

Ad

Link to comment
Share on other sites

i downloaded the patch, followed all instructions but still i get the message :o

so i must be doing something wrong here, i double checked the files that i had to change and i uploaded the whole folder again ( with the chainged files in it )

 

please,please,please...........

Link to comment
Share on other sites

.../catalog/includes/application_top.php

.../catalog/includes/functions/general.php

.../catalog/includes/functions/gzip_compression.php

.../catalog/includes/functions/sessions.php

.../admin/products_attributes.php

.../admin/includes/application_top.php

.../admin/includes/functions/general.php

.../admin/includes/functions/sessions.php

 

these are the files that i had to change,i shall try to do the file you talked about,

i let it know if it worked

Link to comment
Share on other sites

:huh: i got to the end.

i get a message : The configuration was successful!

with 2 buttons, catalog and administration tool

if i press catalog i get this message : Fatal error: Call to undefined function: tep_session_name() in /home/httpd/vhosts/soundcircel.com/httpdocs/oscommerce-2.2ms2/catalog/includes/application_top.php on line 140

 

if i press administartion tool i get this message : Fatal error: Call to undefined function: tep_session_save_path() in /home/httpd/vhosts/soundcircel.com/httpdocs/oscommerce-2.2ms2/catalog/admin/includes/application_top.php on line 92

 

:blink: :( :o :huh:

Link to comment
Share on other sites

  • 4 months later...
:huh:  i got to the end.

i get a message : The configuration was successful!

with 2 buttons, catalog and administration tool

if i press catalog i get this message : Fatal error: Call to undefined function: tep_session_name() in /home/httpd/vhosts/soundcircel.com/httpdocs/oscommerce-2.2ms2/catalog/includes/application_top.php on line 140

 

if i press administartion tool i get this message : Fatal error: Call to undefined function: tep_session_save_path() in /home/httpd/vhosts/soundcircel.com/httpdocs/oscommerce-2.2ms2/catalog/admin/includes/application_top.php on line 92

 

:blink:  :(  :o  :huh:

 

 

I know this is a old topic but i am having the same problems, i've seached the forums and it seems to be a common problem, but no-one seems to answer it or if they do it tell other what they did. So if anyone has fixed this problem can they please let me know!!!

 

Ta

 

Chris

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...