SEOTools2 warning when generating sitemap [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

SEOTools2 warning when generating sitemap [SOLVED]

Post 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.
Last edited by wmdvanzyl on Wed Mar 05, 2014 7:55 pm, edited 1 time in total.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: SEOTools2 warning when generating sitemap

Post 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).
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: SEOTools2 warning when generating sitemap

Post 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.
Post Reply

Return to “Modules/Add-Ons”