Zen Cart Logo

SitemapXML v.2

Views: 613,595

Results 1,341 to 1,360 of 2,226
25 Jul 2013, 5:22 AM
#1341
crexis avatar

crexis

New Zenner

Join Date:
Jul 2013
Posts:
31
Plugin Contributions:
0

SitemapXML v.2

I found the Cron job in my cpanel, but I have no idea how to go about editing it, what exactly do you do in there?

25 Jul 2013, 6:10 AM
#1342
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,

crexis:

Is the last step for 1.5.x versions to go setup a Cron job via the control panel?
Yes.

crexis:

I'm having issues on how exactly this is done, it's not really told the details on how to do this.
It depends on your hosting. In different hosting companies for different tariff plans, on many systems, this is done differently. Ask your hosting support service.

crexis:

In the admin there's an option to 'view, truncate or delete', should I be 'truncating' the different xml files?
No

crexis:

what does that do?
If you don't know what that is, just ignore. It's for advanced users. These few people are using.

25 Jul 2013, 6:15 AM
#1343
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

crexis:

I found the Cron job in my cpanel, but I have no idea how to go about editing it, what exactly do you do in there?
Maybe that will help you HOW TO SET UP A CRON JOB IN CPANEL.
I run to create a map of the site once a day - in the deep of night, when the server more or less free.

25 Jul 2013, 5:52 PM
#1344
crexis avatar

crexis

New Zenner

Join Date:
Jul 2013
Posts:
31
Plugin Contributions:
0

Re: SitemapXML v.2

Thanks a_berezin for the help, 1 additional question

I am setting up the Cron job, I set it for everyday at 4 am. However I'm unsure what to put in the command line.

Should I put /public_html/zen Which is where I have my site in my ftp, or should I put my sites url -> https://www.sunnysihota.com/zen or somewhere else within the site?

I did a search on my site for sitemap but it didn't show up. Does it only show up once a cron job is done? Or is there some option in the admin to make it visible?

thanks for the help!

25 Jul 2013, 6:32 PM
#1345
caterfor avatar

caterfor

Inactive

Join Date:
Jul 2013
Location:
Redditch
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

Hi Andrew, I'll set up a test site and will go through step by step in order to let you know exactly what I did.
all the best, Mark

ps sorry for the delay I don't think I've set my email notifications...

26 Jul 2013, 6:24 AM
#1346
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

crexis:

I am setting up the Cron job, I set it for everyday at 4 am. However I'm unsure what to put in the command line.

Should I put /public_html/zen Which is where I have my site in my ftp, or should I put my sites url -> https://www.sunnysihota.com/zen or somewhere else within the site?
I don't know what command you use in CRON task.

If WGET, then
http://www.sunnysihota.com/zen/cgi-bin/sitemapxml.php?rebuild=yes&ping=yes

If php-cli, then
<path_to_home_directory>/zen/cgi-bin/sitemapxml.php rebuild=yes ping=yes
About <path_to_home_directory> ask your hosting. It depends on your hosting.

5 Aug 2013, 2:04 AM
#1347
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: SitemapXML v.2

Hello Andrew,

some of my sites are submitting images for indexing and some are not - all 6 sites are using SitemapXML v 3.2.6 17.06.2012 and all sites are v1.3.9h.

Is there some configuration that needs to be done for the sitemap to submit images?

kind regards,
Mike

8 Aug 2013, 8:09 PM
#1348
lanadearg avatar

lanadearg

New Zenner

Join Date:
Nov 2012
Location:
Buenos Aires
Posts:
35
Plugin Contributions:
0

Re: SitemapXML v.2

Hi Anrew,
I need help again.
I get this

XML Parsing Error: malformed
Location: http://giftseshop.com/sitemap.xml
Line 1, Column 2:
</sitemapindex>

http://giftseshop.com/sitemap.xml
In my cache:

PHP Warning:  fopen(/sitemap/sitemapcategories.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731 

Thank you,
Lanadearg

9 Aug 2013, 4:57 AM
#1349
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,

Lanadearg:

In my cache:

PHP Warning: fopen(/sitemap/sitemapcategories.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731

Check the directory permission /home/content/58/7996358/html/sitemap/
9 Aug 2013, 5:51 PM
#1350
lanadearg avatar

lanadearg

New Zenner

Join Date:
Nov 2012
Location:
Buenos Aires
Posts:
35
Plugin Contributions:
0

Re: SitemapXML v.2

I have permissions Attachment 12873

10 Aug 2013, 5:40 AM
#1351
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

Lanadearg:

I have permissions Attachment 12873

Try to set "Execute" permission

11 Aug 2013, 8:46 PM
#1352
lanadearg avatar

lanadearg

New Zenner

Join Date:
Nov 2012
Location:
Buenos Aires
Posts:
35
Plugin Contributions:
0

Re: SitemapXML v.2

Hi,
After I changed permissions to “Execute”, I forced rebuilding of all sitemap*.xml files. As a result, I got this.

SiteMapXML (3.2.6 17.06.2012 16:13)
Categories Sitemap
Can not create file "/home/content/58/7996358/html/sitemap/sitemapcategories.xml". You may need to use your webhost control panel/file-manager to change the permissions effectively.
Mainpage Sitemap
Can not create file "/home/content/58/7996358/html/sitemap/sitemapmainpage.xml". You may need to use your webhost control panel/file-manager to change the permissions effectively.
News Articles Sitemap
Can not create file "/home/content/58/7996358/html/sitemap/sitemapnewsarticles.xml". You may need to use your webhost control panel/file-manager to change the permissions effectively.
Products Sitemap
Can not create file "/home/content/58/7996358/html/sitemap/sitemapproducts.xml". You may need to use your webhost control panel/file-manager to change the permissions effectively.
Sitemap Index
URL - http://giftseshop.com/sitemap.xml
Written 0 items (15 bytes), Filesize: 15 bytes
11 Aug 2013, 8:51 PM
#1353
lanadearg avatar

lanadearg

New Zenner

Join Date:
Nov 2012
Location:
Buenos Aires
Posts:
35
Plugin Contributions:
0

Re: SitemapXML v.2

I also got a cache alert

[11-Aug-2013 13:36:28] PHP Warning:  fopen(/home/content/58/7996358/html/sitemap/sitemapcategories.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731
[11-Aug-2013 13:36:28] PHP Warning:  fopen(/home/content/58/7996358/html/sitemap/sitemapezpages.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731
[11-Aug-2013 13:36:28] PHP Warning:  fopen(/home/content/58/7996358/html/sitemap/sitemapmainpage.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731
[11-Aug-2013 13:36:28] PHP Warning:  fopen(/home/content/58/7996358/html/sitemap/sitemapmanufacturers.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731
[11-Aug-2013 13:36:28] PHP Warning:  fopen(/home/content/58/7996358/html/sitemap/sitemapnewsarticles.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731
[11-Aug-2013 13:36:28] PHP Warning:  fopen(/home/content/58/7996358/html/sitemap/sitemapproducts.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731
[11-Aug-2013 13:36:28] PHP Warning:  fopen(/home/content/58/7996358/html/sitemap/sitemapreviews.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/58/7996358/html/includes/classes/sitemapxml.php on line 731
11 Aug 2013, 9:59 PM
#1354
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

Lanadearg:

Hi,
After I changed permissions to “Execute”, I forced rebuilding of all sitemap*.xml files. As a result, I got this.
Set "Write" permission

12 Aug 2013, 2:59 AM
#1355
tech_ebooks avatar

tech_ebooks

New Zenner

Join Date:
Aug 2013
Location:
china
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

Dear friends,i am wondering if this version support the latest version ZENCART 1.5.1,i met the following problem,the sitemap created were ok for Categories Sitemap,Ezpages Sitemap,Mainpage Sitemap,Manufacturers Sitemapl,but for product sitemap,i got the following error message:
Products Sitemap
WARNING: An Error occurred, please refresh the page and try again.

When i open the admin page,it type for the product sitemap is not UrlSet as others,but undefined...
when i try to open sitemapproducts.xml in the browser and it show:
XML Parsing Error: no element found
Location: http:/...../sitemap/sitemapproducts.xml
Line Number 39285, Column 1:

i would be appreciate if someone here could help us,thanks a lot

13 Aug 2013, 1:15 AM
#1356
lanadearg avatar

lanadearg

New Zenner

Join Date:
Nov 2012
Location:
Buenos Aires
Posts:
35
Plugin Contributions:
0

Re: SitemapXML v.2

Andrew, I tried all kind of permissions, but it didn´t help. I get the same error.

13 Aug 2013, 1:33 AM
#1357
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

Lanadearg:

Andrew, I tried all kind of permissions, but it didn´t help. I get the same error.

Sorry, but I can't help in this situation. Ask your hosting support.

23 Aug 2013, 1:04 AM
#1358
jonnoc avatar

jonnoc

New Zenner

Join Date:
May 2013
Location:
Australia
Posts:
14
Plugin Contributions:
0

Re: SitemapXML v.2

Hi All

We are currently running Zencart 1.5.1 with the latest version of SitemapXML 3.2.6 17.06.2012 16:13

The install seemed to have gone well and I did not find any issues (all menu items are available, SQL update done..etc)

The issue happens when try to do the following under Zencart Admin:

Tools --> SitemapXML --> Click the SEND button to update the site map..

A small window opens up correctly to try and run the update process which is normal however I get a 404 error...

Looking into the URL it's trying to use I see the following: http://shop.COMPANY.com.au/shop/index.php?main_page=sitemapxml&rebuild=yes&ping=yes&

However the correct URL should be: http://shop.COMPANY.com.au/index.php?main_page=sitemapxml&rebuild=yes&ping=yes&

We do not have a sub folder called "shop" but the plugin is adding this sub folder of 'shop' to the URL for some reason...

If I then manually edit the URL to be: http://shop.COMPANY.com.au/index.php?main_page=sitemapxml&rebuild=yes&ping=yes& the module runs and generated the site map files withough any errors or issues.

Please could you let me know what we might have setup wrong in our shop or were it might be getting the additional sub folder shop name and how we can fix this.

Thanks very much!

23 Aug 2013, 1:24 AM
#1359
jonnoc avatar

jonnoc

New Zenner

Join Date:
May 2013
Location:
Australia
Posts:
14
Plugin Contributions:
0

Re: SitemapXML v.2

JonnoC:

Hi All

We are currently running Zencart 1.5.1 with the latest version of SitemapXML 3.2.6 17.06.2012 16:13

The install seemed to have gone ...............

Please ignore the above issue, we managed to work out the problem... we had an issue with our Admin configure.php file... the following still had 'shop' listed but we never noticed the issue as this must be the only plugin that uses this admin path as the front end store config php file was correct and was the one we were checking originally.

Incase any one else runs into this issue in the future check the config file above in your Admin\Includes folder for the following two lines and update as needed...

define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

Regards
Jonathan

23 Aug 2013, 4:44 AM
#1360
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

JonnoC:

Please ignore the above issue, we managed to work out the problem... we had an issue with our Admin configure.php file... the following still had 'shop' listed but we never noticed the issue as this must be the only plugin that uses this admin path as the front end store config php file was correct and was the one we were checking originally.
Obviously you want to say that this is the only plugin that you are using, which uses the standard zen-cart function "zen_catalog_href_link()" for the link?