Zen Cart Logo

SitemapXML v.2

Views: 613,231

Results 2,101 to 2,120 of 2,226
2 Jun 2023, 12:56 PM
#2101
webmanstudios avatar

webmanstudios

New Zenner

Join Date:
Dec 2013
Location:
Adelaide, South Australia
Posts:
29
Plugin Contributions:
0

SitemapXML v.2

Hi Guys,

I am finding the following error log entries and was hoping you could help me resolve the error.

Many Thanks

les :)


--> PHP Warning: Use of undefined constant PHP_DATE_TIME_FORMAT - assumed 'PHP_DATE_TIME_FORMAT' (this will throw an Error in a future version of PHP) in ///public_html/***/sitemapxml.php on line 270.

2 Jun 2023, 1:34 PM
#2102
lat9 avatar

lat9

Administrator

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

Re: SitemapXML v.2

webmanstudios:

Hi Guys,

I am finding the following error log entries and was hoping you could help me resolve the error.

Many Thanks

les :)


--> PHP Warning: Use of undefined constant PHP_DATE_TIME_FORMAT - assumed 'PHP_DATE_TIME_FORMAT' (this will throw an Error in a future version of PHP) in ///public_html/***/sitemapxml.php on line 270.
The constant PHP_DATE_TIME_FORMAT is defined in /YOUR_ADMIN/includes/languages/lang.english.php, line 353.

8 Feb 2024, 4:44 PM
#2103
lat9 avatar

lat9

Administrator

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

Re: SitemapXML v.2

v4.0.0 of the Sitemap XML plugin is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=367

This release contains changes associated with the following GitHub issues:

#26: Search engines no longer support auto-submission for sitemap updates.
#27: Restructure installer; many files removed.
#28: Drop support for Zen Cart versions prior to 1.5.8 and PHP versions < 7.4.
#29: Address execution-token character limitations.
#30: Remove admin tool's javascript "helper" function.
#32: Add robots.txt guidance, since auto-submission to search engines is no longer supported.
#33: Remove 'dead' links from the gxx.xsl file.
#34: Main sitemap doesn't appear in admin tool's list if its name doesn't start with 'sitemap'.
#35: Admin tool displays "Undefined" for type when sitemaps are gzip-compressed.
#36: Gzipped sub-sitemaps aren't recorded in the main one; can't "View" compressed sitemap files.
#37: Remove no-longer-needed javascript: prefix for onclick/onsubmit handlers.

Refer to the plugin's GitHub repository (https://github.com/lat9/sitemapxml/%29; additional information is available in that repository's Wiki section (https://github.com/lat9/sitemapxml/wiki).

8 Feb 2024, 6:09 PM
#2104
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: SitemapXML v.2

Thanks @lat9

2 Apr 2024, 11:46 PM
#2105
lat9 avatar

lat9

Administrator

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

Re: SitemapXML v.2

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

This release contains changes associated with these GitHub issues:

#38 Zen Cart v2.0.0+ deprecates language::catalog_languages property.
#39 Correct PHP Warning/Error when creating a new Sitemap file number.
#40 Correct PHP Warnings when /sitemap.xml doesn't exist.

20 Apr 2024, 8:22 PM
#2106
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: SitemapXML v.2

Greetings!

I have installed sitemapxml v.4.0.1 and am getting this error in my log:
#1 fopen() called at [/includes/classes/sitemapxml.php:781]
#2 zen_SiteMapXML->_fileOpen() called at [/includes/classes/sitemapxml.php:184]
#3 zen_SiteMapXML->SitemapOpen() called at [/includes/classes/sitemapxml.php:354]
#4 zen_SiteMapXML->GenerateSitemapIndex() called at [/includes/templates/template_default/sitemapxml/tpl_main_page.php:24]
#5 require(/includes/templates/template_default/sitemapxml/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: fopen(/https://www.cedargroveherbs.com/sitemap.xml.xml): failed to open stream: No such file or directory in /includes/classes/sitemapxml.php on line 781.

and also, for some reason in my sitemap xml under TOOLS it says this regarding my robots.txt:

Your site's robots.txt file does not point search engines to your Sitemap XML file. Consider adding Sitemap: https://www.cedargroveherbs.com/https://www.cedargroveherbs.com/sitemap.xml.xml to your robots.txt file.

why does it say that? in my robots txt I say:

User-agent: Googlebot
Disallow: /nogooglebot/

User-agent: *
Allow: /

Sitemap: https://www.cedargroveherbs.com/sitemap.xml

20 Apr 2024, 8:56 PM
#2107
lat9 avatar

lat9

Administrator

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

Re: SitemapXML v.2

Fenomenal7:

Greetings!

I have installed sitemapxml v.4.0.1 and am getting this error in my log:
#1 fopen() called at [/includes/classes/sitemapxml.php:781]
#2 zen_SiteMapXML->_fileOpen() called at [/includes/classes/sitemapxml.php:184]
#3 zen_SiteMapXML->SitemapOpen() called at [/includes/classes/sitemapxml.php:354]
#4 zen_SiteMapXML->GenerateSitemapIndex() called at [/includes/templates/template_default/sitemapxml/tpl_main_page.php:24]
#5 require(/includes/templates/template_default/sitemapxml/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: fopen(/https://www.cedargroveherbs.com/sitemap.xml.xml): failed to open stream: No such file or directory in /includes/classes/sitemapxml.php on line 781.

and also, for some reason in my sitemap xml under TOOLS it says this regarding my robots.txt:

Your site's robots.txt file does not point search engines to your Sitemap XML file. Consider adding Sitemap: https://www.cedargroveherbs.com/https://www.cedargroveherbs.com/sitemap.xml.xml to your robots.txt file.

why does it say that? in my robots txt I say:

User-agent: Googlebot
Disallow: /nogooglebot/

User-agent: *
Allow: /

Sitemap: https://www.cedargroveherbs.com/sitemap.xml
It 'sounds like' you've set the SitemapXML's SitemapXML Index file name setting to sitemap.xml instead of the default sitemap.

21 Apr 2024, 6:26 AM
#2108
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

Re: SitemapXML v.2

That's not fixing the problem. I've emailed the developer of my theme and asked for assistance. They've been great at fixing my other issues so I'm keeping my fingers crossed. Thank you!

21 Apr 2024, 2:03 PM
#2109
lat9 avatar

lat9

Administrator

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

Re: SitemapXML v.2

Fenomenal7:

That's not fixing the problem. I've emailed the developer of my theme and asked for assistance. They've been great at fixing my other issues so I'm keeping my fingers crossed. Thank you!
OK, let me know what they find.

7 May 2024, 1:38 PM
#2110
wmorris avatar

wmorris

Totally Zenned

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

Re: SitemapXML v.2

I have downloaded this plug in and its saying its missing robot.txt file.

7 May 2024, 1:52 PM
#2111
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: SitemapXML v.2

wmorris:

I have downloaded this plug in and its saying its missing robot.txt file.

That file is not part of the plug in. Zen Cart comes with a robots_example.txt, but you'll need to create a robots.txt file

7 May 2024, 4:34 PM
#2112
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

And, don't forget to add

Sitemap: https://YOUR_SITE.com/sitemap.xml

8 May 2024, 1:19 AM
#2114
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: SitemapXML v.2

Bing has a webmaster tools (https://www.bing.com/webmasters/about) where you can submit your site map. Bing powers the Yahoo results so no need to submit to them.

14 May 2024, 5:54 AM
#2119
wmorris avatar

wmorris

Totally Zenned

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

Re: SitemapXML v.2

Ok, after I submitted my sitemap to google. I get this message today:

Discovered - currently not indexed
These pages aren't indexed or served on Google

Does anyone know what this mean?

14 May 2024, 6:32 AM
#2120
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: SitemapXML v.2

wmorris:

Ok, after I submitted my sitemap to google. I get this message today:

Discovered - currently not indexed
These pages aren't indexed or served on Google

Does anyone know what this mean?

Google knows - https://www.google.com/search?q=Discovered+-+currently+not+indexed

Do you have a Search Console account? That might give some clues.