Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Some configurations changes not saved - Why?


Guest

Recommended Posts

Posted

Hello,

I've successfully installed and configured most of my store, but there are a few configuration changes that will not save. For example - I log in to the admin area and click on "Payment" and bring up the check or money order line; I go to the edit section and enter information in the "Make checks payable to" field and click update. The changes are not saved. Is this a problem with permissions on certain files or is there some other solution that I'm overlooking? Thanks for any help on this issue. My goal was to have the store up and running by Sept. 1 :(

 

Also: is there a way to allow upload of multiple images for a product? Thanks!

 

Webster's @ttic

Posted

Hello try this

 

Open includes/functions/compatibility.php

admin/includes/functions/compatibility.php

 

Around line 12 (includes functions/ compatibility.php)

 

check it matches this exactly

 

 

function do_magic_quotes_gpc(&$ar) {

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

 

reset($ar);

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

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

do_magic_quotes_gpc($ar[$key]);

} else {

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

}

}

reset($ar);

}

 

 

The reset($ar);

Might not be there

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Hello try this

 

Open includes/functions/compatibility.php

admin/includes/functions/compatibility.php

 

Around line 12 (includes functions/ compatibility.php)

 

check it matches this exactly

 

 

function do_magic_quotes_gpc(&$ar) {

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

 

reset($ar);

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

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

do_magic_quotes_gpc($ar[$key]);

} else {

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

}

}

reset($ar);

}

 

 

The reset($ar);

Might not be there

 

 

 

Thank you soooooo much! I Love You!

Archived

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

×
×
  • Create New...