Page 1 of 1
[Zen Cart] Can't execute Magic SEO URLs sitemaps
Posted: Fri Jan 05, 2024 1:17 pm
by peter@pechesud.com
I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0
on my server, when I try to generate sitemaps using:
https://www.pechesudv155.owally.com/sitemaps.phpI received :
This page isn’t working http://www.pechesudv155.owally.com is currently unable to handle this request.
HTTP ERROR 500The sitemaps.php and sitemap directory has been copied.
In running ZenCart 1.57d with PHP 7.3 and SEO Magic URL
Does any places I can check the error ?
Re: Can't execute Magic SEO URLs sitemaps
Posted: Fri Jan 05, 2024 1:28 pm
by peter@pechesud.com
I use Magic SEO URLs for Zen Cart v1.3.x/1.5.x 6.2
Re: Can't execute Magic SEO URLs sitemaps
Posted: Sat Jan 06, 2024 11:45 am
by peter@pechesud.com
I finally use the version : Inveo_Magic_SEO_URLs_Sitemaps_Add-On_for_ZenCart_MSU4.x_MSU5.x
And I add this definition inside sitemaps.php file to correct the issue.
define('DIR_WS_INCLUDES','includes/');
After executing (
http://www.mydomain.com/sitemaps.php)
Do I have to create sitemap.xml with the result ? or everything done per magic.
Re: Can't execute Magic SEO URLs sitemaps
Posted: Sat Jan 06, 2024 1:31 pm
by peter@pechesud.com
Also, is it normal than sitemaps generator create dynamic URLs like this:
https://www.pechesudv155.owally.com/index.php?main_page=product_info&products_id=1145&language=en
When on the website, we see the static URLs:
https://www.pechesudv155.owally.com/en/queens-candy-slow-jigging-lure-340-grams-white-glow-1145
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
Posted: Mon Jan 08, 2024 12:50 pm
by inveo
The easiest way to get Sitemaps working is to use SitemapXML v3.3.3 add-on (this specific version):
https://www.zen-cart.com/downloads.php? ... hash=guest (other versions might not work)
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
Posted: Tue Jan 09, 2024 10:51 am
by peter@pechesud.com
I install the SitemapXML v 3.3.3 02.29.2016 as you said, had some issue with some missing definition. But, it generated the XML file with the correct URLS. However, i find a big error log file with this content:
[09-Jan-2024 12:40:17 America/New_York] Request URI: /index.php?main_page=sitemapxml&rebuild=yes&ping=&, IP address: 70.31.216.243
#1 ÿ¬ŒÀ…ˆ…µ¨’‘£…±´ž«¤…ƒ¡::makeAbsoluteUrl() called at [/home/owallyco/public_html/pechesud157d/includes/msu/pkgs/magic_seo_urls-ioncube-73.php:0]
#2 MsuHelperZc::transformUrl() called at [/home/owallyco/public_html/pechesud157d/includes/msu/pkgs/magic_seo_urls-ioncube-73.php:0]
#3 msuTransformUrlZc() called at [/home/owallyco/public_html/pechesud157d/includes/classes/sitemapxml.php:252]
#4 zen_SiteMapXML->SitemapWriteItem() called at [/home/owallyco/public_html/pechesud157d/includes/classes/sitemapxml.php:232]
#5 zen_SiteMapXML->writeItem() called at [/home/owallyco/public_html/pechesud157d/includes/modules/pages/sitemapxml/sitemapxml_mainpage.php:21]
#6 include(/home/owallyco/public_html/pechesud157d/includes/modules/pages/sitemapxml/sitemapxml_mainpage.php) called at [/home/owallyco/public_html/pechesud157d/includes/templates/template_default/sitemapxml/tpl_main_page.php:21]
#7 require(/home/owallyco/public_html/pechesud157d/includes/templates/template_default/sitemapxml/tpl_main_page.php) called at [/home/owallyco/public_html/pechesud157d/index.php:94]
--> PHP Deprecated: [obfuscated](): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/owallyco/public_html/pechesud157d/includes/msu/pkgs/magic_seo_urls-ioncube-73.php on line 0.
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
Posted: Tue Jan 09, 2024 3:27 pm
by peter@pechesud.com
The function msuTransformUrlZc is call from \includes\classes\sitemapsxml.php (Version 3.3.3)
My version of SEO is Magic SEO URLs for Zen Cart v1.3.x/1.5.x 6.2
}
if (!$this->genxml) return false;
if ($this->magicSeo) {
if(!function_exists('msuTransformUrlZc')) {
$href = '<html><body><a href="' . $loc . '">loc</a></body></html>';
$out = unMagicSeoDoSeo($href);
if (preg_match('@<a[^>]+href=(["\'])(.*)\1@isU', $out, $m)) {
$loc = $m[2];
}
} else {
$loc = msuTransformUrlZc($loc);
}
}
$loc = $this->_url_encode($loc);
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
Posted: Mon Jan 15, 2024 8:55 am
by peter@pechesud.com
Do you have update version of [magic_seo_urls-ioncube-73.php:0] to correct this issue?
PHP Deprecated: [obfuscated](): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/owallyco/public_html/pechesud157d/includes/msu/pkgs/magic_seo_urls-ioncube-73.php on line 0.
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
Posted: Fri Mar 01, 2024 6:20 am
by peter@pechesud.com
Hello, is-it possible to have an answer to my question ? thanks