Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate & Products Attributes


VJ

Recommended Posts

if you read thru the last few pages, most of the errors are dealing with the data.  try one line of data only.  post the data also.

 

Sorry Mibble, I musn't have made myself very clear? I'm not even able to generate the data file to download.

 

I've tried generating all of the files in the temp dir with the links in the EP admin but the page simply refreshes.... It doesn't generate any files to download.

 

Create Complete tab-delimited .txt file in temp dir

Create Model/Price/Qty tab-delimited .txt file in temp dir

Create Model/Category tab-delimited .txt file in temp dir

Create Froogle tab-delimited .txt file in temp dir

Create Model/Attributes tab-delimited .txt file in temp dir

 

Thanks

Link to comment
Share on other sites

Mibble, or anyone who might know, any ideas on what might be the problem?

 

I figure its the way the spreadsheet is being formatted on save because I can upload the sample file and I get all the confirmations that new products were added (or updated).

 

What should it show as tab placement when opened in txt editor with hiden characters showing?

Link to comment
Share on other sites

Once you have excel open (this must be done first!), then you click on open, then select the txt file, usually shows windows ansi on step 1, on step 2, select tab, and text qualifier of ", the data preview will show things below, column data format is general (same with dates). also NEVER use the $ while entering pricing. once the sheet is open, you can either auto format the sheet, hide columns you do not need to edit, format the other column widths manually, etc.

 

i use quattro pro when my sheets exceed excel limitations, it goes out over 18000 columns

Link to comment
Share on other sites

Once you have excel open (this must be done first!), then you click on open, then select the txt file, usually shows windows ansi on step 1, on step 2, select tab, and text qualifier of ", the data preview will show things below, column data format is general (same with dates).  also NEVER use the $ while entering pricing.  once the sheet is open, you can either auto format the sheet, hide columns you do not need to edit, format the other column widths manually, etc.

 

i use quattro pro when my sheets exceed excel limitations, it goes out over 18000 columns

 

I use OpenOffice. It does not ask what format to open the file in, it simply opens it as a txt file. The qualifier is showing as apostrophe instead of quotes. It also does not open it in typical spreadsheet format, but opens it in more of a wordpad format.

 

If you are not familiar with OpenOffice, it is a free d/l at downloads.com and you can open one of your files (make a back-up first LOL) to see what I am talking about. If yours looks fine, then I obviously have done something wrong in either the creation or the saving of the file.

 

I wish I had only a couple hundred products so I could easily just upload by hand.

 

Thanks for taking time out of your day to help me (and others) with our problems.

 

Lori

Link to comment
Share on other sites

Here's a weird one.

 

I successfully ran EP earlier today, updating web-resident database. Then when I tried to run the same file on my local (using XAMPP) database, it only updated the first row, and returned the following message.

 

File uploaded.

Temporary filename: C:\DOCUME~1\Owner\LOCALS~1\Temp\php3D.tmp

User filename: SickChicksProducts.txt

Size: 17666

| SC0001 | SC0001.jpg | Manolo Bla | Congratula | | | | | | | | 0.04 | 6/26/2005 | 100 | Baby Updated

| SC0007 S | SC0017 S | SC0019 S | SC0019 S | SC0021 S | SC0023 S | SC0024 S | SC0036 S | SC0043 S | SC0051 S | SC0002 S | SC0002 S | SC0003 S | SC0004 S | SC0005 S | SC0006 S | SC0009 S | SC0010 S | SC0011 S | SC0012 S | SC0012 S | SC0015 S | SC0016 S | SC0018 S | SC0020 S | SC0022 S | SC0025 S | SC0025 S | SC0026 S | SC0027 S | SC0028 S | SC0029 S | SC0030 S | SC0030 S | SC0031 S | SC0031 S | SC0031 S | SC0032 S | SC0032 S | SC0032 S | SC0033 S | SC0033 S | SC0034 S | SC0034 S | SC0034 S | SC0035 S | SC0037 S | SC0038 S | SC0039 S | SC0039 S | SC0040 S | SC0040 S | SC0041 S | SC0041 S | SC0042 S | SC0042 S | SC0042 S | SC0044 S | SC0044 S | SC0045 S | SC0046 S | SC0046 S | SC0047 S | SC0047 S | SC0047 S | SC0048 S | SC0048 S | SC0049 S | SC0049 S | SC0050 S | SC0052 S | SC0053 S | SC0054 S | SC0055 S | SC0056 S | SC0057 S | SC0058 S | SC0059 S | SC0060 S | SC0061 S | SC0062 S | SC0063 S | SC0064 S | SC0065 S | SC0066 S | SC0067 S | SC0067 S | SC0068 S | SC0069 S | SC0070 S | SC0071 S | SC0072 S | SC0073 S | SC0074 S | SC0075 S | SC0076 S | SC0077 S | SC0078 S | SC0079 S | SC0080 S | SC0081 S | SC0082 S |

 

As you see, all the other rows show only the v_products_model field, followed by a space and the letter S.

 

Any ideas?

 

Thanks.

Mike in Key West

Link to comment
Share on other sites

Hi John,

 

The EOREOR's are all there.  Like I said, the same file processed just fine on the online website.

 

I don't know the best way to post my upload.txt file.  Would you like to see it?

 

 

Don't know if this will be helpful or not, but I just re-ran the file on the online site, so I could capture the message showing successful processing.

 

File uploaded.

Temporary filename: /tmp/phpvV58U2

User filename: SickChicksProducts.txt

Size: 17666

| SC0001 | SC0001.jpg | Manolo Bla | Congratula | | | | | | | | 0.04 | 6/26/2005 | 100 | Baby Updated

| SC0007 | SC0007.jpg | Bridezilla | Congrats o | | | | | | | | 0.04 | 6/26/2005 | 100 | Getting Ma Updated

| SC0017 | SC0017.jpg | Easter Sto | Well, Bill | | | | | | | | 0.04 | 6/26/2005 | 100 | Holiday Updated

| SC0019 | SC0019.jpg | Hi Santa | Hi there S | | | dog | | | | | 0.04 | 6/26/2005 | 100 | Holiday Updated

| SC0019 | SC0019.jpg | Hi Santa | Hi there S | | | dog | | | | | 0.04 | 6/26/2005 | 100 | Canine Cor Updated

| SC0021 | SC0021.jpg | 30 and Sin | Over 30 an | | | | | | | | 0.04 | 6/26/2005 | 100 | Birthday Updated

| SC0023 | SC0023.jpg | 50 and Fab | Over 50 an | | | | | | | | 0.04 | 6/26/2005 | 100 | Birthday Updated

| SC0024 | SC0024.jpg | 30 and Fab | Over 30 an | | | | | | | | 0.04 | 6/26/2005 | 100 | Birthday Updated

| SC0036 | SC0036.jpg | Champagne | I hate to | | | | | | | | 0.04 | 6/26/2005 | 100 | Quotables Updated

| SC0043 | SC0043.jpg | Breakup | So, I told | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0051 | SC0051.jpg | Your Day | ?And how w | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0002 | SC0002.jpg | Back Talk | Martinis d | | | | | | | | 0.04 | 6/26/2005 | 100 | Baby Updated

| SC0002 | SC0002.jpg | Back Talk | Martinis d | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0003 | SC0003.jpg | Bravo | Divorced a | | | | | | | | 0.04 | 6/26/2005 | 100 | Divorce Updated

| SC0004 | SC0004.jpg | Chose | There is n | | | | | | | | 0.04 | 6/26/2005 | 100 | Divorce Updated

| SC0005 | SC0005.jpg | Singlevill | Welcome to | | | | | | | | 0.04 | 6/26/2005 | 100 | Divorce Updated

| SC0006 | SC0006.jpg | Insane | It's yo | | | | | | | | 0.04 | 6/26/2005 | 100 | Getting Ma Updated

| SC0009 | SC0009.jpg | Hairy Dog | Being marr | | | | | | | | 0.04 | 6/26/2005 | 100 | Getting Ma Updated

| SC0010 | SC0010.jpg | Prenup | Marriage i | | | | | | | | 0.04 | 6/26/2005 | 100 | Getting Ma Updated

| SC0011 | SC0011.jpg | Pesky Stat | Congratula | | | | | | | | 0.04 | 6/26/2005 | 100 | Getting Ma Updated

| SC0012 | SC0012.jpg | Wasted Day | Always get | | | | | | | | 0.04 | 6/26/2005 | 100 | Getting Ma Updated

| SC0012 | SC0012.jpg | Wasted Day | Always get | | | | | | | | 0.04 | 6/26/2005 | 100 | Quotables Updated

| SC0015 | SC0015.jpg | Dunbar Chr | Christmas | | | | | | | | 0.04 | 6/26/2005 | 100 | Holiday Updated

| SC0016 | SC0016.jpg | Valentine | Valentine& | | | | | | | | 0.04 | 6/26/2005 | 100 | Holiday Updated

| SC0018 | SC0018.jpg | Christmas | Well, Suzy | | | | | | | | 0.04 | 6/26/2005 | 100 | Holiday Updated

| SC0020 | SC0020.jpg | Surprise P | I wanted t | | | | | | | | 0.04 | 6/26/2005 | 100 | Birthday Updated

| SC0022 | SC0022.jpg | 40 and Fab | Over 40 an | | | | | | | | 0.04 | 6/26/2005 | 100 | Birthday Updated

| SC0025 | SC0025.jpg | Scoundrel | Every man | | | | | | | | 0.04 | 6/26/2005 | 100 | Quotables Updated

| SC0025 | SC0025.jpg | Scoundrel | Every man | | | | | | | | 0.04 | 6/26/2005 | 100 | Birthday Updated

| SC0026 | SC0026.jpg | New Home | Congratula | | | | | | | | 0.04 | 6/26/2005 | 100 | New Home Updated

| SC0027 | SC0027.jpg | New Job | Congrats o | | | | | | | | 0.04 | 6/26/2005 | 100 | Workplace Updated

| SC0028 | SC0028.jpg | Feng Shei | I saw a Fe | | | | | | | | 0.04 | 6/26/2005 | 100 | Workplace Updated

| SC0029 | SC0029.jpg | Boss of Me | You're | | | | | | | | 0.04 | 6/26/2005 | 100 | Workplace Updated

| SC0030 | SC0030.jpg | Zone Diet | I figured | | | | | | | | 0.04 | 6/26/2005 | 100 | Diet Updated

| SC0030 | SC0030.jpg | Zone Diet | I figured | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0031 | SC0031.jpg | Unfulfilli | I'm not | | | | | | | | 0.04 | 6/26/2005 | 100 | Diet Updated

| SC0031 | SC0031.jpg | Unfulfilli | I'm not | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0031 | SC0031.jpg | Unfulfilli | I'm not | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0032 | SC0032.jpg | Lebowitz | No animal | | | | | | | | 0.04 | 6/26/2005 | 100 | Canine Cor Updated

| SC0032 | SC0032.jpg | Lebowitz | No animal | | | | | | | | 0.04 | 6/26/2005 | 100 | Quotables Updated

| SC0032 | SC0032.jpg | Lebowitz | No animal | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0033 | SC0033.jpg | Small Talk | Enough wit | | | | | | | | 0.04 | 6/26/2005 | 100 | Canine Cor Updated

| SC0033 | SC0033.jpg | Small Talk | Enough wit | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0034 | SC0034.jpg | Date With | Thank God | | | | | | | | 0.04 | 6/26/2005 | 100 | Canine Cor Updated

| SC0034 | SC0034.jpg | Date With | Thank God | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0034 | SC0034.jpg | Date With | Thank God | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0035 | SC0035.jpg | Ice Joggin | The proble | | | | | | | | 0.04 | 6/26/2005 | 100 | Quotables Updated

| SC0037 | SC0037.jpg | Institutio | Marriage i | | | | | | | | 0.04 | 6/26/2005 | 100 | Quotables Updated

| SC0038 | SC0038.jpg | Stuff | I heard yo | | | | | | | | 0.04 | 6/26/2005 | 100 | Get Well Updated

| SC0039 | SC0039.jpg | Dance | Stop feeli | | | | | | | | 0.04 | 6/26/2005 | 100 | Get Well Updated

| SC0039 | SC0039.jpg | Dance | Stop feeli | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0040 | SC0040.jpg | Sick | Sick? Get | | | | | | | | 0.04 | 6/26/2005 | 100 | Get Well Updated

| SC0040 | SC0040.jpg | Sick | Sick? Get | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0041 | SC0041.jpg | Hazards | The hazard | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0041 | SC0041.jpg | Hazards | The hazard | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0042 | SC0042.jpg | Make Out | Wanna make | | | | | | | | 0.04 | 6/26/2005 | 100 | Canine Cor Updated

| SC0042 | SC0042.jpg | Make Out | Wanna make | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0042 | SC0042.jpg | Make Out | Wanna make | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0044 | SC0044.jpg | Fatal Attr | Remember i | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0044 | SC0044.jpg | Fatal Attr | Remember i | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0045 | SC0045.jpg | Husband | Today my & | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0046 | SC0046.jpg | Size Matte | So he says | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0046 | SC0046.jpg | Size Matte | So he says | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0047 | SC0047.jpg | Get a Dog | Men can | | | | | | | | 0.04 | 6/26/2005 | 100 | Canine Cor Updated

| SC0047 | SC0047.jpg | Get a Dog | Men can | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0047 | SC0047.jpg | Get a Dog | Men can | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0048 | SC0048.jpg | Drunk Dial | If you lov | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0048 | SC0048.jpg | Drunk Dial | If you lov | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0049 | SC0049.jpg | Horny | That's | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0049 | SC0049.jpg | Horny | That's | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0050 | SC0050.jpg | Tooth Fair | Did your p | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0052 | SC0052.jpg | Friends Dr | I don't | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0053 | SC0053.jpg | Victor | When they | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0054 | SC0054.jpg | 30 New 40 | They say 4 | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0055 | SC0055.jpg | I Have Iss | I have iss | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0056 | SC0056.jpg | You Have I | And you th | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0057 | SC0057.jpg | Elton John | Elton John | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0058 | SC0058.jpg | Dear Mom | Dear Mom, | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0059 | SC0059.jpg | Tequilla | Some found | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0060 | SC0060.jpg | Dunbar Bre | The Dunbar | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0061 | SC0061.jpg | Prank | There's | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0062 | SC0062.jpg | Rehab | It's ti | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0063 | SC0063.jpg | Fun on Vac | Have fun o | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0064 | SC0064.jpg | Ruth | To hear Ru | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0065 | SC0065.jpg | Girls Rule | Girls rule | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0066 | SC0066.jpg | Into You | Are women | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0067 | SC0067.jpg | Peter | Peter's | | | | | | | | 0.04 | 6/26/2005 | 100 | Relationsh Updated

| SC0067 | SC0067.jpg | Peter | Peter's | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0068 | SC0068.jpg | Harold | Harold was | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0069 | SC0069.jpg | Martini Ga | When life | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0070 | SC0070.jpg | Hank | Hank ponde | | | | | | | | 0.04 | 6/26/2005 | 100 | All Occasi Updated

| SC0071 | SC0071.jpg | All Things | Happy St. | | | | | | | | 0.04 | 6/26/2005 | 100 | Holiday Updated

| SC0072 | SC0072.jpg | You're | You're | | | | | | | | 0.04 | 6/26/2005 | 100 | Getting Ma Updated

| SC0073 | SC0073.jpg | Mother' | My mother | | | | | | | | 0.04 | 6/26/2005 | 100 | Holiday Updated

| SC0074 | SC0074.jpg | Liquid Die | Atkins, Th | | | | | | | | 0.04 | 6/26/2005 | 100 | Diet Updated

| SC0075 | SC0075.jpg | Diet, No W | I tried di | | | | | | | | 0.04 | 6/26/2005 | 100 | Diet Updated

| SC0076 | SC0076.jpg | Skinny Peo | Skinny peo | | | | | | | | 0.04 | 6/26/2005 | 100 | Diet Updated

| SC0077 | SC0077.jpg | Blue Eyes | I have blu | | | | | | | | 0.04 | 6/26/2005 | 100 | Baby Updated

| SC0078 | SC0078.jpg | Drunkard | This set i | | | | | | | | 0.60 | 6/26/2005 | 100 | Chick Pick Updated

| SC0079 | SC0079.jpg | Girl's | For girls, | | | | | | | | 0.60 | 6/26/2005 | 100 | Chick Pick Updated

| SC0080 | SC0080.jpg | Sick Chick | Let Sick C | | | | | | | | 0.60 | 6/26/2005 | 100 | Chick Pick Updated

| SC0081 | SC0081.jpg | Sick Chick | Three each | | | | | | | | 6.00 | 6/26/2005 | 100 | Chick Pick Updated

| SC0082 | SC0082.jpg | Sick Chick | Ten each o | | | | | | | | 8.00 | 6/26/2005 | 100 | Chick Pick Updated

| | | | | | | | | | | | | | |

 

No products_model field in record. This line was not imported

 

 

The uploaded file is the exact same one. The only difference is the successful process occurs on the online website. The "first row only" process occurs on my local (XAMPP) "site".

Mike in Key West

Link to comment
Share on other sites

the temp file location on a local installation is different than the one for online, you will need to play with the easypopulate.php temp dir location

Link to comment
Share on other sites

the temp file location on a local installation is different than the one for online, you will need to play with the easypopulate.php temp dir location

 

When you say "play with" the temp file location, I'm not sure what to do. My temp file locations for the online site is:

 

$tempdir = "temp/";

$tempdir2 = "temp/";

 

For the local site, I'm using:

 

$tempdir = "/catalog/temp/";

$tempdir2 = "/catalog/temp/";

 

I'll play around some more with the local settings . . .

 

Mike

Mike in Key West

Link to comment
Share on other sites

that do you have in your configure.php file locally?

 

If you're referring to the one in admin/includes, it is:

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
// This file goes in /catalog/admin/includes/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://sickchicksink.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', '');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
 define('DIR_WS_ADMIN', '/catalog/admin/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'sickchicksink');
 define('DB_SERVER_PASSWORD', '*******');
 define('DB_DATABASE', 'oscommerce-sickchicksink');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

Thanks for asking. I think you're on the right track 'cause I admit it took me a while to get the configure.php files to "work" locally.

Mike in Key West

Link to comment
Share on other sites

Hey there everybody,

 

Just wondering if there is an easy way to deal with quotes in the product description when I upload it with EP. EP seems to be taking them and turning them into HTML. I'm sure there's an easy answer for this. Thanks.

 

;-j

Link to comment
Share on other sites

Hey, I've scoured the search engine and found nothing on this.

 

I can download the test file, but I can't re-upload it, let alone a file I created myself. I get the following error every time:

 

406 Not Acceptable

 

Not Acceptable

An appropriate representation of the requested resource /smashout/admin/easypopulate.php could not be found on this server.

 

What am I missing?

Link to comment
Share on other sites

I just discovered, that when using Easy Populate, my Date Added field get's blanked. This isn't a big deal, but it screws up the "What's New" section of my site. Has anyone dealt with this issue? Is it created by manipulating the file with Excel, or is it from EP?

 

Thanks,

Chad

Link to comment
Share on other sites

are you saving as a tab delimited text file?

try one line at a time to see what is going on.

 

Hey, I've scoured the search engine and found nothing on this.

 

I can download the test file, but I can't re-upload it, let alone a file I created myself. I get the following error every time:

 

406 Not Acceptable

 

Not Acceptable

An appropriate representation of the requested resource /smashout/admin/easypopulate.php could not be found on this server.

 

What am I missing?

Link to comment
Share on other sites

double check your easypopulate.php file for any changes regarding the date in the code

 

I just discovered, that when using Easy Populate, my Date Added field get's blanked. This isn't a big deal, but it screws up the "What's New" section of my site. Has anyone dealt with this issue? Is it created by manipulating the file with Excel, or is it from EP?

 

Thanks,

Chad

Link to comment
Share on other sites

The date exports just fine, it is in the export file. So, I think the issue is on the import side....

 

So here is the code which comes from the incoming side....

 

	
if ($v_date_added == '') {
   $v_date_added = "CURRENT_TIMESTAMP";
} else {
   // we put the quotes around it here because we can't put them into the query, because sometimes
   //   we will use the "current_timestamp", which can't have quotes around it.
   $v_date_added = '"' . $v_date_added . '"';
}

 

I don't believe any change has been made to that area. All the products end up with a date added of "0000-00-00 00:00:00".

 

Here is the INSERT statement:

$query = "INSERT INTO ".TABLE_PRODUCTS." (
products_image,
products_image_med,
products_image_lrg,
products_image_sm_1,
products_image_xl_1,
products_image_sm_2,
products_image_xl_2,
products_image_sm_3,
products_image_xl_3,
products_image_sm_4,
products_image_xl_4,
products_image_sm_5,
products_image_xl_5,
products_image_sm_6,
products_image_xl_6,
products_model,
products_price,
products_status,
products_last_modified,
products_date_added,
products_date_available,
products_tax_class_id,
products_weight,
products_quantity,
manufacturers_id)
VALUES (
'$v_products_image',";
// chad added for image support
$query .="'$v_products_image_med',
'$v_products_image_lrg',
'$v_products_image_sm_1',
'$v_products_image_xl_1',
'$v_products_image_sm_2',
'$v_products_image_xl_2',
'$v_products_image_sm_3',
'$v_products_image_xl_3',
'$v_products_image_sm_4',
'$v_products_image_xl_4',
'$v_products_image_sm_5',
'$v_products_image_xl_5',
'$v_products_image_sm_6',
'$v_products_image_xl_6',
";
// end chad added for image support

$query .="'$v_products_model',
'$v_products_price',
'$v_db_status',
CURRENT_TIMESTAMP,
$v_date_added,
$v_date_avail,
'$v_tax_class_id',
'$v_products_weight',
'$v_products_quantity',
'$v_manufacturer_id')
";

 

 

Here is the export line from Excel, which includes a date added:

234	products/bracelets/th/flowered-byz2.jpg	Flowered Byzantine Copper Bracelet	"This copper bracelet combines the Byzantine pattern with the unique flowered chainmail pattern to create a stunning new bracelet.  The Byzantine used here is our Micro size and together with the simple flowers we create a beautiful, dainty design fit for any lady with style."   	 35	0  7/8/2005 18:00	0	2	Beads	7	Faux Pearl  8	None  9	Faceted Glass Ball Black  15	Black Tear Drop  16	Copper Finished Fire Polished Glass Ball  17	Antique Copper Finished Glass Ball  18	Black Jade Ball  19	Hemitite Ball  20	Hemitite & Blue Glass Balls  3	Bells	1	Brass  2	Copper  4	Ear Wire	10	Niobium (Copper Finish)  11	Surgical Steel  12	14k Gold Fill  13	Sterling Wire  14	Sterling Post  5	Length	21	16 Inches  22	18 Inches  23	20 Inches  24	6.5 Inches	0	25	7 Inches	0	26	7.5 Inches	0	27	8 Inches	0	28	8.5 Inches	0	Copper	Bracelets 	 Taxable Goods	Active	products/bracelets/med/flowered-byz2.jpg	products/bracelets/flowered-byz2.jpg	products/bracelets/th/flowered-byz4.jpg	products/bracelets/flowered-byz4.jpg	products/bracelets/th/flowered-byz.jpg	products/bracelets/flowered-byz.jpg       	 EOREOR

 

Everything looks correct to me, unless excel has messed with the date format, but that appears correct too...

Link to comment
Share on other sites

I found that its v_status

and when i added that column and also set it to Active

 

other columns;v_status;EOREOR

blah;Active:EOREOR

 

how come it wont set all of my products to Active? Anybody know how to fix this please? or know how to run a sql statement on the database to whatever is set to 0 for non-active to active?

 

After doing that I still have about 500 products that are inactive and nothing changed after putting Active in that column, i also even tried a 1.

 

Anybody please help?

Link to comment
Share on other sites

Hi,

 

I have a problem with easy populate.

 

I installed and everything works nicely until a certain point.

I can download the file (tab delimited). I can upload it. And the uploading works.

 

The only problem happens when I try to add a subcategory or new product.

 

I have 3 category levels. (ie. level1 > level2 > level3 > 'products here')

 

Any new subcategory or product from a subcategory of level3 get inserted as a level1 category.

 

So instead of having:

level1

>level2

>>level3

.....old_existing_product

.....new_product

 

I have:

level3

.....new_product

level1

>level2

>>level3

.....old_existing_product

 

[Legend: >, >> subcategory; ..... product inside prev subcategory]

 

 

 

Can anyone tell me what is the problem. I cannot figure it out.

 

Thanks, cbp

Link to comment
Share on other sites

Hey, I've scoured the search engine and found nothing on this.

 

I can download the test file, but I can't re-upload it, let alone a file I created myself. I get the following error every time:

 

406 Not Acceptable

 

Not Acceptable

An appropriate representation of the requested resource /smashout/admin/easypopulate.php could not be found on this server.

 

What am I missing?

 

Problem solved. My administrator tells me it's a security script that's the culprit.

Link to comment
Share on other sites

what do you have set for the active status in the easypopulate.php file

 

I found that its v_status

and when i added that column and also set it to Active

 

other columns;v_status;EOREOR

blah;Active:EOREOR

 

how come it wont set all of my products to Active? Anybody know how to fix this please? or know how to run a sql statement on the database to whatever is set to 0 for non-active to active?

 

After doing that I still have about 500 products that are inactive and nothing changed after putting Active in that column, i also even tried a 1.

 

Anybody please help?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...