Re: Easy Populate support for Version 1.2.5.4
Quote:
Originally Posted by
Crunch
Sounds like a folder/file permissions issue. Is your admin folder set to 755 and easypopulate.php set to 644?
:: PROBLEM SOVLED!!! ::
WOW!! YOU'RE BRILLIANT!!
That would of been one of the last thing i would to think of. I didn't know that would create such a big hassle!!!
THANKS so much for the fast response!!! I'll definitely learned what to look for next time i have this problem!!!!
:: THANKS!! ::
Re: Easy Populate support for Version 1.2.5.4
:: stlnyc's PROBLEM ::
Quote:
Originally Posted by
stlnyc
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/grapedis/public_html/vinoadmin/easypopulate.php on line 811
I ran into this same problem but instead of "on line 811" mine was "on line 852", this must mean that we are using a different script, or version. So this might not be it, but could be. the similarity that caught my eye was this line
Quote:
v_EASYPOPULATE_CONFIG_CUSTOM_FIELDS
on the last WARNING LINE
:: MY THOUGHT ::
In my situation, I figured it was a Sql problem so I checked the "ep_debug_log.txt", and it was. It seems that the PHP code was trying to pull information from the database, and the database could not find it, or did not have.
ep_debug_log.txt
Quote:
MySQL error 1054: Unknown column 'EASYPOPULATE_CONFIG_CUSTOM_FIELDS' in 'field list'
When executing:
INSERT INTO products SET
products_model = 'MG200MMS' ,
products_price = '299.99' ,
products_image = 'matrox/mg200mms.gif' ,
products_weight = '23' ,
products_tax_class_id = '1' ,
products_date_available = '' ,
products_date_added = '2003-11-03 12:32:00' ,
products_last_modified = CURRENT_TIMESTAMP ,
products_quantity = '31' ,
master_categories_id = '2' ,
manufacturers_id = '1',
products_status = '1',
metatags_title_status = '',
metatags_products_name_status = '',
metatags_model_status = '',
metatags_price_status = '',
metatags_title_tagline_status = '' , EASYPOPULATE_CONFIG_CUSTOM_FIELDS=''
:: MY SOLUTION ::
What I did, was: went into MyPhpAdmin, Hard-Delete the easy-populate CONFIGURATION data (I DON'T RECOMMEND DOING THIS IF YOU'RE NOT FIMILAR WITH MYSQL)
Then did a zencart=>admin=>easypopulate=> INSTALL again. That fixed my problems.
AS FOR THIS CODE ERROR
Quote:
Originally Posted by
stlnyc
Warning: Cannot modify header information - headers already sent by (output started at /home/grapedis/public_html/vinoadmin/easypopulate.php:811) in /home/grapedis/public_html/vinoadmin/easypopulate.php on line 1156
Warning: Cannot modify header information - headers already sent by (output started at /home/grapedis/public_html/vinoadmin/easypopulate.php:811) in /home/grapedis/public_html/vinoadmin/easypopulate.php on line 1157
Warning: Cannot modify header information - headers already sent by (output started at /home/grapedis/public_html/vinoadmin/easypopulate.php:811) in /home/grapedis/public_html/vinoadmin/easypopulate.php on line 1161
Warning: Cannot modify header information - headers already sent by (output started at /home/grapedis/public_html/vinoadmin/easypopulate.php:811) in /home/grapedis/public_html/vinoadmin/easypopulate.php on line 1165
v_products_model,v_products_image,v_products_name_1,v_products_description_1,v_p roducts_url_1,v_specials_price,v_specials_date_avail,v_specials_expires_date,v_p roducts_price,v_products_weight,v_date_avail,v_date_added,v_products_quantity,v_ manufacturers_name,v_categories_name_1,v_categories_name_2,v_categories_name_3,v _categories_name_4,v_categories_name_5,v_categories_name_6,v_categories_name_7,v _tax_class_title,v_status,v_EASYPOPULATE_CONFIG_CUSTOM_FIELDS,v_metatags_product s_name_status,v_metatags_title_status,v_metatags_model_status,v_metatags_price_s tatus,v_metatags_title_tagline_status,v_metatags_title_1,v_metatags_keywords_1,v _metatags_description_1
This is just trying to send information, but cant because the first error created a kind of roof or top, to where this information cannot process through.
I HOPE THIS HELPS!! I wanted to help show more then just the answer but what and why, so next time it will be easier to troubleshoot errors.
Re: Easy Populate support for Version 1.2.5.4
Hi
Strange question - is there a way to only update products not add new ones?
Re: Easy Populate support for Version 1.2.5.4
EP uses the product's MODEL NUMBER as the key identifier for its operations.
So if you have a product in the database with Model Number 12345, and let's say it is priced at $10.95...
Now, you want to UPDATE that product (perhaps along with 100 others) to show a new price...
You do an EP download file of all your products.
Open in a spreadsheet.
Delete ALL records that you do not want price changes.
Keep only the 100 products you DO want price changes
Put NEW VALUES into v_products_price cells
SAVE as Tab-delimited.
IMPORT into database via EP
EP will UPDATE those products, to show their new prices.
Search the WIKI for Easy Populate to see my tutorial
Re: Easy Populate support for Version 1.2.5.4
Quote:
Originally Posted by
schoolboy
EP uses the product's MODEL NUMBER as the key identifier for its operations.
So if you have a product in the database with Model Number 12345, and let's say it is priced at $10.95...
Now, you want to UPDATE that product (perhaps along with 100 others) to show a new price...
You do an EP download file of all your products.
Open in a spreadsheet.
Delete ALL records that you do not want price changes.
Keep only the 100 products you DO want price changes
Put NEW VALUES into v_products_price cells
SAVE as Tab-delimited.
IMPORT into database via EP
EP will UPDATE those products, to show their new prices.
Search the WIKI for Easy Populate to see my tutorial
Hi
That is simple enough, thanks schoolboy. The problem is that if I have 100 products and the new pricelist that I receive had 200 products. I don't want to search through the other 100 looking for the update. I just want to be able to update only those that already exist.
The OSC one just had update button.
Any ideas?
Re: Easy Populate support for Version 1.2.5.4
I've searched the forum but either I'm missing it or just haven't found it yet, still looking but thought I'd go ahead and post it and maybe someone could send me the forum link or might be able to help.
Just installed EP v1.2.5.4 and it's showing under my tools menu but when I click on it I get this error message. Can anyone point me in the right direction for an answer?
"Fatal error: Call to undefined function tep_not_null() in /home/electric/public_html/admin/includes/classes/table_block.php on line 33"
Thanks
Jim
Re: Easy Populate support for Version 1.2.5.4
Quote:
Originally Posted by
cvue
:: stlnyc's PROBLEM ::
I ran into this same problem but instead of "on line 811" mine was "on line 852", this must mean that we are using a different script, or version. So this might not be it, but could be. the similarity that caught my eye was this line
on the last WARNING LINE
:: MY THOUGHT ::
In my situation, I figured it was a Sql problem so I checked the "ep_debug_log.txt", and it was. It seems that the PHP code was trying to pull information from the database, and the database could not find it, or did not have.
ep_debug_log.txt
:: MY SOLUTION ::
What I did, was: went into MyPhpAdmin, Hard-Delete the easy-populate CONFIGURATION data (I DON'T RECOMMEND DOING THIS IF YOU'RE NOT FIMILAR WITH MYSQL)
Then did a zencart=>admin=>easypopulate=> INSTALL again. That fixed my problems.
AS FOR THIS CODE ERROR
This is just trying to send information, but cant because the first error created a kind of roof or top, to where this information cannot process through.
I HOPE THIS HELPS!! I wanted to help show more then just the answer but what and why, so next time it will be easier to troubleshoot errors.
Do you have a little more information about this? I am getting the exact same error, but I do not know enough about SQL to know how to fix it. Please let me know. Thanks.
Re: Easy Populate support for Version 1.2.5.4
I'm not sure I know enough about it to try your recommendation but I'll go slow and try it.
Thanks