• Welcome to Sitemap Generator Forum.
 

getting sitemap gen to work on new host

Started by orders178, May 15, 2024, 08:26:26 PM

Previous topic - Next topic

orders178

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

XML-Sitemaps Support

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?

orders178

thanks I will ask our hosting support about it. will reply when i have a response!

orders178

 Hosting support replied:

Local connections are allowed on the server and work without issue:

[root@server:/]$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

[root@server:/]$ telnet localhost 443
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

It doesn't look like there is a network issue. The only error we see is one that does not provide much info:

errmsg=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:


orders178