Re: [PAID] Google Merchant Static Feed
Posted: Sun Oct 09, 2011 11:07 pm
Hi Martin,
Sorry for not being in touch earlier. Unfortunately it is not possible for me to simply give ftp access to a live site. We have many customers and credit card information stored in our db and restrictions set by IP for access ;(
We will have to do something about this debugging process as requesting ftp details to debug is not ideal. Maybe create a seperate log file during the export holding errors?
Neverthless I have summarised the current problems I have encountered below:
1)
Undeclared variables
--------------------
Notice: Undefined index: children in /home/store/public_html/includes/classes/class.froogle.php on line 1260
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/store/public_html/includes/classes/class.froogle.php on line 1260
Notice: Undefined index: 839 in /home/store/public_html/includes/classes/class.froogle.php on line 1324
Notice: Undefined variable: row in /home/store/public_html/includes/classes/class.froogle.php on line 577
Notice: Undefined index: gmtaxonomy in /home/store/public_html/includes/classes/class.froogle.php on line 982
Fatal error: Maximum execution time of 0 seconds exceeded in /home/store/public_html/lib/module.php on line 312
its Good to declare variables and types. You should switch notices on during development.
2)
Missing Images
--------------
/modules/shoppingcomparison/googlemerchantgben/images/*
Although I understand its a quick release, have you tried mapping categories and trying to figure out which categories are mapped and which aint without an image? Please make this available to we can add to the module
3)
Check XML Structure
--------------------
It would be helpful to check the XML structure for validity after the XML feed has been generated. On some occasions where froogle.php has exceeded maximum execution time, I have re-ran it (3 times to be precise) and monitored the file size as it was generated, I could see the tmp file growing and growing, and exceeded the normal size of 23MB. Finally when it overwrites the original xml, it became 28MB. When uploaded it seemed like it had some formatting errors:
"Error while parsing/validating XML feed
Our system encountered an error when processing your XML data feed. Please see the following Help Centre topics for more information:
XML tag mismatch"
I guess this is when froogle.php has not terminated properly and has opened a tag which it failed to close. How do you deal with what has already been written and what you are waiting to write? Seems like this needs to be looked at again?
4)
Missing recommended attribute: product type (3307 warnings out of 13831)
------------------------------------------------------------------------
Maybe to create a debug.log file where you can push any errors during the feed generation or log important details needed for debugging this issue. I cannot see the relation between the items which do not have a
5)
Invalid UPC value (11 warnings)
-------------------------------
Do you truncate the UPC or just explode it? Seems like UPC = 12 characters and EAN = 8, 13 or 14 characters
http://www.google.com/support/merchants ... wer=160161
Ofcourse if you dont truncate, this is not the problem of the module.
Sorry for not being in touch earlier. Unfortunately it is not possible for me to simply give ftp access to a live site. We have many customers and credit card information stored in our db and restrictions set by IP for access ;(
We will have to do something about this debugging process as requesting ftp details to debug is not ideal. Maybe create a seperate log file during the export holding errors?
Neverthless I have summarised the current problems I have encountered below:
1)
Undeclared variables
--------------------
Notice: Undefined index: children in /home/store/public_html/includes/classes/class.froogle.php on line 1260
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/store/public_html/includes/classes/class.froogle.php on line 1260
Notice: Undefined index: 839 in /home/store/public_html/includes/classes/class.froogle.php on line 1324
Notice: Undefined variable: row in /home/store/public_html/includes/classes/class.froogle.php on line 577
Notice: Undefined index: gmtaxonomy in /home/store/public_html/includes/classes/class.froogle.php on line 982
Fatal error: Maximum execution time of 0 seconds exceeded in /home/store/public_html/lib/module.php on line 312
its Good to declare variables and types. You should switch notices on during development.
2)
Missing Images
--------------
/modules/shoppingcomparison/googlemerchantgben/images/*
Although I understand its a quick release, have you tried mapping categories and trying to figure out which categories are mapped and which aint without an image? Please make this available to we can add to the module
3)
Check XML Structure
--------------------
It would be helpful to check the XML structure for validity after the XML feed has been generated. On some occasions where froogle.php has exceeded maximum execution time, I have re-ran it (3 times to be precise) and monitored the file size as it was generated, I could see the tmp file growing and growing, and exceeded the normal size of 23MB. Finally when it overwrites the original xml, it became 28MB. When uploaded it seemed like it had some formatting errors:
"Error while parsing/validating XML feed
Our system encountered an error when processing your XML data feed. Please see the following Help Centre topics for more information:
XML tag mismatch"
I guess this is when froogle.php has not terminated properly and has opened a tag which it failed to close. How do you deal with what has already been written and what you are waiting to write? Seems like this needs to be looked at again?
4)
Missing recommended attribute: product type (3307 warnings out of 13831)
------------------------------------------------------------------------
Maybe to create a debug.log file where you can push any errors during the feed generation or log important details needed for debugging this issue. I cannot see the relation between the items which do not have a
5)
Invalid UPC value (11 warnings)
-------------------------------
Do you truncate the UPC or just explode it? Seems like UPC = 12 characters and EAN = 8, 13 or 14 characters
http://www.google.com/support/merchants ... wer=160161
Ofcourse if you dont truncate, this is not the problem of the module.