Active
Project:
SlideshowPro Integration
Version:
6.x-1.0-beta8
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2010 at 09:07 UTC
Updated:
29 Aug 2010 at 20:48 UTC
Why is it looking for this URL http://www.example.com/sites/default/files/slideshow/sites/default/files... ?
I attached a picture.
| Comment | File | Size | Author |
|---|---|---|---|
| ssp-bug.jpg | 93.64 KB | Adam S |
Comments
Comment #1
Adam S commentedI 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?
Comment #2
evanmcd commentedI'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.
Comment #3
Adam S commentedFirst, 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.
Comment #4
m.zerres commentedSame for me! The path to thumbs is ...sites/default/files/sites/default/files...
Which file did you edit to get rid of it?
Thx
Comment #5
Xel3 commentedThere 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.
Comment #6
skov commentedThumbnails 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
becomes