Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No savings in admin shipping/payment module


ariane

Recommended Posts

Hi all together,

 

could somebody help me?

I work with osC a few days and till now everything is ok except the shipping and payment module in admin.

All the changes I make in the modules like "sort order" or "shipping price" are not saved but keep the default values.

What is wrong and where do i have to fix the problem?

 

Please give me a hint, I am stuck now!

 

Greetings from germany

 

ariane

Link to comment
Share on other sites

Hi all together,

 

could somebody help me?

I work with osC a few days and till now everything is ok except the shipping and payment module in admin.

All the changes I make in the modules like "sort order" or "shipping price" are not saved but keep the default values.

What is wrong and where do i have to fix the problem?

 

Please give me a hint, I am stuck now!

 

Greetings from germany

 

ariane

in the file compatibility.php change the sourcecode as follows:

////
// Recursively handle magic_quotes_gpc turned off.
// This is due to the possibility of have an array in
// $HTTP_xxx_VARS
// Ie, products attributes
 function do_magic_quotes_gpc(&$ar) {
if (!is_array($ar)) return false;

while (list($key, $value) = each($ar)) {
// Patch osc-060817
  if (is_array($ar[$key])) {
// Patch osc-060817
	do_magic_quotes_gpc($ar[$key]);
  } else {
	$ar[$key] = addslashes($value);
  }
}
// Bug in Patch osc-060817 corrected
reset($ar);
 }

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

:rolleyes: What a nice surprise in the mornig to get an answer to my question.

 

And it worked!!! Super....

:thumbsup: The Bug correction was a big help.

 

Thanks a lot berkedam

 

Greetings from ariane

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...