Why is it looking for this URL http://www.example.com/sites/default/files/slideshow/sites/default/files... ?

I attached a picture.

CommentFileSizeAuthor
ssp-bug.jpg93.64 KBAdam S

Comments

Adam S’s picture

I did a horrible job of hiding my URL :) not that it matters.

EDIT:
I changed global $base_path to $base_path = 'http://mysite/drupal/' and things are fine. Is this something I should be worried about at this point? Should have something configured in defaults.php or .htacess?

evanmcd’s picture

I'm having the same trouble, but can't for the life of me figure out how to change $base_path. is it cause I'm a bit of a newbie, or....?

Thx.

Adam S’s picture

First, get your hands on a good text editor. For windows I use Notepad++. You will need to use the text editor replace function.

FIND: 'global $base_path'
REPLACE: '$base_path = http://mywebsitename.com/thefolderthatistherootofdrupal'

Try replacing $base_path with $base_url because this isn't really good solution it's just a hack. because it's not dynamic.

m.zerres’s picture

Same for me! The path to thumbs is ...sites/default/files/sites/default/files...
Which file did you edit to get rid of it?

Thx

Xel3’s picture

There is a much simpler & easier fix.

http://drupal.org/node/750220

adamsohn - March 30, 2010 - 03:42
You can just put the .swf file in the root directory and configure it to /slideshowpro.swf

Thumbnails will show up once you've done this.

skov’s picture

Thumbnails are not displayed properly because URLs are incorrectly formed in the images.xml file. They are referenced as relative (i.e. tn="sites/default/files/imagecache/ssp_thumbnail/slideshow/images/[the image].jpg") but should be absolute (i.e. tn="/sites/default/files/imagecache/ssp_thumbnail/slideshow/images/[the image].jpg")

This is corrected by appending $base_path to $album_thumb and $thumbnail on lines 112, 119, 137, 146 of ssp.module

$album_thumb = ssp_imagecache_generate('ssp_thumbnail', $images[0]['filepath'], TRUE);
$thumbnail = ssp_imagecache_generate('ssp_thumbnail', $image['filepath'], TRUE);

becomes

$album_thumb = $base_path . ssp_imagecache_generate('ssp_thumbnail', $images[0]['filepath'], TRUE);
$thumbnail = $base_path . ssp_imagecache_generate('ssp_thumbnail', $image['filepath'], TRUE);