Zen Cart Logo
Forums / All Other Contributions/Addons / SitemapXML error with external EZ Pages

SitemapXML error with external EZ Pages

Locked

Views: 726

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Mar 2010, 7:33 PM
#1
needhelpwiththis avatar

needhelpwiththis

New Zenner

Join Date:
Feb 2010
Posts:
17
Plugin Contributions:
0

SitemapXML error with external EZ Pages

SitemapXML is not indexing my EZ Pages with external links and is giving me the following error:
TEXT_ERRROR_EZPAGES_ROBOT

I found the above text in includes/modules/pages/sitemapxml/sitemapxml_ezpages.php, but I don't know what to make of it since I don't know much about coding.

Also- somebody posted in another thread that there was a bug with Sitemapxml and external EZ pages that produced the following error: "EZ-Page ignored (out of base url)." that's not the error I'm getting but I applied the fix just in case and it hasn't changed anything. Any help would be greatly appreciated. Thanks!

26 Mar 2010, 2:31 PM
#2
needhelpwiththis avatar

needhelpwiththis

New Zenner

Join Date:
Feb 2010
Posts:
17
Plugin Contributions:
0

Re: SitemapXML error with external EZ Pages

Any ideas as to what this TEXT_ERRROR_EZPAGES_ROBOT error is referring to?

Here's an excerpt from sitemapxml-ezpages.php that contains the above phrase, which I highlighter in red:

. $zen_SiteMapXML->base_url . '<br />', 'error');
$link = false;
} else {
if (basename($parse_url['path']) == 'index.php') {
$query_string = explode('&', str_replace('&', '&', $parse_url['query']));
foreach($query_string as $query) {
list($parm_name, $parm_value) = explode('=', $query);
if ($parm_name == 'main_page') {
if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($parm_value, explode(",", constant('ROBOTS_PAGES_TO_SKIP'))) || $parm_value == 'down_for_maintenance') {
$zen_SiteMapXML->message(sprintf(TEXT_ERRROR_EZPAGES_ROBOTS, $page_query->fields['alt_url'], $link) . '<br />', 'error');
$link = false;
break;