Originally Posted by
davewest
In v3.9.3 the install file has line 143 commented out... so the warning should not be logged? Anyway, I didn't see a need for me to use any of it so commented out that section. Warnings do not kill code normally, you may want to dig some more... mine is working fine ZC1.5.6b PHP7.3.x
ATTN: davewest and RixStix
Many thanks Dave for responding. I commented out that section and it made no difference to the issue - you were right about digging further - I found another error log (below) - any advice on this would be appreciated .... I used the uninstall sql and then reinstalled sitemapxml 3.9.5, again with no change to the issue.
Dave you said you had 3.9.3 working fine on 1.5.6b - unmodified?
Rick - as much as there more errors they all refer to 'undefined constant' - so your suggestion Rick may be helpful, at least as a stop-gap solution .... the problem is I really didn't understand what you meant - I am not a coder so is it possible to offer a more elaborate explanation of "use an existing file as an example to create a new file appropriately named to define 'as blank' the DEFINITION that is being reported as undefined".
This site suffered many months of ranking issues due to canonicals not being written to sitemaps due to USU not being compatible with 1.5.5f - now another 'apparent' compatibility problem with the latest version of ZC ..... gets pretty frustrating (especially for those of us who are not coders and cannot sort it out themselves without significant help).
cheers,
Mike
Code:
[02-Jul-2019 13:52:55 Australia/Sydney] Request URI: /admin/sitemapxml.php, IP address: 203.63.88.122
#1 include(/home/****/public_html/admin/includes/languages/english/sitemapxml.php) called at [/home/****/public_html/admin/includes/init_includes/init_languages.php:42]
#2 require(/home/****/public_html/admin/includes/init_includes/init_languages.php) called at [/home/****/public_html/includes/autoload_func.php:48]
#3 require(/home/****/public_html/includes/autoload_func.php) called at [/home/****/public_html/admin/includes/application_top.php:171]
#4 require(/home/****/public_html/admin/includes/application_top.php) called at [/home/****/public_html/admin/sitemapxml.php:14]
--> PHP Warning: Use of undefined constant SITEMAPXML_SITEMAPINDEX - assumed 'SITEMAPXML_SITEMAPINDEX' (this will throw an Error in a future version of PHP) in /home/****/public_html/dazzlers/includes/languages/english/sitemapxml.php on line 14.
[02-Jul-2019 13:52:55 Australia/Sydney] Request URI: /admin/sitemapxml.php, IP address: 203.63.88.122
#1 include(/home/****/public_html/admin/includes/languages/english/sitemapxml.php) called at [/home/****/public_html/admin/includes/init_includes/init_languages.php:42]
#2 require(/home/****/public_html/admin/includes/init_includes/init_languages.php) called at [/home/****/public_html/includes/autoload_func.php:48]
#3 require(/home/****/public_html/includes/autoload_func.php) called at [/home/****/public_html/admin/includes/application_top.php:171]
#4 require(/home/****/public_html/admin/includes/application_top.php) called at [/home/****/public_html/admin/sitemapxml.php:14]
--> PHP Warning: Use of undefined constant SITEMAPXML_SITEMAPINDEX - assumed 'SITEMAPXML_SITEMAPINDEX' (this will throw an Error in a future version of PHP) in /home/dazzlersharmonyn/public_html/admin/includes/languages/english/sitemapxml.php on line 36.
[02-Jul-2019 13:52:56 Australia/Sydney] Request URI: /admin/sitemapxml.php, IP address: 203.63.88.122
#1 require_once(/home/****/public_html/admin/includes/modules/sitemapxml_install.php) called at [/home/****/public_html/admin/includes/init_includes/init_sitemapxml.php:95]
#2 require(/home/****/public_html/admin/includes/init_includes/init_sitemapxml.php) called at [/home/****/public_html/includes/autoload_func.php:48]
#3 require(/home/****/public_html/includes/autoload_func.php) called at [/home/****/public_html/admin/includes/application_top.php:171]
#4 require(/home/****/public_html/admin/includes/application_top.php) called at [/home/****/public_html/admin/sitemapxml.php:14]
--> PHP Warning: Use of undefined constant TABLE_SITEMAPXML_EXTRAURLS - assumed 'TABLE_SITEMAPXML_EXTRAURLS' (this will throw an Error in a future version of PHP) in /home/****/public_html/admin/includes/modules/sitemapxml_install.php on line 135.
Bookmarks