Warning: Invalid argument supplied for foreach()
« on: July 04, 2012, 07:09:28 AM »
I have problem.

 After installation sitemap generator worked without problem every day.

 Last week didn't add sites to sitemap files. Only one changes we see - generator found 3 broken links, and after this generating no more sites add to sitemaps.

I check rights 0666, and 0777. Rights are correct. I have erased generator folder and install again, but nothing changed.

My administrator send me report from server:
-----------------------
<h4>Completed</h4>Total pages indexed: 0
<br>Creating sitemaps...
<div id="percprog"></div>
Creating HTML sitemap...<div id="percprog2"></div> |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0

Warning: Invalid argument supplied for foreach() in /var/www/www.e-sits.sk/generator/pages/class.gping.inc.php on line 102

Warning: Invalid argument supplied for foreach() in /var/www/www.e-sits.sk/generator/pages/class.gping.inc.php on line 102
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page. <script> top.location = 'index.php?op=view' </script>
-----------------------

Can you help me with this bug?

Thanks.

Peter

 
Re: Warning: Invalid argument supplied for foreach()
« Reply #1 on: July 04, 2012, 05:19:17 PM »
Hello,

do you mean that 0 pages are added in sitemap now? Please let me know your generator URL/login in private message to check this.
Re: Warning: Invalid argument supplied for foreach()
« Reply #2 on: July 10, 2012, 05:01:33 AM »
I have send you private message with url and login.

 Did you check it ??