Re: File Doesn't Finish being Created?
Hey folks,
Any help with this? :unsure:
Quote:
Originally Posted by
fmckinnon
Hey Gang,
We've just tripled the number of products in our store and now when I attempt to create the Google Base file, the popup window comes up, and it runs for 20 seconds or so, and then the browser's status window says "done" ... but in the window, it's nowhere NEAR finished with the ID:, Price, Description - including - success ....
It never finishes, it's clear that it has thousands of products left to include ...
I read back for dozens of pages and searched - seems some folks have had to edit their php.ini file, but i couldn't find WHAT to edit, or what things to change.
Basically, I'm getting about 4000-5000 products added to the file, and it's just stopping - I need it to run and keep including-success until it's finished with ALL the products.
HELP .. thanks!
Re: File Doesn't Finish being Created?
Quote:
Originally Posted by
fmckinnon
Hey folks,
Any help with this? :unsure:
Are you seeing any errors in your webserver log files? Just judging on circumstances I'm wondering if you're hitting a PHP timeout or memory limit. If so I think you should see some errors in your webserver log files. Also if I'm on the right track, you should be able to increase the culprit setting in php.ini, bounce Apache and be good to go.
Re: File Doesn't Finish being Created?
Hey, haven't seen web logs but just installed another module (the one from MagenticOne) and got errors in the output ... the server is timing out. Increasing php.ini to 120 seconds (from 30 sec) for max_timeout and also increased memory limit from 32MB to 64Mb ... well, I should say I've emailed my host and asked them to do it, and restart apache - hoping for the best.
Re: File Doesn't Finish being Created?
Quote:
Originally Posted by
fmckinnon
Hey, haven't seen web logs but just installed another module (the one from MagenticOne) and got errors in the output ... the server is timing out. Increasing php.ini to 120 seconds (from 30 sec) for max_timeout and also increased memory limit from 32MB to 64Mb ... well, I should say I've emailed my host and asked them to do it, and restart apache - hoping for the best.
Create a file named "phpinfo.php" in your Zen Cart document root folder. In it put:
Code:
<?php echo phpinfo(); ?>
Then hit the file in your browser.
That'll allow you to see what the settings for execution time and memory your Zen installation is using. Sometimes there are multiple "instances" of these settings floating around a server...
Probably don't want to leave this file around for any longer than during your troubleshooting as it poses some degree of security risk.
Good luck.
Re: Google Base Feeder Support Thread
Er, I forgot in Zen, this same info is also available in the Admin backend. Tools -> Server/Version Info
Re: Google Base Feeder Support Thread
THAT WORKED! Many thanks... just wish I knew that before I changed about 50 products manually. Spent many hours on this. Thanks thanks thanks! :D:clap:
Quote:
Originally Posted by
davewest
Had the same problems... I had to play with the sanitizer until it worked. If possible, run it so only 20 or 200 products are entered and look at the xml to see if all looks right. Again.. there is nothing wrong with the coding... just me..
Look to includes\classes\google_base.php and look for the function google_base_xml_sanitizer. The following line is where the strange A's are coming from.
Code:
$str = eregi_replace("[^[:alnum:][:space:].,’Â!()'-_/+=?ÀÂÄßÈÉÊËÎÏÔÖÙÛÜàâäèéêëîïôöùûüÿÇç«»]", "", $str);
I worked through mine until my feed look good and ended up with this line..
Code:
$str = eregi_replace("[^[:alnum:][:space:].,!()'-_/!\+=?«»]", "", $str);
Running just a short amount of products through is just to speed things up. One day I'll spend some time in fixing my descriptions so I wont have to modify things.
@conspicuouschick
Check your write access to where the feed is created. Sounds like something is keeping it from working...
Re: Google Base Feeder Support Thread
Quote:
Originally Posted by
davewest
@conspicuouschick
Check your write access to where the feed is created. Sounds like something is keeping it from working...
Not sure what you mean - permissions on a specific file?
Re: Google Base Feeder Support Thread
Quote:
Originally Posted by
conspicuouschick
Not sure what you mean - permissions on a specific file?
Make sure the folder /feed/ has 777 permissions. Delete any previously created feeds inside that folder and run the exporter again.
Re: Google Base Feeder Support Thread
Quote:
Originally Posted by
numinix
Make sure the folder /feed/ has 777 permissions. Delete any previously created feeds inside that folder and run the exporter again.
The permissions were already at 777, but I 'reset' them, and deleted a feed. However, when I ran hit 'create' feed, I received this very not illuminating message:
Processing: Feed - No, Upload - No
Re: Google Base Feeder Support Thread
Hello
I was wondering if this could be possable. I am trying to put a tracker url in my google feed so I can see the conversion rate.
Is there a section in my google base code where I can put a Satic url to be put in from of my products url.
Thanks