I am having a problem...none of the paypal items are posting. It just returns the default settings with NOTHING changed. What si going on?
I am having a problem...none of the paypal items are posting. It just returns the default settings with NOTHING changed. What si going on?
Hi,
There is a known issue with this happening on some server with the standard osCommerce installation.
If you add this line to your shop/admin/modules.php it should fix the problem.
Add:
Before this:PHP Code:
reset($_POST['configuration']);
It should now look like this:PHP Code:
while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {
tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");
}
tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']));
break;
case 'install':
PHP Code:
case 'save':
reset($_POST['configuration']);
while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {
tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");
}
tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']));
break;
case 'install':
This worked...thanks!
What will you charge to write me a block of code that joins a member to a certain configurable group after an item is purchases in the cart.
I am looking for a group user is automatically joined after status of order is completed.
Getting same error when I try to "Install" checks in the payments module.
I had this open at one time, but need to edit the address to mail the check. Except now, it has reverted back to "Install" mode and when I click "Install" it blinks, refreshes the screen and back to same ole install button.
How do I fix this one?
Have you still got the above fix in the shop/admin/modules.php.
This is the Check/Money Order, Payment Module and it was originally working.
Yes, it was originally working, but for some reason is stuck on "Install" even though it's really already installed. I also noticed I got multiple entries in the configuration table for this. It does not seem to be "updating" existing entries, but rather "inserting" even though an existing entry in the config table exists.
was entered twice in the modules.phpPHP Code:
reset($_POST['configuration']);
Should have only been there once.
This caused duplicate entries in the DataBase.