[Zen Cart] Can't execute Magic SEO URLs sitemaps
-
- Posts: 8
- Joined: Mon Jan 07, 2019 10:01 pm
[Zen Cart] Can't execute Magic SEO URLs sitemaps
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.php
I received :
This page isn’t working http://www.pechesudv155.owally.com is currently unable to handle this request.
HTTP ERROR 500
The 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 ?
on my server, when I try to generate sitemaps using:
https://www.pechesudv155.owally.com/sitemaps.php
I received :
This page isn’t working http://www.pechesudv155.owally.com is currently unable to handle this request.
HTTP ERROR 500
The 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 ?
-
- Posts: 8
- Joined: Mon Jan 07, 2019 10:01 pm
Re: Can't execute Magic SEO URLs sitemaps
I use Magic SEO URLs for Zen Cart v1.3.x/1.5.x 6.2
-
- Posts: 8
- Joined: Mon Jan 07, 2019 10:01 pm
Re: Can't execute Magic SEO URLs sitemaps
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.
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.
-
- Posts: 8
- Joined: Mon Jan 07, 2019 10:01 pm
Re: Can't execute Magic SEO URLs sitemaps
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
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
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)
-
- Posts: 8
- Joined: Mon Jan 07, 2019 10:01 pm
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
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.
[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.
-
- Posts: 8
- Joined: Mon Jan 07, 2019 10:01 pm
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
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);
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);
-
- Posts: 8
- Joined: Mon Jan 07, 2019 10:01 pm
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
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.
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.
-
- Posts: 8
- Joined: Mon Jan 07, 2019 10:01 pm
Re: [Zen Cart] Can't execute Magic SEO URLs sitemaps
Hello, is-it possible to have an answer to my question ? thanks