Zen Cart Logo

SitemapXML v.2

Views: 613,387

Results 2,141 to 2,160 of 2,226
16 Jun 2024, 7:45 PM
#2141
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

SitemapXML v.2

Ok, this is a screenshot for Bing and Yahoo!

https://www.galaxyhomedecor.us/images/bing-yahoo.png

Can you tell me why that they won't index these?

16 Jun 2024, 8:05 PM
#2142
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: SitemapXML v.2

Have you tried actually clicking on the link and seeing what it says?

I am assuming this is where you wind up https://www.bing.com/webmasters/help/webmaster-guidelines-30fba23a

It is pretty much step by step.

Certainly following those steps should help.

21 Jun 2024, 12:52 AM
#2143
gozzandes avatar

gozzandes

Zen Follower

Join Date:
Jul 2021
Location:
Fukuoka Japan
Posts:
131
Plugin Contributions:
0

Re: SitemapXML v.2

I've also have a problem.
but I resolved it today.

Here's how to do it:
Go to Admin->Configuration->Sessions
Change the Force Cookie Use "True" to "False"

Recently, Googlebot crawls without cookie.
If he is force to use cookie, he will be redirected to the cookie_usage page.
As soon as I set this setting to "False", Googlebot started coming.

21 Jun 2024, 12:38 PM
#2144
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: SitemapXML v.2

Gozzandes:

I've also have a problem.
but I resolved it today.

Here's how to do it:
Go to Admin->Configuration->Sessions
Change the Force Cookie Use "True" to "False"

Recently, Googlebot crawls without cookie.
If he is force to use cookie, he will be redirected to the cookie_usage page.
As soon as I set this setting to "False", Googlebot started coming.
Nice detective work! I've created a GitHub issue (https://github.com/lat9/sitemapxml/issues/45) and will update the admin tool to display a message identifying the condition, if found.

21 Jun 2024, 2:45 PM
#2145
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: SitemapXML v.2

v4.0.2 of SitemapXML is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=367

This release corrects the following GitHub issues:

#42: Correct reverse-logic when determining if Sitemap 'Execution Token' is correct.
#45: Issue warning message in admin tool if Configuration :: Sessions :: Force Cookie Use is found to be 'True'; search-engine crawlers won't be able to index the site.
#46: Correct PHP short-code, e.g. <? , usage. Should be <?=.

23 Jun 2024, 1:14 AM
#2146
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: SitemapXML v.2

Gozzandes:

I've also have a problem.
but I resolved it today.

Here's how to do it:
Go to Admin->Configuration->Sessions
Change the Force Cookie Use "True" to "False"

Recently, Googlebot crawls without cookie.
If he is force to use cookie, he will be redirected to the cookie_usage page.
As soon as I set this setting to "False", Googlebot started coming.

lat9:

Nice detective work! I've created a GitHub issue (https://github.com/lat9/sitemapxml/issues/45) and will update the admin tool to display a message identifying the condition, if found.

lat9:

v4.0.2 of SitemapXML is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=367

This release corrects the following GitHub issues:

#42: Correct reverse-logic when determining if Sitemap 'Execution Token' is correct.
#45: Issue warning message in admin tool if Configuration :: Sessions :: Force Cookie Use is found to be 'True'; search-engine crawlers won't be able to index the site.
#46: Correct PHP short-code, e.g. <? , usage. Should be <?=.

So, this issue with google not crawling while force cookie use is set to true only occurs because this plugin is installed? Put another way is why is this warning message only being applied to this plugin?

23 Jun 2024, 1:39 PM
#2147
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: SitemapXML v.2

mc12345678:

So, this issue with google not crawling while force cookie use is set to true only occurs because this plugin is installed? Put another way is why is this warning message only being applied to this plugin?
No and good point. Zen Cart GitHub issue opened: https://github.com/zencart/zencart/issues/6554

30 Oct 2024, 12:12 PM
#2148
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
969
Plugin Contributions:
0

Re: SitemapXML v.2

running zen version 1.56c how do i update this module to get rid of the dereciated pings using sitemap 3.96

30 Oct 2024, 1:41 PM
#2149
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: SitemapXML v.2

jimmie:

running zen version 1.56c how do i update this module to get rid of the dereciated pings using sitemap 3.96
Unfortunately, v3.96 of SitemapXML is the most recent version that supports Zen Cart version 1.5.6c.

Just don't click the checkbox associated with "Ping search engines" while you're planning your upgrade to a more current version of Zen Cart.

23 Nov 2024, 12:34 AM
#2150
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: SitemapXML v.2

Sitemap 4.02
ZC 2.0.1
Php 8.3

Not really a big issue but I am getting a depreciated log.

[22-Nov-2024 16:21:15 America/Los_Angeles] Request URI: /index.php?main_page=sitemapxml&rebuild=yes, IP address: 98.45.172.132, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/classes/sitemapxml.php(225): strtotime()
#2 /includes/modules/pages/sitemapxml/sitemapxml_products_reviews.php(37): zen_SiteMapXML->writeItem()
#3 /includes/templates/template_default/sitemapxml/tpl_main_page.php(21): require('/home/zch1akhw6...')
#4 /index.php(95): require('/home/zch1akhw6...')
--> PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /includes/classes/sitemapxml.php on line 225.

[22-Nov-2024 16:21:15 America/Los_Angeles] Request URI: /index.php?main_page=sitemapxml&rebuild=yes, IP address: 98.45.172.132, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/classes/sitemapxml.php(225): strtotime()
#2 /includes/modules/pages/sitemapxml/sitemapxml_products_reviews.php(37): zen_SiteMapXML->writeItem()
#3 /includes/templates/template_default/sitemapxml/tpl_main_page.php(21): require('/home/zch1akhw6...')
#4 /index.php(95): require('/home/zch1akhw6...')
--> PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /includes/classes/sitemapxml.php on line 225.

It is a partial log as it is much longer but repeat itself.

If there is an easy way to fix it, it would be great

Thank you

23 Nov 2024, 1:26 PM
#2151
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: SitemapXML v.2

nicksab:

Sitemap 4.02
ZC 2.0.1
Php 8.3

Not really a big issue but I am getting a depreciated log.

[22-Nov-2024 16:21:15 America/Los_Angeles] Request URI: /index.php?main_page=sitemapxml&rebuild=yes, IP address: 98.45.172.132, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/classes/sitemapxml.php(225): strtotime()
#2 /includes/modules/pages/sitemapxml/sitemapxml_products_reviews.php(37): zen_SiteMapXML->writeItem()
#3 /includes/templates/template_default/sitemapxml/tpl_main_page.php(21): require('/home/zch1akhw6...')
#4 /index.php(95): require('/home/zch1akhw6...')
--> PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /includes/classes/sitemapxml.php on line 225.

[22-Nov-2024 16:21:15 America/Los_Angeles] Request URI: /index.php?main_page=sitemapxml&rebuild=yes, IP address: 98.45.172.132, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/classes/sitemapxml.php(225): strtotime()
#2 /includes/modules/pages/sitemapxml/sitemapxml_products_reviews.php(37): zen_SiteMapXML->writeItem()
#3 /includes/templates/template_default/sitemapxml/tpl_main_page.php(21): require('/home/zch1akhw6...')
#4 /index.php(95): require('/home/zch1akhw6...')
--> PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /includes/classes/sitemapxml.php on line 225.

> 
> It is a partial log as it is much longer but repeat itself.
> 
> If there is an easy way to fix it, it would be great
> 
> Thank you
Thanks for the report.  You can correct that issue by editing /includes/modules/pages/sitemapxml/sitemapxml_prodcts_reviews.php (line 37) adding the highlighted bit below.

[I][B]Note[/B][/I]: GitHub issue created for tracking ... https://github.com/lat9/sitemapxml/issues/49

$sitemapXML->SitemapSetMaxItems($reviews->RecordCount());
foreach ($reviews as $next_review) {
    $sitemapXML->writeItem(FILENAME_PRODUCT_REVIEWS, 'products_id=' . $next_review['products_id'], $next_review['languages_id'], $next_review['last_date'][B] ?? $last_date[/B], SITEMAPXML_PRODUCTS_REVIEWS_CHANGEFREQ);
}

Note: GitHub issue opened for tracking ... <https://github.com/lat9/sitemapxml/issues/49>
28 Nov 2024, 9:29 PM
#2152
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: SitemapXML v.2

lat9:

Thanks for the report. You can correct that issue by editing /includes/modules/pages/sitemapxml/sitemapxml_prodcts_reviews.php (line 37) adding the highlighted bit below.

[I][B]Note[/B][/I]: GitHub issue created for tracking ... https://github.com/lat9/sitemapxml/issues/49

$sitemapXML->SitemapSetMaxItems($reviews->RecordCount());
foreach ($reviews as $next_review) {
    $sitemapXML->writeItem(FILENAME_PRODUCT_REVIEWS, 'products_id=' . $next_review['products_id'], $next_review['languages_id'], $next_review['last_date'][B] ?? $last_date[/B], SITEMAPXML_PRODUCTS_REVIEWS_CHANGEFREQ);
}
> 
> Note: GitHub issue opened for tracking ... <https://github.com/lat9/sitemapxml/issues/49>

Changes applied. Thank you
30 Nov 2024, 2:53 AM
#2153
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: SitemapXML v.2

lat9:

Thanks for the report. You can correct that issue by editing /includes/modules/pages/sitemapxml/sitemapxml_prodcts_reviews.php (line 37) adding the highlighted bit below.

[I][B]Note[/B][/I]: GitHub issue created for tracking ... https://github.com/lat9/sitemapxml/issues/49

$sitemapXML->SitemapSetMaxItems($reviews->RecordCount());
foreach ($reviews as $next_review) {
    $sitemapXML->writeItem(FILENAME_PRODUCT_REVIEWS, 'products_id=' . $next_review['products_id'], $next_review['languages_id'], $next_review['last_date'][B] ?? $last_date[/B], SITEMAPXML_PRODUCTS_REVIEWS_CHANGEFREQ);
}
> 
> Note: GitHub issue opened for tracking ... <https://github.com/lat9/sitemapxml/issues/49>

I did the changes as mentioned before but looks like the error is back.

My  sitemapxml is on weekly cronjob soit tooks a bit  for it to come back. 

Here is the log:

[29-Nov-2024 18:51:29 America/Los_Angeles] Request URI: /index.php?main_page=sitemapxml&rebuild=yes, IP address: 24.4.88.128, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/classes/sitemapxml.php(225): strtotime()
#2 /includes/modules/pages/sitemapxml/sitemapxml_reviews.php(32): zen_SiteMapXML->writeItem()
#3 /includes/templates/template_default/sitemapxml/tpl_main_page.php(21): require('/home/zch1akhw6...')
#4 /index.php(95): require('/home/zch1akhw6...')
--> PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /includes/classes/sitemapxml.php on line 225.


Thank  you for the assistance
30 Nov 2024, 4:28 AM
#2154
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,954
Plugin Contributions:
8

Re: SitemapXML v.2

nicksab:

I did the changes as mentioned before but looks like the error is back.

My sitemapxml is on weekly cronjob soit tooks a bit for it to come back.

Here is the log:

[29-Nov-2024 18:51:29 America/Los_Angeles] ...
#2 /includes/modules/pages/sitemapxml/sitemapxml_reviews.php(32): zen_SiteMapXML->writeItem()

> 
> Thank  you for the assistance

why are we now on line 32?  in the previous log we were on line 37.
30 Nov 2024, 11:17 AM
#2155
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: SitemapXML v.2

carlwhat:

why are we now on line 32? in the previous log we were on line 37.
Because the same issue arises with the sitemap_reviews as with the sitemap_product_reviews.

30 Nov 2024, 11:37 AM
#2156
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: SitemapXML v.2

Similar change for /includes/modules/pages/sitemapxml/sitemapxml_reviews.php, line 34, adding the highlighted bits

        $sitemapXML->writeItem(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $next_review['products_id'] . '&reviews_id=' . $next_review['reviews_id'], $next_review['language_id'], $next_review['last_date'][B] ?? $last_date[/B], SITEMAPXML_REVIEWS_CHANGEFREQ);
1 Dec 2024, 11:48 PM
#2157
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
741
Plugin Contributions:
0

Re: SitemapXML v.2

zencart 2.1.0
php 8.2
Sitemap XML v4.0.2
I am assuming in didnt work because I use different files

When i generator my sitemap i use

  • sitemapxml_categories.php
  • sitemapxml_categories.php
  • sitemapxml_manufacturers.php
  • sitemapxml_products.php

This is what I edited. Obviously the reaspon i am getting the error is because I am seing different php files as mentioned above.
includes/modules/pages/sitemapxml/sitemapxml_products_reviews.php
includes/modules/pages/sitemapxml/sitemapxml_reviews.php

[02-Dec-2024 00:41:39 Europe/Berlin] Request URI: /xxx.com/index.php?main_page=sitemapxml&rebuild=yes, IP address: 127.0.0.1, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 C:\xampp\htdocs\xxx.com\includes\classes\sitemapxml.php(225): strtotime()
#2 C:\xampp\htdocs\xxx.com\includes\modules\pages\sitemapxml\sitemapxml_manufacturers.php(41): zen_SiteMapXML->writeItem()
#3 C:\xampp\htdocs\xxx.com\includes\templates\template_default\sitemapxml\tpl_main_page.php(21): require('C:\xampp\htdocs...')
#4 C:\xampp\htdocs\xxx.com\index.php(94): require('C:\xampp\htdocs...')
--> PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in C:\xampp\htdocs\xxx.com\includes\classes\sitemapxml.php on line 225.

1 Dec 2024, 11:57 PM
#2158
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
741
Plugin Contributions:
0

Re: SitemapXML v.2

When i generate the sitemap this is what i am sending which is causing the warning just to be clear.

sitemapxml_categories.php
sitemapxml_mainpage.php
sitemapxml_manufacturers.php
sitemapxml_products.php

2 Dec 2024, 12:02 AM
#2159
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: SitemapXML v.2

Edit /includes/modules/pages/sitemapxml/sitemapxml_manufacturers.php, line 41 ... adding the highlighted bit

        $sitemapXML->writeItem(FILENAME_DEFAULT, 'manufacturers_id=' . $next_manufacturer['manufacturers_id'], $next_manufacturer['languages_id'], $next_manufacturer['last_date'] [B]?? $last_date[/B], SITEMAPXML_MANUFACTURERS_CHANGEFREQ, $xtra);

Thanks for the report!

2 Dec 2024, 12:56 AM
#2160
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
741
Plugin Contributions:
0

Re: SitemapXML v.2

that worked :)