Hi

i would test this module but on my dev server no image displayed, just this text :

sites/all/media/nivo_slider/2011/06/Hiver.jpg" alt="<a href="/drupal6/content/image-test-1-nivo-slider">Image test 1 nivo slider</a>" title="<a href="/drupal6/content/image-test-1-nivo-slider">Image test 1 nivo slider</a>" class="imagecache imagecache-nivo_slider_FOCUS" /> " alt="<a href="/drupal6/content/image-test-2-nivo-slider">Image test 2 nivo slider</a>" title="<a href="/drupal6/content/image-test-2-nivo-slider">Image test 2 nivo slider</a>" class="imagecache imagecache-nivo_slider_FOCUS" /> " alt="<a href="/drupal6/content/image-test-3-nivo-slider">Image test 3 nivo slider</a>" title="<a href="/drupal6/content/image-test-3-nivo-slider">Image test 3 nivo slider</a>" class="imagecache imagecache-nivo_slider_FOCUS" />

so , i'm using php 5.3 , views 3.0 dev on lamp ubuntu 10.04.
is it a permissions trouble ? an incompatibility with php ? what else ?

in reports i've this message too for imagecache which is used to resize images with imagefield focus module. :

404: Unable to find sites/all/media/<a href= 

thanks for help

Comments

aiphes’s picture

ok i fix my issue but, it's good to know what was the problem.In fact, i was testing another module : http://drupal.org/project/imagefield_focus ; and this no let me able to display image with the IC profile , so if i use a classic IC profile nivo slider works, but if i use an Focus IC profile, only a patch file is displayed...

aiphes’s picture

Status: Active » Fixed

permission server miss-set...so IC couldnt create profile ...

aiphes’s picture

Status: Fixed » Needs work

argghh ...i'm on another lamp server (migrate website from other ubuntu), and after configurate all permissions, IC can create the profile folder but it seem cant create images on demand...
on my original server (IC works ) :


drwxrwxrwx 9 frederic www-data    4096 2011-02-23 15:52 imagecache
-rwxrwxr-x 1 frederic www-data   25329 2011-02-09 13:48 imagecache_sample.png
drwxrwxr-x 7 frederic www-data    4096 2011-02-23 16:55 imagefield_thumbs
drwxr-xr-x 3 www-data www-data    4096 2011-02-22 11:36 imagefield_thumbssites
drwxrwxr-x 3 frederic www-data    4096 2011-02-01 09:09 images
drwxrwxr-x 2 frederic www-data    4096 2011-02-22 15:59 languages
drwxrwxr-x 3 frederic www-data    4096 2011-02-10 15:17 nivo_slider

and temp folder


drwxrwxr-x 14 frederic www-data   4096 2011-02-23 16:55 media
drwxrwxr-x 45 frederic www-data   4096 2011-02-22 16:10 modules
-rwxrwxr-x  1 frederic www-data    368 2006-12-23 16:35 README.txt
drwxrwxr-x  2 www-data www-data 102400 2011-02-24 12:31 temp
drwxrwxr-x  6 frederic www-data   4096 2011-02-10 09:31 themes

on my 2nd server (IC doesnt works):


drwxrwxrwx 3 webmaster www-data    4096 2011-02-24 15:55 imagecache
-rwxrwxrwx 1 webmaster www-data   25329 2011-02-09 13:48 imagecache_sample.png
drwxrwxrwx 7 webmaster www-data    4096 2011-02-23 16:55 imagefield_thumbs
drwxrwxrwx 3 webmaster www-data    4096 2011-02-22 11:36 imagefield_thumbssites
drwxrwxrwx 3 webmaster www-data    4096 2011-02-01 09:09 images
drwxrwxrwx 2 webmaster www-data    4096 2011-02-22 15:59 languages
drwxrwxrwx 3 webmaster www-data    4096 2011-02-10 15:17 nivo_slider

and my temp folder :

drwxrwxrwx 14 webmaster www-data  4096 2011-02-24 15:31 media
drwxrwxr-x 47 webmaster www-data  4096 2011-02-24 13:57 modules
-rwxrwxr-x  1 webmaster www-data   368 2011-02-23 11:12 README.txt
drwxrwxr-x  2 www-data  www-data 20480 2011-02-24 15:48 temp
drwxrwxr-x  6 webmaster www-data  4096 2011-02-10 09:31 themes

i dont know what to think about, i've reinstalled completely IC on the new server...nothing has changed

if someone could explain to me the bug...

thanks

aiphes’s picture

Title: No image displayed...nivo issue ? » No image displayed, hard to create profile folder , permissions issue
Project: Views Nivo Slider » ImageCache
Version: 6.x-2.0 » 6.x-2.0-beta9
Status: Needs work » Active
Issue tags: +server permissions lamp ubuntu profile folder
aiphes’s picture

same issue on the first server now, whan i choose the imagefiled for row style nivo slider in views, the fist message appear, path to images...404 in log...but profile folder is well created, its after that is not good :(

Anonymous’s picture

Hmmmm - check your Imagecache settings under Administer > Site building > Modules and make sure that either ImageAPI GD2 or ImageAPI ImageMagick is enabled.

If they are enabled, make sure that GD or ImageMagick is configured properly on the Ubuntu server for PHP. If you aren't sure how to check, phpinfo should give you an indication.

http://php.net/manual/en/function.phpinfo.php

If that doesn't work, let me know.

Cheers,
Darren

aiphes’s picture

for the laptop server, ImageAPI GD2 is enabled and this is the extract from phpinfo :

gd

GD Support	enabled
GD Version	2.0 or higher
FreeType Support	enabled
FreeType Linkage	with freetype
FreeType Version	2.3.9
T1Lib Support	enabled
GIF Read Support	enabled
GIF Create Support	enabled
JPG Support	enabled
PNG Support	enabled
WBMP Support	enabled

on the laptop image are displayed but no IC profile applied .
tomorrow i'll post here the same infos for my desktop server.

Anonymous’s picture

A couple of things:

Are the images being created under the imagecache preset folders? If not, then it's sounds like a problem with Imagecache.

If the images are being created, then check the Image setting under the Fields section - make sure that the Label is set to Widget label (Image) and that the Format is set to the correct Image preset.

Let me know how things go (although I'll be heading to bed in a few minutes).

Cheers,
Darren

aiphes’s picture

so on both servers GD presets are the same.
On the laptop server, original one, images were created in older profiles, but not in new created ones...
I still have 404 on imagecache in drupal log...so i think its a linux permissions issue...but these are the actual settings :


drwxrwxr-x 4 www-data www-data 4096 2011-02-23 15:51 image_originale
drwxrwxr-x 2 www-data www-data 4096 2011-02-25 11:12 LLaptop-deco-165x350
drwxrwxr-x 3 www-data www-data 4096 2011-02-25 11:11 LLaptop-nivoHP-500x350
drwxrwxr-x 2 www-data www-data 4096 2011-02-18 11:34 nivo_slider_FOCUS

in addition, if i rename imagecache profile this is create new folder...and no delete the older..
perhaps i do to have a rwx instead of a r-x for all ? perhaps a link to Fielfield ( http://drupal.org/node/823766#comment-3303154) ?
other strange thing, that images or slideshow works for anonymous but not for connected, even if it's the administrator..
actually i try laptop go work...

thanks

aiphes’s picture

last try, on laptop; i've recreated the preset and now images are well added in the folder created into the preset folder...but i discovered that safari, opera and chrome have bugs on upload with filefield, as i use these...on opera i had an error message , on srware , all works, yesterday didnt...

Anonymous’s picture

Yikes - sounds like you've had some fun over the past few days.

From your message it sounds as though Views Nivo Slider is now working properly (after fixing permissions etc)?

aiphes’s picture

after fixing permission and recreate IC presets...so i'll do the same on the desktop

Anonymous’s picture

I've experienced similar issues a couple of times with other modules only to find out that the problem was related to Imagecache permissions or even the Imagecache GD option not being enabled.

aiphes’s picture


Posted by ziomizar on March 9, 2011 at 3:24pm

Hi aiphes,

Seems that your path is wrong (Unable to find sites/all/media/ a href=).

Maybe the original image was not uploaded correctly and then imagecache is not able to create the thumb.

Are you using filefield with imagefield or are you using other modules?

yes i'm using fielfield + imagefield; and i use view to display image with applying IC profile..you'll see there is a browser issue too...actually i experience a new message 404

404: Unable to find sites/all/media/Field image vide

all on a dev site ubuntu...

aiphes’s picture

i've the issue with images and IC preset that works good, but if i want o use them in view nivo slider, images are on 404...enable to find...so i think the problem come from nivo slider..because images and preset works all around

fizk’s picture

Status: Active » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.