Jump to content

[SOLVED] Google Base Feed Products - ecartservices


Recommended Posts

Prestashop Version 1.3.6.

 

Google Base Feed Products module v.7.3.5

 

Everything seems to function in the admin panel (module configure) area without any issue; however when you click 'generate feed' the page goes blank and no feed is actually generated.

 

When I view the feed link the following error message is displayed:

 

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

XML document must have a top level element. Error processing resource 'http://www.texasmatrix.com/en_googlebase.xml'.

 

 

 

Obviously this is a HUGE problem. Any help would be appreciated.

 

 

*Note: As a control test, I uploaded v0.6.3. and experienced the same issue.

*Note: Our store utilizes an 'offshore' product api feed to mange the product entries. This feed was paused during the attempted Google Base Feed Product generation.

 

I have tried to contact ecartservices on three seperate times with no reply. Any help would be appreciated.

Link to comment
Share on other sites

[sOLVED]

 

Summary:

 

The original issue was that I use a third party feed from the distributor that includes 80,000+ products. The Google Base Feed module was not writing the en_google.xml file. When I clicked 'generate feed', it would write the en_google.xml file to the proper root directory location, but the file was blank (0 bytes).

 

When trying to view the en_google.xml file via the link or direct file path, it displayed the error as described above in the first post.

 

SOLUTION:

 

The reason the module was failing to write the file properly was simply because the server security settings were not allowing it to do so because the file was extremely large. The simple solution was to increase the PHP MEMORY via the php.ini file. In my case, 80,000 products required a setting of 2048M. The typical setting is 32M.

 

If you are using a 'shared hosting' environment from a hosting service such as Godaddy or HostGator it will be impossible for you to increase your PHP Memory to this level per their policies. You will need either your own dedicated server or dedicated cloud instance with administrator permissions to do this.

 

In short, I increased the PHP Memory setting.

 

NOTE: It is not wise to leave your PHP Memory setting so high. So after running the module and downloading the en_google.xml file you should apply the standard setting again for security.

Link to comment
Share on other sites

×
×
  • Create New...