Home › Forums › Support Forum › 1 Read/Write Errors
Tagged: Read write errors
This topic contains 12 replies, has 2 voices, and was last updated by Rob Matthews 8 years, 9 months ago.
-
AuthorPosts
-
February 18, 2016 at 4:46 am #1430
Is this something to be concerened about
wp-content\plugins\contact-form-plugin\contact_form.php
I can open the file, edit it, move it etc so its not the file its self
I am just unsure what I should do about it
Regards
Rob
February 18, 2016 at 8:01 am #1431It is something to be concerened about but it may not be malicious. If you are getting a read/write error and you also cannot delete this file then there is some kind of permission problem with the file. You may need to get your hosting provider to fix the permissions on the file or delete that plugin so that you can reinstall it.
February 18, 2016 at 11:37 am #1432I can delete the file fine, I have also uploaded a copy of the file with another name and now that second file gives the same error, it seams to something within the file that is causing the problem
February 18, 2016 at 1:15 pm #1433can you please email that file to me as an attachment so that I can inspect it?
February 19, 2016 at 12:05 am #1434Yes no problem, what is the email address to send it to
February 19, 2016 at 12:07 am #1435Not sure if this will work here but here is a dropbox link to the file
https://www.dropbox.com/s/6dhd5m37433p8km/contact_form.php?dl=0
February 22, 2016 at 1:08 am #1436Did you manage to get the file ?
February 22, 2016 at 10:37 am #1437Yes, I did. Thanks for the DropBox link and sorry for my late reply, I was on Oahu this past weekend the Hawaii Open Fencing Tournament so I hadn’t really had a chance to get any work done
I took a look at this file though and it’s clean
This file was fairly large so I think your server was probably giving a read/write error because the memory_limit in your php.ini file is too low. I put this file on a testing site on one of my servers and I was able to scan it fine without any errors.
February 22, 2016 at 1:30 pm #1438many thanks, can you suggest a suitable size for the memory_limit ?
February 22, 2016 at 1:33 pm #1439I have it set to 512M on all my servers but it may depend on how much memory your server actually have and whether or not your host allows you to change that setting.
February 23, 2016 at 12:52 am #1440It was set to 256M, now 512M but made no difference, can you suggest anything else ?
February 23, 2016 at 1:00 pm #1443That was my best guess with so little information to go on. Like I said, my plug is able to scan that file just fine on my server, so it must be something about your server that is limiting my plugin or otherwise preventing that file from being read.
You can check the file permission in-place, or check your error_log file to see if there is a relevant error reported every time you scan that file. you could also check the results of the phpinfo() function to be sure that your php.ini file is affecting the appropriate values that you have set.
You may also want to inquire about your servers processor and memory capacity and other server limitation with your hosting provider. If this (or any other issue with your hosting) are a real problem for you and you would like to switch to a better host then I would be happy to move your site to one of my servers. I do offer Super Secure Hosting for $12/month per site if you are interested.
February 24, 2016 at 2:29 am #1444Cheers, will see what I can find out, phpinfo shows 512M so that is ok, the filer permissions are fine (its a windows apache server) just tried a quick scan and got
The Quick Scan was unable to finish because of a shortage of memory or a problem accessing a file. Please try using the Complete Scan, it is slower but it will handle these errors better and continue scanning the rest of the files.
error log shows nothing
Will let you know if I find the answer
Many thanks for your help
Rob
-
AuthorPosts
You must be logged in to reply to this topic.