PDA

View Full Version : Size Issues


vlaad
11-29-04, 09:35 PM
Hi,

I've started using osCommerce, but my model numbers are larger than 12 chars, so I logged into myadmin and changed it to VARCHAR(255), but when I use easy populate to upload the new products it says that:

ERROR! - Too many characters in the model number.
12 is the maximum on a standard OSC install.
Your maximum product_model length is set to 12
You can either shorten your model numbers or increase the size of the field in the database.

I'm desperate to get past this one problem, please help me!

Cheers in advance!!!

vlaad
11-29-04, 11:11 PM
Hey again,

For those of you that know what you're doing, please excuse my apparent stupidity here.

For those of you who wondered how you'd do such a thing, but couldn't find that special spark somewhere inside their head, just go into the easypopulate.php page in your favourite text editor and change the variable: global $modelsize;
$modelsize = [field size];

This appeared around line 62 in the version of easy populate i'm using:
// Current EP Version
$curver = '2.74-MS2';