google products XML empty

  • Posts: 23
  • Thank you received: 2
10 years 9 months ago #141909

Hi

Just testing google products plugin - and the resulting xml file is pretty much empty:

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:g=" base.google.com/ns/1.0 ">
<channel>
<title><![CDATA[ Store Name ]]></title>
<description><![CDATA[ ]]></description>
<link><![CDATA[ url ]]></link>

</channel>
</rss>

I have about 2500 products in the database. Thoughts?

-- url of the page with the problem -- : not in production
-- HikaShop version -- : 2.1.2
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.5.2
-- Browser(s) name and version -- : firefox 26
-- Error-message(debug-mod must be tuned on) -- : n/a

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 2
10 years 9 months ago #141945

I have upgraded to the latest version of hikashop business - problem still exists.

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
10 years 9 months ago #142255

Hi there,

Try to save the plugin configuration once. It should solve the issue.
It is a small that will be fixed in the next version.

The following user(s) said Thank You: elucidbusiness

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 2
10 years 9 months ago #142298

Worked a treat!

I did have issues with the script timing out regardless of the increased performances setting.

I modified the google_products.php file and added the following prior to the line class plgHikashopGoogle_products extends JPlugin{

set_time_limit(600);

The script then successfully completed in about 35 seconds. It appears that my php config ignores ini_set('max_execution_timeout') function.

Cheers

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
10 years 9 months ago #142300

Glad to hear that!
And thanks for sharing this solution about the timeout, it might help other people (and we'll use it if anybody encounter the same issue).

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum