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.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 ?

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

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [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 :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Just wanted to let you know that I got it working :-) It's an awesome product you've got there!

Justin, the owner of Fokvereniging VWF

Magic SEO URLs seem to be having a really positive effect on our ranking and look so much cleaner in the browser than a random set of numbers. The sitemaps have also saved me a lot of time!

Simon, the owner of Beltingonline.com

More Testimonials »