Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Modules (Shipping, Payment, Etc) Won't Save Data


quarterdane

Recommended Posts

In Admin, in the Modules section, in any of the subsections (payment, shipping, etc), I can edit the data, but when I save it, my changes are ignored. There are no error messages. The database somehow just doesn't get updated.

 

As an example:

 

I go to Admin => Modules => Shipping.

I select the "Flat Rate" line in the table. "Flat Rate" is enabled and the Shippng Cost is set to 5.00.

I click the Edit button, change the Shipping Cost to 4.50.

I click the Save button.

The screen refreshes and displays...5.00 for the Shipping Cost.

If I look at the value for the shipping cost in the underlying database, it also remains at 5.00

 

All the other parts of Admin are working fine. I have no problem entering, editing, or saving data anywhere else.

 

So what's causing this, and how do I fix it? Please help!

Link to comment
Share on other sites

Have you installed any module contribs?

 

Try removing then re-installing any modules you have active at the moment.

 

I just finished installing the PayPal IPN contribution, but my problem saving data pre-dates that. My memory is getting a little fuzzy by now, but I believe I've had the problem from the very beginning (I've been at this for a week, week and a half, something like that).

 

I've looked through the files with a compare program to see if any of the contributions I've applied are involved with the module files. I don't see anything other than the paypal additions, which were added _after the problem.

 

I'm going to remove all of the modules, as you suggest. I think I'll just add back the flat-rate shipping one, since it's very simple and localized (and unmodified). We'll see if that helps anything.

 

Thanks for your suggestion,

Stephanie

Link to comment
Share on other sites

 

I'm going to remove all of the modules, as you suggest. I think I'll just add back the flat-rate shipping one, since it's very simple and localized (and unmodified). We'll see if that helps anything.

 

And...no dice. Still same problem.

 

Stephanie

Link to comment
Share on other sites

And...no dice. Still same problem.

 

Stephanie

 

I found it! There's a bug report for this: #2742 ("Cannot Change Anything"). There's basically a line missing in the catalog/admin/modules.php file. In a nutshell, the save operation is starting at the end of the list of variables when it tries to save them instead of at the beginning. The bug fix article contains the code to fix it.

 

And it works!!!!

 

Stephanie

Link to comment
Share on other sites

great work Stephanie, u saved me from reinstalling it all,

thanx a lot, wish u the best,

it worked for me as well however I still have the issue with the"install" button,

I click on it the page refreshes and it shows the "install button" again but clicking on the module name itself shows the details and options!!!

a little retarded but what the heck at least it works,

 

thanx to moe (the guy who came up with the solution ) and you for finding it,

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...