Page 1 of 1

SEOTools2 warning when generating sitemap [SOLVED]

Posted: Wed Mar 05, 2014 12:20 pm
by wmdvanzyl
Hi All.

I receive this warning when trying to generate the sitemap using SEOTools2

Code: Select all

Warning: fread() [function.fread]: Length parameter must be greater than 0 in [*url*]/modules/SEOTools2/action.robots.php on line 63
What does this mean?

The current file was empty, so it could just be that. It still successfully generates the file. I would just like to know what the message means and whether i should investigate.

Re: SEOTools2 warning when generating sitemap

Posted: Wed Mar 05, 2014 2:19 pm
by JohnnyB
just meant the file was empty. Should be no problem.

But, you could post a bug report on the Forge so the dev can check if the file is readable before fread tries to read it. fread will generate a warning anytime a file is empty (can't be read).

Re: SEOTools2 warning when generating sitemap

Posted: Wed Mar 05, 2014 7:55 pm
by wmdvanzyl
JohnnyB wrote:just meant the file was empty. Should be no problem.

But, you could post a bug report on the Forge so the dev can check if the file is readable before fread tries to read it. fread will generate a warning anytime a file is empty (can't be read).
My thoughts also. Thanks for the input.