Ticket #5077 (closed defect (bug): fixed)
"Browse" interface in "Upload" broken
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.3.1 |
| Component: | Administration | Version: | 2.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I just upgraded to 2.3, and it's working well over all. I just ran into this problem when I click "Browse all" under the "Upload" section on a Write page:
Warning: filesize() [function.filesize]: stat failed for /home/omadades/public_html/mattwiebe/wp-content/uploads/2007/09/eyeoftheworld.jpg in /home/mattwieb/public_html/wp-admin/includes/upload.php on line 42
This appears next to a full-size image truncated into a thumbnail-sized area, for every image uploaded prior to the 2.3 upgrade.
I tried uploading a new image, and everything works properly there.
Attachments
Change History
comment:2
in reply to:
↑ description
;
follow-up:
↓ 3
bl968 — 4 years ago
Replying to mattwiebe:
I just upgraded to 2.3, and it's working well over all. I just ran into this problem when I click "Browse all" under the "Upload" section on a Write page:
I was unable to duplicate this with either IE or firefox. I have 110 pages of pictures all uploaded before the upgade to 2.3 and works perfectly with both browsers. So need more information to duplicate.
You should try disabling all plugins and then see if the problem still exists. If it doesn't try activating the plugins one at a time, and checking to see if the problem reoccurs before activating the next plugin. That should help you identify the culprit.
Replying to bl968:
I was unable to duplicate this with either IE or firefox. I have 110 pages of pictures all uploaded before the upgade to 2.3 and works perfectly with both browsers. So need more information to duplicate.
You should try disabling all plugins and then see if the problem still exists. If it doesn't try activating the plugins one at a time, and checking to see if the problem reoccurs before activating the next plugin. That should help you identify the culprit.
I have this problem aswell. My guess is that the problem is in the path to the files...
Warning: filesize() [function.filesize]: stat failed for /home/omadades/public_html/mattwiebe/wp-content/uploads/2007/09/eyeoftheworld.jpg in /home/mattwieb/public_html/wp-admin/includes/upload.php on line 42
My problem is starting from the day I changed web host, and thereby also got a new home directory.
Replying to gate303:
Replying to bl968:
I was unable to duplicate this with either IE or firefox. I have 110 pages of pictures all uploaded before the upgade to 2.3 and works perfectly with both browsers. So need more information to duplicate.
You should try disabling all plugins and then see if the problem still exists. If it doesn't try activating the plugins one at a time, and checking to see if the problem reoccurs before activating the next plugin. That should help you identify the culprit.
I have this problem aswell. My guess is that the problem is in the path to the files...
Warning: filesize() [function.filesize]: stat failed for /home/omadades/public_html/mattwiebe/wp-content/uploads/2007/09/eyeoftheworld.jpg in /home/mattwieb/public_html/wp-admin/includes/upload.php on line 42
My problem is starting from the day I changed web host, and thereby also got a new home directory.
Check your upload path in /wp-admin/options-misc.php it should say wp-content/uploads
I have the same issue. I upgraded to 2.3 and now on some files I am getting
Warning: filesize(): SAFE MODE Restriction in effect. The script whose uid is 1236 is not allowed to access /srv owned by uid 0 in /var/www/web216/html/internal/wp-admin/includes/upload.php on line 42
whereas other files are listed with their file size. I checked, all files are in the same directory, have the same permissions 666 and owner.
Replying to bl968:
Replying to gate303:
I have this problem aswell. My guess is that the problem is in the path to the files...
Warning: filesize() [function.filesize]: stat failed for /home/omadades/public_html/mattwiebe/wp-content/uploads/2007/09/eyeoftheworld.jpg in /home/mattwieb/public_html/wp-admin/includes/upload.php on line 42
My problem is starting from the day I changed web host, and thereby also got a new home directory.
Check your upload path in /wp-admin/options-misc.php it should say wp-content/uploads
It does say so. If you read my description again you probably notice that all my uploads before I changed host breaks. All uploads made after the change of host works just fine.
The error is caused by the meta_value value in the table wp_postmeta.
- Priority changed from normal to high
mattwiebe
thank you for generating this ticket.
I'm having the same issue with my 2.3 upgrade.
Theo
I did change my hosting package around while upgrading to 2.3
It appears that the problem is that the browse function is tying itself absolutely to the filesystem on the server rather than relatively to the WP install. Or something like that.
comment:11
ryan — 4 years ago
- Status changed from new to closed
- Resolution set to fixed
comment:12
ryan — 4 years ago
Fix for trunk went in on [6189]

