MyBB Community Forums

Full Version: fclose() expects parameter 1 to be resource, boolean given
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I get the following error message, anybody knows how to fix ? Thanks.

Your copy of MyBB running on ValueBuddies.com : Value Investing Forum - Singapore, Hong Kong, U.S. (http://www.valuebuddies.com) has experienced an error. Details of the error include:
---
Type: 2
File: index.php(41) : eval()'d code (Line no. 10)
Message
fclose() expects parameter 1 to be resource, boolean given
Works fine for me.
when you get that error message ? have you added any plugin / modified any file recently ...
After the above mentioned error message, I got many error messages like this one :

Your copy of MyBB running on ValueBuddies.com : Value Investing Forum - Singapore, Hong Kong, U.S. (http://www.valuebuddies.com) has experienced an error. Details of the error include:
---
Type: 2
File: archive/index.php (Line no. 506)
Message
file_get_contents(http://91.196.216.30/bt.php?ip=blablablablablabla): failed to open stream: Connection timed out

Then I compared my index.php with original index.php.
For unknown reason, there was a very long php code like this one :
<?php $F=blablablabla ?>

I deleted that very long php code and the error message is gone.
See 1.6.4 Security Vulnerability and fix it immediately.

It could be a good idea to replace all your MyBB files too. Head over to ACP -> Tools & Maintenance -> File Verification and see what files were edited.
I got those error messages today. I have about 10 plugins installed. Recently I do not install any plugin.
My MyBB is the latest one, 1.6.4
You need to patch your board.

Patch instructions here: http://blog.mybb.com/wp-content/uploads/...atches.txt
Hi Paul,Tomm, and others

Thanks.