FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » A little Warning is detected in a server log file
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Aw: A little Warning is detected in a server log file [message #165898 is a reply to message #165485] Sat, 20 August 2011 23:15 Go to previous message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma:
Senior Member
Contributing Core Developer
Translator
In the mentioned line there is a call to glob() to enumerate the feed cache files. glob() can return false which could have caused these warnings. A harmless situation where this can happen would be that there are no cache files and open_basedir restrictions are in effect. I added a check before foreach() to make sure glob() returned an array:
http://sourceforge.net/apps/trac/fudforum/changeset/5357

If you want to try it please remember that it is needed to rebuild the theme to apply the changes. Only the changes in function feed_cache_cleanup() are related to this issue.
[Message index]
 
Read Message
Read Message
Previous Topic: php-error-log undefined lang on line 33
Next Topic: Undefined variable: MOD in ppost.php on line 2427
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 03:53:15 GMT 2024

Total time taken to generate the page: 0.05113 seconds