404 when loading from folder with slideshow params

404 when loading from folder with slideshow params was created by dustin5

Posted 11 years 2 weeks ago #9999
Hello.

My slideshow is not loading and I'm getting a 404 when using slideshow and params when trying to load a series of photos from a folder. I just get the "loading" spinning gif and pagination dots. The module works as expected if I load images from the slides manager instead of a folder.

Here's the error from firebug:
Code:
"NetworkError: 404 Not Found - http://www.sitename.edu/j2extensions/https://www.sitename.edu/j2extensions/images/import-folder/DSC_0007-1.jpg?1365187349156"

This is the actual filename and it loads in a browser:
Code:
https://www.sitename.edu/j2extensions/images/import-folder/DSC_0007-1.jpg

Strangely, this url also loads, but I don't know what those extra numbers are there at the end.
Code:
https://www.sitename.edu/j2extensions/images/import-folder/DSC_0007-1.jpg?1365187349156

This are the paths I've tried to use in params with and without leading and trailing slashes:

/images/import-folder/
images/import-folder/
images/import-folder
/j2extensions/images/import-folder/
j2extensions/images/import-folder
and also the full path, but it didn't like that at all.

It appears that slideshow params is just appending the root path twice. Or something...

Oh, and my site is behind a firewall right now, so I can't send you a url. :blush:

Has anyone else seen this behavior?

Thanks,
Dustin
Last Edit:11 years 2 weeks ago by dustin5
Last edit: 11 years 2 weeks ago by dustin5. Reason: added fact I can't post url

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic 404 when loading from folder with slideshow params

Posted 11 years 1 week ago #10003
Hi
without url I can't help a lot
send me some screenshots to see where the errors appears, and how you have set up the path to the image
I imagine that the problem may be caused by the https protocol, not sure
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by dustin5 on topic 404 when loading from folder with slideshow params

Posted 11 years 1 week ago #10110
I've been able to reproduce the error consistently. Well, everywhere but Safari. It refuses to load the page via https at all. That may be a clue...

If I access the page via https, it works properly.
URL of first image:
Code:
https://sitename.edu/campusrecreation/images/stories/adv/DSC_0005-1.jpg

Via http, I get the 404 with the malformed address.
URL of first image:
Code:
http://sitename.edu/campusrecreation/https://sitename.edu/campusrecreation/images/stories/adv/DSC_0005-1.jpg?1365540160489

What kind of screenshots can I send you that might help?

Thanks,
Dusty
by dustin5

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic 404 when loading from folder with slideshow params

Posted 11 years 1 week ago #10115
ok
in fact the images are stored in absolute. Then if you navigate through different urls (http, https, www, non www, etc) the images are not loaded anymore
I have to work on this soon ...
Ced

Joomlack Webmaster and Developer

by ced1870
The following user(s) said Thank You: dustin5

Please Log in or Create an account to join the conversation.

Replied by dustin5 on topic 404 when loading from folder with slideshow params

Posted 11 years 1 week ago #10117
OK, thank you.

If you post an update to slideshow params, please let me know. I don't think it notifies via the Joomla update console because it's a plug-in. We really like/need the folder functionality.

Kind regards,
Dusty
by dustin5

Please Log in or Create an account to join the conversation.

Replied by TriMedia2 on topic 404 when loading from folder with slideshow params

Posted 11 years 1 week ago #10219
I'd like to offer up my experience with the plug-in as well in case it helps. After loading 7 galleries on 7 pages and over 50 images, I experienced a similar error that the images could not find the directory due to the absolute link. My issue happened when I took the site live from the test site at 198.1.68.180/~dmafloor/ to dmafloors.com

I managed to solve the problem within 1 hour by going directly into the database via PHPMyadmin. In the modules table, you will see SlideshowCK listed. Scroll down to parameters and find all references to the wrong address. I copied all of the code there, pasted into Dreamweaver (or similar program) so that I could "find and replace" without missing a random piece of code.

Then, I opened up the module in the administrator area and clicked "import" again to be sure it took. Perhaps we have a solution (although advanced) until the plug-in can be patched without absolute links.

If I may, I would like to offer up another suggestion as the plug-in is updated. Right now, when I import the images, I rearrange them manually. When I import them again (if I want to add another image), I need to rearrange the images manually again. It sure would be great if you could consider adding code to save the order and place the new images at the bottom. I do not know if this is even possible, but want to at least mention it.

Thanks,
Mary
The following user(s) said Thank You: dustin5

Please Log in or Create an account to join the conversation.

Time to create page: 0.703 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 940 guests and no members online