PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 11-29-04, 09:35 PM   #1
vlaad
 
Posts: n/a
Exclamation Size Issues

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!!!
 
Old 11-29-04, 11:11 PM   #2
vlaad
 
Posts: n/a
Solution

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';
 
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:15 AM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.