Lalla Posted March 15, 2005 Share Posted March 15, 2005 Ok, I am getting this error when trying to upload a EP file : 22CM-1151-52-56-59-B-SET... 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 19 You can either shorten your model numbers or increase the size of the field in the database. So, I thought I was supposed to go into the database and change the length, which I did to 50 (its a lot, but I will be having very long numbers for some sets). It shows that I changed it to 50, but I still get the same error when uploading it again. I made the change in the Product db, is that the wrong place? is there some place else that needs to be changed too? :'( This is very frustrating!!! Thanks for any help, Lalla Link to comment Share on other sites More sharing options...
Winterchild Posted March 15, 2005 Share Posted March 15, 2005 Are you sure you set this too: //**** Size of products_model in products table **** // set this to the size of your model number field in the db. We check to make sure all models are no longer than this value. // this prevents the database from getting fubared. Just making this number bigger won't help your database! They must match! global $modelsize; $modelsize = 12; Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
Lalla Posted March 15, 2005 Author Share Posted March 15, 2005 Are you sure you set this too: //**** Size of products_model in products table **** // set this to the size of your model number field in the db. ?We check to make sure all models are no longer than this value. // this prevents the database from getting fubared. ?Just making this number bigger won't help your database! ?They must match! global $modelsize; $modelsize = 12; <{POST_SNAPBACK}> You didn't mention where that is....what file is it in? Link to comment Share on other sites More sharing options...
Winterchild Posted March 15, 2005 Share Posted March 15, 2005 Sorry, I assumed you already looked at that file. It's in easypopulate.php If the problem persists read the EP support thread here Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
Lalla Posted March 15, 2005 Author Share Posted March 15, 2005 Sorry, I assumed you already looked at that file. It's in easypopulate.php If the problem persists read the EP support thread here <{POST_SNAPBACK}> Thanks! I just did a search of my test site for the first sentence and it came up which file it was in. I didn't add the EP Contribution myself so I didn't even think to check there. Thanks again! Lalla Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.