Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Build 060817 - Admin not updating dbase


Roaster

Recommended Posts

Hi,

 

I have an existing OS shop running on build 051113.

 

I started a clean installation of OS 060817 on a new database.

 

Using the Admin tool, the "Modules" (Payment, Shipping, Order Total) aren't updating their fields (using the edit and update buttons).

 

Other Admin functions are updating changes (eg. Configuratino and Catalogue).

 

I've re-installed database etc. can't isolate the cause.

 

Any ideas?

 

Allan.

Link to comment
Share on other sites

I am having the same problem with a new installation of the current release of OSC. None of the modules will save configuration changes.

Go to catalog/admin/modules.php

 

Find around line 44 or so:

	switch ($action) {
  case 'save':

//Add the following line
	reset($HTTP_POST_VARS['configuration']);
//End of what you add
	while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {
		 etc.etc.etc...

There is a bug report #2742 about it. Surprising they haven't fixed the distribution.

Anyway, that fixes it.

 

RDB

Link to comment
Share on other sites

Go to catalog/admin/modules.php

 

Find around line 44 or so:

	switch ($action) {
  case 'save':

//Add the following line
	reset($HTTP_POST_VARS['configuration']);
//End of what you add
	while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {
		 etc.etc.etc...

There is a bug report #2742 about it. Surprising they haven't fixed the distribution.

Anyway, that fixes it.

 

RDB

 

I found this in the search feature and it sounded like the same issue I was having with my admin. I added the code you suggested with no results. The problem I am having is when I make a change in the admin files and click save or update the information is deleted. Not only is there no change but all information is removed.

 

Can you help?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...