MyBB Community Forums

Full Version: Massive MySql errors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OK Not sure where to post this now that 1.6 isn't being developed anymore.

I'm not quite ready to move to 1.8 and I was doing some recounting of attachments on my site today and I have 2524 errors in my inbox from this. I think this may be something I need to address before I upgrade as well.

They seem to be 2 specific ones. I spoke with DylanM about this and he thinks it is something that should never happen and I should report this to the team.

These are the two errors:

Your copy of MyBB running on Twitchin Kitten - adult conversation community (http://twitchinkitten.com) has experienced an error. Details of the error include:
---
Type: 2
File: attachment.php (Line no. 163)
Message
feof() expects parameter 1 to be resource, boolean given

Your copy of MyBB running on Twitchin Kitten - adult conversation community (http://twitchinkitten.com) has experienced an error. Details of the error include:
---
Type: 2
File: attachment.php (Line no. 165)
Message
fread() expects parameter 1 to be resource, boolean given

I also have a few about an upload directory not being able to be found and this happens often on upgrades but I never bothered to worry about it. There are 64 of these with different strings of numbers:

Your copy of MyBB running on Twitchin Kitten - adult conversation community (http://twitchinkitten.com) has experienced an error. Details of the error include:
---
Type: 2
File: inc/functions_image.php (Line no. 30)
Message
getimagesize(/var/www/clients/client2/web2/web/uploads/201109/post_1_1316100881_663a9dfd600f6cfd9bc67ea2caa9f1b9.attach): failed to open stream: No such file or directory
(2014-09-19, 06:03 AM)StefanT Wrote: [ -> ]This thread my help you: http://community.mybb.com/thread-158076-...pid1096080

Stefan, I don't understand. I read the entire thread you linked and it seems to only apply to the last issue of the uploads directory not being found and orphaned attachments. I know how to get rid of orphaned attachments and I was doing the recount hoping they would come back.

Are you saying the 2000+ errors in the first two quoted above are directly related to this? Although I don't understand code so much, the wording in those for each of those lines does not seem to indicate this.

I think these are two separate issues and the first is more my concern.
perhaps this thread on the German support site has required debug guidance (post #10) ..
(2014-09-19, 12:05 PM).m. Wrote: [ -> ]perhaps this thread on the German support site has required debug guidance (post #10) ..

Well that's not very helpful since I don't speak German. Trying to figure out code is difficult enough, trying to figure out what the code means and in German is impossible.