Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reinstalling a OsCMs2.2 shop!


Guest

Recommended Posts

Posted

Will my old products remain if i keep the database and /images folder or do i have to add ower 500 prodicts again just because a contrib that did work on my test shop didn?t work on a sharp shop ?

Posted

Don't do a regular install, you'll overwrite the old database. Just copy the program files up.

 

Save the old configure.php files and you'll know how to set the new copies or you can just use them.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
Will my old products remain if i keep the database and /images folder or do i have to add ower 500 prodicts again just because a contrib that did work on my test shop didn?t work on a sharp shop ?

Follow AlanR's advice and next time, backup your originals. ;)

Posted

I have backupped all original files before i try a Contrib. " I always do "

Sad to say i couldn?t backup the database due to some problems with my webhotel :P

The thing is that i even tried to owerwrite all modified files with old ones but whenewer i try to add a atribute i get errormessages.

 

I tried the Attributes copier contrib on my "Testshop" and it worked out fine.

But when i deleted all previouis attributes on the sharp shop and installed the contrib it shows me errormessages.

 

Even when i try to make a new attribute. :huh:

 

1136 - Column count doesn't match value count at row 1

insert into products_attributes values ('', '28', '6', '9', '', '+')

[TEP STOP]

Posted
Don't do a regular install, you'll overwrite the old database. Just copy the program files up.

 

Save the old configure.php files and you'll know how to set the new copies or you can just use them.

will this keep all products intact ?

Posted
Don't do a regular install, you'll overwrite the old database.  Just copy the program files up.

 

Save the old configure.php files and you'll know how to set the new copies or you can just use them.

will this keep all products intact ?

Products will stay intact as long as you don't alter the DB.

 

In refernce to your error, it doesn't look like anything serious. The number of values doesn't match the number of values allowed or expected. There are either too few or too many.

 

Possible causes:

 

(a) You needed to add a new field to the DB which you failed to add.

(B) There's an error in your PHP file which is trying to pass an extra variable.

© ???

Archived

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

×
×
  • Create New...