Post by reint » Tue Aug 07, 2018 11:31 pm

Hi after following the isenslabs video with the google sitemap i get following error:

Invalid URL
This is not a valid URL. Correct it and send again

Number of problems: 17

Ex:
Overall tag: image
Tag: loc

I hope someone can help.

Newbie

Posts

Joined
Wed Jul 11, 2018 5:19 pm

Post by reint » Wed Aug 08, 2018 12:03 am

also when looking into the sitemap, it is making all the product url in http, and all image in https.

In addition to this i get following error in the error log.
PHP Notice: Undefined index: user_token in /var/www/vhosts/DOMAIN/httpdocs/catalog/controller/extension/feed/google_sitemap.php on line 21. On line 25. On line 29. On line 31. On line 32.

PHP Warning: Use of undefined constant HTTP_CATALOG - assumed 'HTTP_CATALOG' (this will throw an Error in a future version of PHP) in /var/www/vhosts/Domain/httpdocs/catalog/controller/extension/feed/google_sitemap.php on line 38.

____________

Line 21: $output .= ' <image:loc>' . $this->model_tool_image->resize($product['image'], $this->config->get('theme_' . $this->config->get('config_theme') . '_image_popup_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_popup_height')) . '</image:loc>';

Line 25: $output .= '</url>';
Line 29: $this->load->model('catalog/category');
Line 31: $output .= $this->getCategories(0);
Line 32: Empty
Line 38: $output .= '<url>';

Newbie

Posts

Joined
Wed Jul 11, 2018 5:19 pm

Post by straightlight » Wed Aug 08, 2018 1:49 am

user_token is not originally defined in google sitemap. Issue reported about an installed extension, not an OC bug. If downloaded from the Marketplace or from a 3rd party website, contact the extension developer to resolved this issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by reint » Wed Aug 08, 2018 2:13 am

Hi,

So i need to post it in the extensions or?

It is this one: http://docs.opencart.com/en-gb/extension/feed/

Newbie

Posts

Joined
Wed Jul 11, 2018 5:19 pm

Post by straightlight » Wed Aug 08, 2018 2:16 am

So i need to post it in the extensions or?
Not or, yes - in the extension.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 4 guests