[pmwiki-users] Beta38: error messages on top of main page

Daniel Friedmann list at linuxing.de
Wed Jun 15 09:33:38 CDT 2005


Hello Jonathan

>The second warning is caused by the first if I'm not mistaken. Without
>looking at the code, I think you need to make line 613 read as:
>
>	$dfp = @opendir($dir); if (!$dfp) continue;
>
>The @ in front of the opendir will cause php not to carp about the
>nonexistent $dir and thus no premature header output.

Wow, that single @ did it. The error messages are gone. Thank you!

Is this a bug in PmWiki or just a bad coincidence on my system? Will I
have to patch new versions or should Patrick change this line in
future?

Regards
Daniel



More information about the pmwiki-users mailing list