First, sorry about not starting a new thread! I just felt bad creating a “new” problem when someone else was experiencing similar issues ;) Now I get it: I have to “own” the thread.
Anyway, I am having a lot of difficulty uploading images.
My file sizes are half of the maximum allowed size, and are jpegs, and this is a new problem.
I changed my upload file permissions to 755 , and selected “recurse into subdirectories, apply to directories only.”
Unfortunately this doesn’t change anything. I still have broken files in my media library, and am still not able to upload.
The strange thing is, that when I go back to double check the uploads file after changing to 755, it either says 755 (BUT recurse into subdirectories is no longer selected) or it simply says xxx. Like somehow the new file permission were not “sticking” (?) I would really appreciate any suggestions you might have. This is not my day job and I’m feeling pretty frustrated (as in ready to yank the computer plug out of the socket just to show the computer who’s boss.) But hey, maybe even you guys have “those” days…
Thank you!
I just thought I’d add that there are two types of image files that I cannot see:
– a broken file (looks like a mini ripped photograph in the middle of a white box and has no title.)
-a file represented by a grey sheet of paper with the corner bent over. It has the name of the image under it, and I just saw that if I click on “edit more details”, the image actually appears! If I try to use it as a simple meta slider image, it says in red “warning: image data does not exist: please re-upload image.” BUT, I can see it on the page! That said, I am completely unable to use it in a layer slide (I have the pro version of meta slider).
Don’t know if those details help at all. I have tried and tried again to reset my file attributes but like I mentioned above, they just don’t seem to stay that way, despite the FTP server telling me the change was “successful” :(
Thanks again for any light you may be able to shed on this!
Hi kmj
I have just had another look at your site. I believe the issue is being caused by the pixel size of the images you are uploading. I have just successfully uploaded an image file which does display (you can safely delete the picture of my cat.)
The issue is not the file size but the image size. hHgher resolution images take longer to process once uploaded and you are exceeding the max execution time which is set in your php.ini as 30 seconds. If you change this to 45 or 60 seconds you should be able to upload properly.
Let us know how you get on
Magus
Hi there,
Thanks for the tip! Nice cat, by the way ;)
Unfortunately I have spend 2 hours trying to find/edit my php.ini file.
I found it in the wp-admin folder, watched numerous tutorials how to insert/change the code, but then when I open the file, it is blank (!) I started to write the correct code, then chickened out when it asked me if I wanted to continue editing and delete the original file. I selected to revert to the old file, then saw “fatal error” in red on my ftp server before it fixed itself. Phew.
Soooo: I guess I will just content myself with lowering the image sizes of my photos, unless there is an easier way to change the php.ini. I did look into via ht.access but none of the code in it seemed to address the max execution time so I didn’t dare touch it.
Again thanks for all your help Magus!!!
Hi kjm
Create a new blank php.ini file and just add the entries required. This should then be uploaded to the site root. You should not have a copy in your wp-admin folder at all.
Magus
Ok, I’ll try that, Thanks.
Should I write something like this?
max_execution_time = 60
Oops! Didn’t show up:
Hi kmj
Almost. the content should be
Magus
Thanks Magus- you can mark this as resolved for other users.
For my part I am just going to limit the image size for my files. I can’t seem to find a text editor on mac that allows me to save my files as .ini and am just not pro enough to use other programs. But I walk away very happy to have fixed my initial problem inasmuch as I can now upload files again.
Thanks so much for your time!
Hi Kmj
You are welcome. If you need any more help, don’t hesitate to start a new thread.
Magus