Problems with Media Library / Inserting images [SOLVED]

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Problems with Media Library / Inserting images [SOLVED]

Post by Linus »

Hi!
I've got weird problems after uploading serendipity to my provider.
First off, I'm not able to insert images in entries or static-pages. When I select media-library the popup for images-selection comes up, after selecting the image and doing the layout stuff I can't commit :(
Going back to image-selection works but Done won't work.
The method the form calls is serendipity_imageSelector_done(). After grepping I found it in serendipity_editor.js. File size is the same as here and I've changed the permissions to 777 on provider-side..
... I got no clue why it won't work... aah javascript is enabled too ;)

Another problem I've got is that serendipity won't update/create Thumbs on new uploaded images. Adding images to the library manually (with serendipity) works but when I upload images via ftp and choose update library from admin-menu no thumbs are created.... is there a limit??

Puuh long post :)
Thanks in advance Andi
Last edited by Linus on Thu Apr 06, 2006 7:07 pm, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problems with Media Library / Inserting images

Post by garvinhicking »

Hi!

You should try to use firefox and see if you get any javascript error? Are you using any WYSIWYG editor?

When you upload the images via FTP, the synchronizing should indeed happen. Are your files readable for the webserver and did you put them into the base upload/ directory?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

Hi Garvin!
Hmm inserting images works again - but don't ask why ;)

Theres no sync after uploading new images. I've chmodded them to 777 including all the folders in uploads.
The path to my pictures is:
uploads/Bilder/2006/folder/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

If you upload files via FTP inside your uploads/ main folder, does it then also not work?

Best regards,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

Hi!
I´ve uploaded a picture via ftp to the base folder (uploads) and chmodded 777.
After selecting rebuild thumbs it doesn´t work either.
Output is only syncronise...
I´ve got a subfolder videos with some avis in it and after clicking rebuild thumbs for a second time serendipity said new/editet file found and comes up with only all avis but did not recognise the jpg :(
Greetings Andi
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Which s9y version are you using? Can you give me a URL to a file that is not recognized? Then I could try to reproduce it.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

Allright,
I´m using serendipity 0.9.1
heres the link to an image which won´t be thumbnailed or even put in db
http://www.feudene.de/uploads/tuxconcert.jpg
By syncronising db and creating thumbs serendipity stops...
Output:
Synchronisiere Datenbank mit Bilder-Ordner
Normally there should be a line 0 Pictures updated or something like that...
Maybe over 2.500 entries in _images are too much to handle...
I´ve got another question:
How can I translate the calender? Sun->So Tue-Die...?
Greetz Andi
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Oh, okay. I think your issue has been fixed in the 1.0 versions, can you please try them?

The calendar can be translated if your provider installs the Locale on the server for your language (like de_DE)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Oh, okay. I think your issue has been fixed in the 1.0 versions, can you please try them?

The calendar can be translated if your provider installs the Locale on the server for your language (like de_DE)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

ooh :) thats fine - I will try that - Thanks a lot
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

ok updated to 1.0 beta 2 but I still get no thumbs :(
upgrading was kind of easy but now my old problem with inserting images (see above) is back again...
I've got following error in java-script-console:
Fehler: self.opener.serendipity_imageSelector_addToBody is not a function
Quelldatei: http://www.feudene.de/serendipity_admin ... mage]=2622
Zeile: 120
Autsch...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You might need to clear your browser's cache to reload the serendipity_Editor.js file? Are you using any WYSIWYG editor? Maybe not the bundled one? This could be a cause for problems.

About your thumb problem, I'm now a bit confused. Since I will do work on the media gallery tomorrow, I'll check how that works. We improved many things on Media synchronization in the 1.1 version; would you be interested to testdrive that installation? You don't need to put it as your main system, but just install it parallel on your host and test if it works there?

Many thanks,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

Hi Garvin,
I've got wrong permissions set on the editor.js :(

After upgrading I've noticed that my Feeds won't work anymore...
Always get this syntax-error:
Zeile Nr. 1, Spalte 1:Invalid RSS version specified

Yes I gonna install 1.1 @home an check if the error still occurs...

Thanks a lot
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Do you have a URL to your RSS feed that doesn't work any more? Because http://www.andiblockiersystem.de/rss.php still shows version 0.9.1, so I guess you used a different URL for trying...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

Yes the rss-feeds on my personal site are working fine (0.91)
Its on my new project...
http://www.feudene.de/index.php?/feeds/index.rss2
http://www.feudene.de/index.php?/feeds/atom10.xml
all the same :(
maybe its a problem with some permissions too?
Post Reply