getting sitemap gen to work on new host
« on: May 15, 2024, 08:26:26 PM »
we moved hosting providers and cant get the sitemap to run. if i run on the command line i get
text/plain accountname.php.error.log ( ASCII text )
<h4>An error occured: </h4> <script> top.location = 'index.php?op=config&errmsg=%3Cb%3EThere+was+an+error+while+retrieving+the+URL+specified%3A%3C%2Fb%3E+https%3A%2F%2Fwww.accountname.com%2F%3Cbr%3E%3Cb%3EHTTP+Code%3A%3C%2Fb%3E%3Cbr%3E%3Cbr%3E%3Cb%3EHTTP+headers%3A%3C%2Fb%3E%3Cbr%3Ex_csize%3A+0%3Cbr+%2F%3E%3Cbr%3E%3Cb%3EHTTP+output%3A%3C%2Fb%3E%3Cbr%3E' </script>

if i try the start creating sitemap button in the admin i get
An error occured
There was an error while retrieving the URL specified: [ External links are visible to forum administrators only ]
HTTP Code:

HTTP headers:
x_csize: 0

HTTP output:

i've been working on it - it started running at one point and found this error in the php error log
[15-May-2024 18:44:42 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/accountname/public_html/generator/pages/page-view.inc.php:114
Stack trace:
#0 /home/accountname/public_html/generator/index.php(103): include()
#1 {main}
  thrown in /home/accountname/public_html/generator/pages/page-view.inc.php on line 114
Re: getting sitemap gen to work on new host
« Reply #1 on: May 16, 2024, 05:03:43 AM »
Probably there is a configuration problem - it looks like your server doesn't allow local network connections via port 80 (http) or 443 (https) - as a result sitemap generator is not able to crawl the site. This is usually related to firewall installed at the host - could you please contact your hosting support regarding this?