Adding media from media library

Found a bug? Tell us!!
Post Reply
kolterj
Posts: 2
Joined: Mon Apr 30, 2012 3:16 pm

Adding media from media library

Post by kolterj »

I can insert a photo from the media library entry but when i save it the media is replaced by a square icon with a jagged line through it and the photo is gone. This happens with internet explorer and firefox. It happens on two website using serendipity 1.4.1 and 1.1.2 respectively. Both us PHP 5.2.17. It just started to happen on 4/28 or 4/29. please help as we cannot add any media to our blogs. thanks!
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Adding media from media library

Post by yellowled »

kolterj wrote:I can insert a photo from the media library entry but when i save it the media is replaced by a square icon with a jagged line through it and the photo is gone.
Do you get that square icon in the backend (i.e. in the media db), in the frontend (i.e. in your entries/static pages) or both? Do you get any error messages when saving the media?

Can you check the permissions for the uploads/ directory and its contents? Are the files readable for the web server user (usually "www-data" or something similar)?
kolterj wrote:It happens on two website using serendipity 1.4.1 and 1.1.2 respectively.
Just as a side note: You should update both installations to the current version 1.6. However, that's not very likely to solve the issue at hand.
kolterj wrote:It just started to happen on 4/28 or 4/29.
Are you aware of any changes made to the server or web space in that time? Sometimes web hosters switch the PHP version or something else on the server and change permissions while doing so.

YL
kolterj
Posts: 2
Joined: Mon Apr 30, 2012 3:16 pm

Re: Adding media from media library

Post by kolterj »

Thanks for your help! The hosting company had changed the php version on the server. It is fixed now.
Post Reply