Jump to content

Google sitemap module doesn't generate a sitemap


Recommended Posts

I did a quick test of on a 1.5.4.1 and while no help to you, it did work. This with just the demo products.

 

The sitemap module I used was V. 2.1.1

 

What version do you have?

 

Maybe just unintall/delete and then re-install, this should get the latest version from prestashop.

Link to comment
Share on other sites

  • 1 month later...

Hi, I modified the latest version of Google sitemap in 2.2.7 - generates a file directly to the root of the site in sitemap.xml file

This script only works in single language. It does not take into account multiple languages.

Link to comment
Share on other sites

  • 2 weeks later...

Hi, I modified the latest version of Google sitemap in 2.2.7 - generates a file directly to the root of the site in sitemap.xml file

 

I have this error message with this module:

(This is a multisite 1.5.4.1 PS: no file is created)

 

[PrestaShopDatabaseException]
Unknown column 'id_shop' in 'where clause'

SELECT * FROM `ps_gsitemap_sitemap` WHERE id_shop = 1
at line 607 in file classes/db/Db.php
601.	WebserviceRequest::getInstance()->setError(500, '[sql Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
602.   }
603.   else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
604.   {
605.	if ($sql)
606.	 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
607.	throw new PrestaShopDatabaseException($this->getMsgError());
608.   }
609.  }
610.
611.  /**
DbCore->displayError - [line 307 - classes/db/Db.php] - [1 Arguments]
DbCore->query - [line 482 - classes/db/Db.php] - [1 Arguments]
DbCore->executeS - [line 140 - modules/gsitemap/gsitemap.php] - [1 Arguments]
Gsitemap->getContent - [line 675 - controllers/admin/AdminModulesController.php] - [0 Argument]
AdminModulesControllerCore->postProcessCallback - [line 795 - controllers/admin/AdminModulesController.php] - [0 Argument]
AdminModulesControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument]
ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument]
DispatcherCore->dispatch - [line 50 - mysite.com/index.php] - [0 Argument]

Edited by Zun (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...
  • 4 weeks later...

i've got timeout error when im trying to open your website

 

yes i have been upgrade for the sitemap module to version 2.3 but is nothing, here my url now http://www.satustore.com/1_index_sitemap.xml

 

 

Finally i don't want to complicated i just downgrade with the old version 1.9, and thanks for all

Edited by ElangLiar (see edit history)
Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
  • 3 weeks later...

Hi, I solved this problem,

went on this forum to download last version of gsitemap (but don't remember where)

installed it

 

It seems that there's no google sitemap module anymore on my version but one new module is proposed (rather expensive)

 

Good luck to all

Link to comment
Share on other sites

I have PS 1.5.6.2 and it works fine.
The only problem that the link it gives you after generation is wrong.
It gives you link like this: 1_index_sitemap.xml

Actually, if you're using multilingual site, it would be 1_[two-letters-defining-your-language]_0_sitemap.xml, for example: 1_fr_0_sitemap.xml, 1_de_0_sitemap.xml ,etc.

Hope it helps.

Link to comment
Share on other sites

Hello. I have already installed PavelRacack.CZ module, in Prestashop 1.5.6.2 and the sitemap.xml only shows this:

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>http://MYDOMAIN.COM/sitemap.xml</loc><lastmod>2014-03-10T18:50:18+01:00</lastmod></sitemap><sitemap><loc>http://MYDOMAIN.COM/sitemap.xml</loc><lastmod>2014-03-10T18:50:18+01:00</lastmod></sitemap></sitemapindex>

How can I get the module creating a complete sitemap? 

Thank you for your help!

Link to comment
Share on other sites

  • 7 months later...

And more then a year after creating this topic is still alive!

What it takes for Prestashop team to step up and tell its community do we have a fully working sitemap module 

as part of Prestashop core or do we have to invest into 3rd party modules.

 

I think that kind of info would be fair.

 

Btw when I write "fully working" I mean tested on each major and minor version of Prestashop software.

Also that includes fix to the problem of sitemap not including images into its content.

Thank you
Dean

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

Hello

I have a problem when I generate the sitemap, my website show the following error and the table gsitemap_sitemap
is empty


URL: disfrazde.es/modules/gsitemap/gsitemap-cron.php
ERROR: : 502 : Bad Gateway 

I don't know what is the problem

 

This is the website http://disfrazde.es/

 

Any help is apreciated

Edited by Nedned (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...