Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I Really Need Some Help!


pog

Recommended Posts

Posted

I have just installed 2.2ms2-060817 and when I update the shipping modules my information will not save.

 

I edit the USPS field click update nothing saves

 

I edit the XML/UPS mod nothing saves.

 

It did this prior to installing the mod

PLEASE HELP!!

I have been working on this for over 12 hours straight and it is driving me nuts

Posted

theres a known bug in this update release and has been discussed many times on the forum. Take a look at the news & announcement section and (page 2) the thread osCommerce 2.2 Milestone 2 060817 Update Released , just go throuh the first few pages you will find the answer (something to do with the compatibility.php file).

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted

If this is a new installation of osC 060817, then you are experiencing the widely known "refresh bug" of the modules section which includes shipping, payment, etc.

There is a simple fix:

1. Open the catalog/admin/includes/functions/compatibility.php.

2. At the end of the “do_magic_quotes_gpc” routine, add the following code

 

CODE

reset($ar);

 

 

It will end up looking like this:

 

CODE

function do_magic_quotes_gpc(&$ar) {

if (!is_array($ar)) return false;

while (list($key, $value) = each($ar)) {

if (is_array($ar[$key])) {

do_magic_quotes_gpc($ar[$key]);

} else {

$ar[$key] = addslashes($value);

}

}

reset($ar);

}

 

 

3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php.

 

The above is a post that I had taken from one of the thread unable to make out which thread.So posted the whole solution.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...