Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Migrated from Win32 Apache server to *nix Apache server


Stewart Gilray

Recommended Posts

Ok so this is weird, we've moved our second ecommerce site to Pair and this one is just NOT happy at all..

 

1. All files copied over and setup

2. MySQL DB updated to same as previous Installation

3. Want to change some of the settings for Modules, IE payment and shipping. Neither of which will let me update them...

 

If I go to edit ANY of the modules (ones that are setup or not) I click edit, change the settings then click UPDATE.

 

Upon going back to the edit page again the settings are as previous.

 

I've taken this up with Pair support as a DB issue, they are saying it is NOTHING to do with them.

 

For some reason it only appears to be on the modules, and nothing.

 

I've just done a complete check of all directory permissions etc. and what have you.

 

But for some reason NONE of the module settings can be edited.

 

This is really urgent, if anyone can help or give an insight as to why this is happening I would certainly appreciate it.

 

I've been trying to get this working for about two weeks now, so this is REALLY a last resort, my customer needs the site open BY January 2nd.

 

FYI, I did a full install from scratch and re-imported the SQL, still no joy.

 

Cheers,

 

Stew

Link to comment
Share on other sites

I'm finding this staggering...

 

I've had emails from people offering me COMMERCIAL support, and that they "CAN HELP" me.

 

But yet no one on here has actually replied with any type of solution, OR suggestion.

 

9 times out of 10, most solutions take a quick suggestion from someone and the problem is solved, so please I really am in the sh!te with this one.

Link to comment
Share on other sites

I'm finding this staggering...

 

I've had emails from people offering me COMMERCIAL support, and that they "CAN HELP" me.

 

But yet no one on here has actually replied with any type of solution, OR suggestion.

 

9 times out of 10, most solutions take a quick suggestion from someone and the problem is solved, so please I really am in the sh!te with this one.

 

 

 

I had a similar problem.

 

In the catalog/admin/modules.php file around line 42 I had to add this line to reset the array index.

 

reset($HTTP_POST_VARS['configuration']);

 

I dont know if this is OK or messes up some other part of the code (Any expert out there, please advise), but it works for me.

 

 

This is the block of code that I placed the above code snippet into.

 

 

 

if (tep_not_null($action)) {

switch ($action) {

case 'save':

reset($HTTP_POST_VARS['configuration']);

while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {

tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...