Zen Cart Logo

SitemapXML v.2

Views: 613,551

Results 941 to 960 of 2,226
20 May 2012, 11:16 AM
#941
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

SitemapXML v.2

torvista:

These bug fixes in the latest version 3.2.2

> 
> Thanks, where do I find that, I see 3.1 as the latest download.

I can PM you the link or you can wait a few days, until I upload module to DL-area.
20 May 2012, 2:38 PM
#942
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: SitemapXML v.2

No rush, I'll wait for the new version to be posted.
Thanks.

22 May 2012, 7:23 AM
#943
myshol avatar

myshol

New Zenner

Join Date:
Jul 2006
Location:
Poland
Posts:
31
Plugin Contributions:
0

Re: SitemapXML v.2

I installed SitemapXML v2 on zencart 1.3.7. XML files are generated properly except sitemapindex.xml file.

It contains only: </sitemapindex>

I tried to change chmod to 777 but it didn't helped. I tried to reupload all files, changed some options in Configure->Sitemap XML as well but its still not working.

I can not upgrade zen zart itself because I made a lot of changes in various files. What should I do now?

22 May 2012, 7:55 AM
#944
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

myshol:

I installed SitemapXML v2 on zencart 1.3.7. XML files are generated properly except sitemapindex.xml file.

It contains only: </sitemapindex>

I tried to change chmod to 777 but it didn't helped. I tried to reupload all files, changed some options in Configure->Sitemap XML as well but its still not working.

I can not upgrade zen zart itself because I made a lot of changes in various files. What should I do now?

Sorry, but I can not help you - ancient, unsupported version.

22 May 2012, 12:43 PM
#945
myshol avatar

myshol

New Zenner

Join Date:
Jul 2006
Location:
Poland
Posts:
31
Plugin Contributions:
0

Re: SitemapXML v.2

a_berezin:

Sorry, but I can not help you - ancient, unsupported version.

Could You at least tell me which file contains code that generates sitemapindex.xml ? I will try to deal with this problem.

I can see that includes/classes/sitemapxml.php may be the file I'm looking for?

22 May 2012, 4:46 PM
#946
myshol avatar

myshol

New Zenner

Join Date:
Jul 2006
Location:
Poland
Posts:
31
Plugin Contributions:
0

Re: SitemapXML v.2

Because all other maps were generated properly I found a function that prepares sitemapindex.xml file.

And there is a function GenerateSitemapIndex() in includes/classes/sitemapxml.php file.

I changed:

if ($za_dir = @dir(rtrim($this->savepath, '/'))) {
(...)

to:

if ($za_dir = @dir('/')) {
(...)

And then it worked properly. I think it is more related to zen cart cofigurafion than its version. My host provider requires DIR_FS_CATALOG set to '/' or '//'.

23 May 2012, 4:08 PM
#947
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: SitemapXML v.2

Since the debug error was ONLY caused by the cron job using this:

php -q /home/mysite/public_html/shop/cgi-bin/sitemapxml.php rebuild=yes ping=yes

my hosting suggested changing it to this, so it was run via a browser:

lynx --dump http://www.mysite.es/shop/cgi-bin/sitemapxml.php&rebuild=yes&ping=yes

This works, no error!

26 May 2012, 12:55 PM
#948
elorithrah avatar

elorithrah

New Zenner

Join Date:
Jan 2012
Posts:
15
Plugin Contributions:
0

Re: SitemapXML v.2

I'm new to the forum, so please forgive me if I am asking this wrong.

What would make the sitemap add on stop generating sitemap files on the 10th file? We have 546,180 products in this example store. We have 14 stores with sitemap implemented in them. When we run the sitemap generator, they all seem to fail at around 500k products. The output from a run below stopped at 514,344 products.

I can show you the same sort of output from a store with 1,126,848 products. It stops in the file named sitemapproducts010.xml just like this run, with around 500,000 products processed. As you can see the output below does not mention the sitemapproducts010.xml file but looking at the output on the server, that is the last file that was being created when it stopped running.

output:

SiteMapXML (3.1.0 14.12.2011 13:32)

News Box Manager Sitemap

File http://MYDOMAIN.com/sitemapboxnews.xml. Written 3 items (1110 bytes), Filesize: 1119 bytes
Total: files 1, items 3 (1119 bytes), execution time 0:0.0150, db queries 1, db queries time 0:0.0144.
Categories Sitemap

File http://MYDOMAIN.com/sitemapcategories.xml. Written 14742 items (2941033 bytes), Filesize: 2941042 bytes
Total: files 1, items 14742 (2941042 bytes), execution time 0:48.6450, db queries 35171, db queries time 0:44.5461.
Ezpages Sitemap

File http://MYDOMAIN.com/sitemapezpages.xml. Written 4 items (1144 bytes), Filesize: 1153 bytes
Total: files 1, items 4 (1153 bytes), execution time 0:0.0063, db queries 2, db queries time 0:0.0053.
Mainpage Sitemap

File http://MYDOMAIN.com/sitemapmainpage.xml. Written 1 items (657 bytes), Filesize: 666 bytes
Total: files 1, items 1 (666 bytes), execution time 0:0.0019, db queries 1, db queries time 0:0.0017.
Manufacturers Sitemap

File http://MYDOMAIN.com/sitemapmanufacturers.xml. Written 1 items (717 bytes), Filesize: 726 bytes
Total: files 1, items 1 (726 bytes), execution time 0:0.0032, db queries 1, db queries time 0:0.0029.
Products Sitemap

File http://MYDOMAIN.com/sitemapproducts.xml. Written 46726 items (9999869 bytes), Filesize: 9999878 bytes
File http://MYDOMAIN.com/sitemapproducts000.xml. Written 46726 items (9999872 bytes), Filesize: 9999881 bytes
File http://MYDOMAIN.com/sitemapproducts001.xml. Written 46726 items (9999872 bytes), Filesize: 9999881 bytes
File http://MYDOMAIN.com/sitemapproducts002.xml. Written 46726 items (9999872 bytes), Filesize: 9999881 bytes
File http://MYDOMAIN.com/sitemapproducts003.xml. Written 46726 items (9999872 bytes), Filesize: 9999881 bytes
File http://MYDOMAIN.com/sitemapproducts004.xml. Written 46726 items (9999872 bytes), Filesize: 9999881 bytes
File http://MYDOMAIN.com/sitemapproducts005.xml. Written 46726 items (9999872 bytes), Filesize: 9999881 bytes
File http://MYDOMAIN.com/sitemapproducts006.xml. Written 46815 items (9999881 bytes), Filesize: 9999890 bytes
File http://MYDOMAIN.com/sitemapproducts007.xml. Written 46760 items (9999856 bytes), Filesize: 9999865 bytes
File http://MYDOMAIN.com/sitemapproducts008.xml. Written 46755 items (9999873 bytes), Filesize: 9999882 bytes
File http://MYDOMAIN.com/sitemapproducts009.xml. Written 46932 items (9999781 bytes), Filesize: 9999790 bytes

26 May 2012, 5:08 PM
#949
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

Strange problem. I tried on a large number of products - I had 16 files sitemapproducts *. Xml.
If you want, I can see what you have a problem - for this I will need access to FTP.

26 May 2012, 6:25 PM
#950
elorithrah avatar

elorithrah

New Zenner

Join Date:
Jan 2012
Posts:
15
Plugin Contributions:
0

Re: SitemapXML v.2

that would be great! I will PM you credentials.

27 May 2012, 3:15 AM
#951
elorithrah avatar

elorithrah

New Zenner

Join Date:
Jan 2012
Posts:
15
Plugin Contributions:
0

Re: SitemapXML v.2

just wanted to update the subject of this post to make it easier to find if anyone else has the problem

27 May 2012, 8:04 AM
#952
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

torvista:

Since the debug error was ONLY caused by the cron job using this:

my hosting suggested changing it to this, so it was run via a browser:

This works, no error!
This is wonderful! :)

27 May 2012, 8:12 AM
#953
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

Hi,

elorithrah:

What would make the sitemap add on stop generating sitemap files on the 10th file? We have 546,180 products in this example store. We have 14 stores with sitemap implemented in them. When we run the sitemap generator, they all seem to fail at around 500k products. The output from a run below stopped at 514,344 products.

I can show you the same sort of output from a store with 1,126,848 products. It stops in the file named sitemapproducts010.xml just like this run, with around 500,000 products processed. As you can see the output below does not mention the sitemapproducts010.xml file but looking at the output on the server, that is the last file that was being created when it stopped running.
I found a bug. The problem is overspending memory. We'll have to temporarily abandon the test duplication of addresses in the Sitemap.

27 May 2012, 11:00 AM
#954
elorithrah avatar

elorithrah

New Zenner

Join Date:
Jan 2012
Posts:
15
Plugin Contributions:
0

Re: SitemapXML v.2

thanks! What do I need to do to fix it?

27 May 2012, 12:33 PM
#955
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

elorithrah:

thanks! What do I need to do to fix it?

I PM you information

27 May 2012, 3:31 PM
#956
elorithrah avatar

elorithrah

New Zenner

Join Date:
Jan 2012
Posts:
15
Plugin Contributions:
0

Re: SitemapXML v.2

thanks very much Andrew!!!

28 May 2012, 12:16 PM
#957
elorithrah avatar

elorithrah

New Zenner

Join Date:
Jan 2012
Posts:
15
Plugin Contributions:
0

Re: SitemapXML v.2

works great Andrew! thanks again for your quick reply and your prompt assistance!

28 May 2012, 12:37 PM
#958
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

Hi,

elorithrah:

works great Andrew! thanks again for your quick reply and your prompt assistance!
In the next version, this bug is fixed - an opportunity to refuse checking url duplicates, or the option to use memory or mySQL for temporary storage database check takes.
I've already tested and debugged these algorithms.

There will be another innovation, essential to the shops with a large number of goods. Files sitemap*.xml can be placed in a separate subdirectory. This allows you to dynamically create/delete these files without worrying about pre-creating files sitemapproducts000.xml, sitemapproducts001.xml, sitemapproducts010.xml, and so on.

29 May 2012, 9:41 PM
#959
shoclabs avatar

shoclabs

New Zenner

Join Date:
May 2012
Posts:
7
Plugin Contributions:
0

Re: SitemapXML v.2

I followed the instructions to the letter and I'm still unable to make this MOD to install. I'm running Zen Cart v1.3.8a and I get the following error message when trying to install:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfs/c07/h04/mnt/107330/domains/cosasydetalles.net/html/catalog/admin/includes/classes/ext_modules.php on line 14

Could someone please help me out?

THX!

30 May 2012, 9:21 AM
#960
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

shoclabs:

I followed the instructions to the letter and I'm still unable to make this MOD to install. I'm running Zen Cart v1.3.8a and I get the following error message when trying to install:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfs/c07/h04/mnt/107330/domains/cosasydetalles.net/html/catalog/admin/includes/classes/ext_modules.php on line 14

Could someone please help me out?

THX!

Likely to crash when downloading files on ftp. Upload it again.