No picture show when private file system is set.

strangerman - January 9, 2009 - 08:43
Project:Slide Show CS
Version:6.x-2.3
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Already follow the instruction, but the block didn't show anything.
It only show "Loading.." text

Really need help....

AttachmentSize
Clipboard01.png21.83 KB

#1

davebv - January 10, 2009 - 11:50

Could you provide the javascript chunk in the section which says "jQuery.extend(Drupal.settings,......" So I can see what is really happening.

Thanks.

#2

davebv - January 12, 2009 - 08:40
Status:active» postponed (maintainer needs more info)

#3

strangerman - January 12, 2009 - 14:11

Sorry I completely newbie in the programming thing. Could you guide me, what is the exact files that contain those javascript ("jQuery.extend(Drupal.settings,......")? so I can show to you..?

#4

davebv - January 12, 2009 - 14:20

In the page you are seeing the "loading..." text, if you are using firefox, right button clic and press "view page source". Then, a window should pop up with the source.

There is a section almost on the top of the page, and there is a chunk that says "jQuery.extendt(..." etc.

Copy the whole line and post it here, so I can see te variables from the slideshowcs module.

#5

strangerman - January 13, 2009 - 02:38

Here they are...

jQuery.extend(Drupal.settings, { "basePath": "/", "extra_voting_forms": { "only_one_vote": 0, "login_page": "user/login", "base_path": "/" }, "NoBlocks": 1, "tabs": { "slide": true, "fade": true, "speed": "fast", "auto_height": false, "next_text": "next", "previous_text": "previous" }, "slideshowcs0": { "imagesCS": [ { "src": "http://www.gepembri.com/system/files/slideshow/4.jpg", "from": "0% 50% 0.8x", "to": "50% 0% 1x", "time": "6" }, { "src": "http://www.gepembri.com/system/files/slideshow/5.jpg", "from": "80% 50% 1.2x", "to": "60% 50% 0.9x", "time": "3" } ], "fade": "1" } });

looks like the path is wrong, should be "http://www.gepembri.com/sites/default/files/slideshow/5.jpg" as per I have assign in the configure section. So anything I can do?

#6

davebv - January 13, 2009 - 14:18

Thanks for posting it.

I suppose your filesystem is in sites/default/files/, right?

Could you post the settings for the page admin/settings/file-system (the file system path)

And also the settings for the slideshowcs block. (Most important path is the picture folder)

Then I will be able to "track" what is happening in your setup.

Thanks

#7

strangerman - January 13, 2009 - 14:59

Here they are....

AttachmentSize
file system.jpg 31.88 KB
slideshow config.jpg 43.13 KB

#8

Kevin10EC - January 14, 2009 - 10:08

I'm having the same exact problem . . . . Here is my source code:

<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "NoBlocks": 1, "spamspan": { "m": "spamspan", "u": "u", "d": "d", "t": "t" }, "thickbox": { "close": "Close", "next": "Next \x3e", "prev": "\x3c Prev", "esc_key": "or Esc Key", "next_close": "Next / Close on last", "image_count": "Image !current of !total", "derivative": "preview" }, "ssc": { "1": { "timeout": 2000, "speed": 1000, "pause": true, "next": "#ssc-next-1", "prev": "#ssc-previous-1" } }, "slideshowcs0": { "imagesCS": [ { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_appreciation.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" }, { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_award.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" }, { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_birth.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" }, { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_birthday.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" }, { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_christmas.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" } ], "fade": "1" } });
//--><!]]>

#9

davebv - January 14, 2009 - 12:42

Aha, I see strangerman, you have a private file system, right? (I will look into this... to find a solution)

Kevin10EC, do you have also a private file system?

#10

Kevin10EC - January 14, 2009 - 17:42

No, actually I have a public file system. Here are my settings:

File system path: sites/default/files

Temporary directory: /tmp

Download method: Public - files are available using HTTP directly.

I did notice in the source code a path that included " . . . /files/files/ . . . " That looks strange.

--Kevin

#11

Kevin10EC - January 15, 2009 - 03:28

PROBLEM SOLVED . . .

We discovered that the path in our "Pictures folder" field was wrong. We had thought that all we needed to specify was the portion beyond the "default" path.

So, the path we had (wrongly) specified was: /files/slideshow

The path we should have specified was: sites/default/files/slideshow

Now, it works just fine. Thanks for helping us examine and re-examine things.

Kevin

#12

davebv - January 15, 2009 - 09:44
Title:No picture show» No picture show when private file system is set.

Ok! glad it worked. I am rewriting the way the path is taken so as to make it more clear and easier to set up.

#13

c4gamerz - January 24, 2009 - 17:23

same problem here. I am using private download method.

<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "dhtmlMenu": { "slide": "slide", "siblings": "siblings", "relativity": "relativity", "children": "children", "doubleclick": "doubleclick", "clone": 0 }, "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip|ram" }, "NoBlocks": 1, "slideshowcs0": { "imagesCS": [ { "src": "http://islamicdatabase.org/system/files/slideshowcs/01_picture.png", "from": "0% 0% 1x", "to": "0% 0% 1x", "time": "4" }, { "src": "http://islamicdatabase.org/system/files/slideshowcs/02_picture.png", "from": "0% 0% 1x", "to": "0% 0% 1x", "time": "2" }, { "src": "http://islamicdatabase.org/system/files/slideshowcs/03_picture.png", "from": "0% 0% 1x", "to": "0% 0% 1x", "time": "2" } ], "fade": "1" } });
//--><!]]>
</script>

Waiting for new version!!

Thanks a lot for developing a wonderful module :)

#14

Kevin10EC - February 2, 2009 - 11:49
Status:postponed (maintainer needs more info)» closed
 
 

Drupal is a registered trademark of Dries Buytaert.