I had issues running this script from a cron job - if I ran it from a URL it works fine, when the cron does it it leaves a file with only the column headings (ie. a 1 line file) and no products. Solved by making a new php file for the cron job, which loaded the URL of the creation script.
First of all, a huge thanks for turbo1 for this working script.
But for the others’ questions about “customizing” its output, i advice to try to use the sanitizing function near by line 66. For example I filter “shoppingcom.php” string from product_url’s and image_url’s and change to “index.php”—don’t ask, why or how is the script filename in, but it’s works
i am getting the follwong error wehn tunning the file
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/agbfcom/public_html/lib/Zend/Db/Statement/Pdo.php on line 294
i was able to run this ifle successfull how ever now i have in my site about 8K products the script will only export about 4K products then it time out with an error
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 37 bytes) in /home/golilcom/public_html/lib/Zend/Db/Adapter/Abstract.php on line 981
I’m getting the exact same error… did you figure out how to fix it?
mrtech - 21 January 2010 08:49 AM
i am getting the follwong error wehn tunning the file
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/agbfcom/public_html/lib/Zend/Db/Statement/Pdo.php on line 294
There is a problem with Mage::app(’default’) on line 8
Any Ideas?
@nickweb.. I was able to get this working in my installation. For some reason, the PHP worked fine a couple of times then it stopped working (Magento v1.4.0.1). To fix it, here’s what I did:
My export needs to be utf-8.
For some reason my export is not. So I get really strange symbols when using ï or é letters. Anyone got an idea how to fix this?
I have created a module that creates a xml feed to shopping.com
Available at a minimal fee for my efforts.
Changes to the module output/functionality updates can be done, just ask.
I’m using the export script but I have the problem that all categories get exportet as the same. So every product has the same category.
If anyone can helo, I would appreciate it.