Guest Posted September 25, 2006 Posted September 25, 2006 Hello, I'm absolutely new to osCommerce, so please go easy - especially if this has been answered many times before: I have searched the forums quite thoroughly but can't get a conclusive fix going. I've installed osCommerce 2.2 Milestone 2 060817 and it seems to be working fine however certain elements of the admin refuse to be edited - 1) I'm trying to set up shipping rates via a table. Every time I enter in the new details of the price bands and hit update, it doesn't save them at all and simply defaults to the original values in the field. 2) I installed the ProtX Form contrib, and the same problem occurs: when I try to enter in my ProtX user name and password, and submit it - the data simply resets to the default values. Any ideas please please please? Many thanks, Matt
reifler Posted September 25, 2006 Posted September 25, 2006 It could be permissions, or a confused connection to the database... Did you have this error right after the clean install of osCommerce? Can you edit other areas in the shipping admin panel? If you can edit other sections , then it might be a matter of going in and manually adding the shipping table to the mySQL database (not as complex as it sounds).
Guest Posted September 25, 2006 Posted September 25, 2006 It could be permissions, or a confused connection to the database... Did you have this error right after the clean install of osCommerce? Can you edit other areas in the shipping admin panel? If you can edit other sections , then it might be a matter of going in and manually adding the shipping table to the mySQL database (not as complex as it sounds). Thanks Reifler for your reply -- my initial thought was that it may be a permissions issue. Is there any file in particular I should attempt to CHMOD? The problem is constant throughout all elements of Modules area in the admin panel. If I need to manually alter the tables, is that something you can advise to do? All help much appreciated.
Catalyst Posted September 26, 2006 Posted September 26, 2006 Well, with 2.2-MS2-060817, something is definitely broken. I've confirmed it, as well --- on a new install, you can't configure ANY modules. It doesn't save the data. Drop back to 2.2-MS2 and copy the config files, and everything's golden. Something's up with 060817.
Guest Posted September 26, 2006 Posted September 26, 2006 Well, with 2.2-MS2-060817, something is definitely broken. I've confirmed it, as well --- on a new install, you can't configure ANY modules. It doesn't save the data. Drop back to 2.2-MS2 and copy the config files, and everything's golden. Something's up with 060817. how do i download that wercion?? its not under download.
Catalyst Posted September 26, 2006 Posted September 26, 2006 Well, nevermind it ... Courtesy of the release thread ... Edit ./includes/functions/compatibility & ./admin/includes/functions/compatibility and add reset($ar); to the end of the do_magic_quotes_gpc() function. For the uninitiated, so it looks something like this: 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); } That takes care of it. Serves me right for replying without reading the Release thread first.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.