Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to update database


ccaspell

Recommended Posts

Posted

I have just moved a site to a new server. I have updated both configure.php files with the database info and page info and the site appears to wok in that I can see all the products and categories etc. I can go into the admin section and change the configuration variables without a problem but when I come to change the products or categories the database will not update.

 

I am able to add a new product, but when I fill in the data the Products Name, Products Description, Products Image and Products URL is not saved . If I try to modify a record the data from the record comes up as it should, but when I then try to preview the data from the above fields is wiped. If I do not update at this stage, but cancel then the data is not lost and I can repeat-edit the procedure. I am unable to delete products but I am able to set the status to inactive which solves the immediate problem of new blank products being displayed.

 

Onto the main site, everything looks fine and I am able to browse the products and categories as normal - even the blank ones that have not been set to inactive. I can add the products to the cart and when I go to view my cart the products are there and I can go all the way through to the final buying stage without a problem. I cann, however, remove a product from my cart. This may increase sales somewhat, but for all the wrong reasons. :D

 

On the server side I have got file_uploads set to On and so is register_globals. When I look at the phpinfo file on tools>Server Info it shows that the upload_tmp_dir and user_dir have no value, which I thought might be the problem but when I go to edit my php.ini file it says that if upload_tmp_dir does not have a value then it will revert to the default system file. I am using php 4.3.10 and OSC 2.2-MS2. MySQL is v. 3.23.58

 

I would be really please if anyone can shed some light on this as I am pretty stumped.

 

Thanks in advance.

Archived

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

×
×
  • Create New...