Page 1 of 1

Adding media from media library

Posted: Mon Apr 30, 2012 3:33 pm
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!

Re: Adding media from media library

Posted: Mon Apr 30, 2012 7:28 pm
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

Re: Adding media from media library

Posted: Fri May 04, 2012 3:08 pm
by kolterj
Thanks for your help! The hosting company had changed the php version on the server. It is fixed now.