Jump to the post that solved this thread.
Solved: 10 Years ago inc/functions.php line-7187
#1
Solved: 10 Years ago
So after fixing the attachment CHMOD settings. i have came come to 185+ emails saying the exact same thing...

Quote:Type: 2

File: inc/functions.php (Line no. 7187)
Message
fread() expects parameter 1 to be resource, boolean given
Nothing has been changed. All i did was set the uploads dir to 777
Reply
#2
Solved: 10 Years ago
see replies here
Reply
#3
Solved: 10 Years ago
None of those are helping...

Ive tried the following.

Rebuild & Reload all cache
Rebuild Attachment Thumbnails

Still getting the email spams that are up to like 400
Reply
#4
Solved: 10 Years ago
^ does your forum has any plugins which affect attachments / uploaded files ?
if so, can you temporarily disable such plugins and check if the issue persists
Reply
#5
Solved: 10 Years ago
Well the problems not with attachment.php but with functions.php and no i dont

Edit: Disabled all plugins on my board, still getting the error
Reply
#6
Solved: 10 Years ago
^ the error is related to uploaded files (attachments, avatars, plugin files ..)
basically it looks like opened process at server is not closing in correct manner.
Reply
#7
Solved: 10 Years ago
So should i ask my provider to kill all the tasks for my website? or will suspending my hosting account via WHM and re-enabling it do the samthing?
Reply
#8
Solved: 10 Years ago
^ you can try restarting the server.
Reply
#9
Solved: 10 Years ago
Hmm ill put in the request but its a shared box so im not sure how far i will get. Suspending the hosting account and unsuspending it didnt work.
Reply
#10
Solved: 10 Years ago
I am not sure that warnings are caused by setting 777 permission for uploads directory.
if that is not allowed (should not be the case) it could be a simple thing to try 755
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)