Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter robscott

    (@robscott)

    Would roll this one back to the previous (1.1) version, though since I’ve implemented code changes, and this seems to be a bug with the plugin (I think) thought I’d leave it up for an hour or two and see if we could get a fix – the new version seems to have a lot of good fixes, so will help to make it better ??

    Plugin Author Tribulant Software

    (@contrid)

    Thank you for your posts.

    There is one major problem causing this, your TimThumb file cannot load the images. https://screencast.com/t/QlY9tXQhpbn

    This is the reason: https://entwistles.net/wp-content/plugins/slideshow-gallery/vendors/timthumb.php?src=/homepages/27/d380802910/htdocs/wp-content/uploads/2012/04/barbola-close2.jpg&w=100&h=75&q=100&a=t

    Either the images don’t exist or the permissions on your slideshow-gallery/vendors/timthumb.php file is incorrect or your hosting is blocking this file. Can you ask your hosting provider about the permissions and the access? Show them the URL above please.

    All the best, Antonie

    Hi,

    Yesterday downloaded and installed v.1.2. It doesn’t seem to work at all.

    What I’ve done:

    1. Installed and activated plugin (wp 3.3.1)
    2. Settings default
    3. Created a post and uploaded five pics via the Upload/Insert button( https://visc.me/slideshow-test/ ), post_id=2752
    4. Inserted a tag via the plugin button in the editor [slideshow post_id=”2752″]
    5. Published the post
    6. Result: blank space

    Uncaught SyntaxError: Unexpected token ILLEGAL
    [jquery.form] terminating; zero elements found by selector

    Screenshots:
    https://visc.me/wp-content/uploads/2012/06/fix-slideshow-1.jpg
    https://visc.me/wp-content/uploads/2012/06/fix-slideshow-2.jpg

    Can you locate the problem?

    Thank you!

    Thread Starter robscott

    (@robscott)

    @antonie Potgieter

    The images do exist.

    Which permissions do I need to change to get TimThumb.php working? Have tried the directory the images are in, and the TimThumb.php file itself, to no avail.

    Thread Starter robscott

    (@robscott)

    Sorry, I just went and had another look at this, and now I know what the problem is.

    TimThumb is calling up a file that (on a shared host) it isn’t allowed to access – its “above” the file system of this client’s site.

    We should be using “Web root” (“https://…”) instead of Doc root (“/homepages/27/d380802910/htdocs/…”) for this, which will require some tinkering in some files.

    You may want to change this setup in the plugin itself – I’d imagine a lot of people on shared hosting will run into this issue?

    On our server, this isn’t an issue – on this site (which I manage for a friend on shared hosting) it is – hence I couldn’t recreate elsewhere!

    Otherwise, could you point me in the right direction of the files I’d want to change to swap doc root for web root and “allow external” in TimThumb.php (if you know the answer). I will otherwise just do it and post the answer up here later for all to see (and you to add – or not – as you see fit).

    Thread Starter robscott

    (@robscott)

    Okay, I have narrowed this down a little.

    The following link doesn’t work – will never work on this shared hosting setup:

    https://entwistles.net/wp-content/plugins/slideshow-gallery/vendors/timthumb.php?src=/homepages/27/d380802910/htdocs/wp-content/uploads/2012/04/barbola-close2.jpg&w=100&h=75&q=100&a=t

    However, the following does work:

    https://entwistles.net/wp-content/plugins/slideshow-gallery/vendors/timthumb.php?src=/wp-content/uploads/2012/04/barbola-close2.jpg&w=100&h=75&q=100&a=t

    How do I change the plugin to ask for the latter, rather than the former?

    At first I also thought it was broken, but that was me working on the wrong file. Oops… Now I have got it fully functional.
    The hardcode mentioned on your website plugin-page is still the old one!
    I also had to setup the configuration again. Thumbnails kept showing up, even though I put them to “No”. Resetting to default and then adjusting them to your own helped a lot.

    Plugin Author Tribulant Software

    (@contrid)

    @ DigiBij,

    Thank you for posting this, I’m sure it will prove helpful to many.

    Will you please mark the plugin as “Works” as well if you’re satisfied with it? Seems that www.remarpro.com is listing it as broken due to all the submissions that it is broken.

    All the best,
    Antonie

    Thread Starter robscott

    (@robscott)

    Okay, since the issue is with TimThumb.php, and I can’t (from half an hours tinkering) find where I would change the file location that TimThumb.php uses in the plugin’s files, I’ve simply removed the resizing and thumbnailing features.

    We would like to get them back, so a workaround would be appreciated! All we need to do is have TimThumb.php use a relative URL rather than the full docroot when calling the image. Just need to know where to alter that setting.

    But we have slideshows working now at least, which is good.

    You really should change the “hard embed code” as it means the slideshow disappears upon upgrade, which is why people click “broken” – because their slideshow “breaks” when they upgrade. Just a message in the plugin’s info in the manage plugins menu would be sufficient (“Note, after upgrading your plugin to 1.2, you should change your hard code php to…”).

    My solution is not a fix – it is a workaround- the solution lies with using TimThumb slightly differently. For us. Probably others on shared hosting will experience similar issues.

    Thread Starter robscott

    (@robscott)

    Hold on – in what way is this problem resolved?

    Plugin Author Tribulant Software

    (@contrid)

    @robscott,

    We have committed/uploaded v1.2.1 with absolute URLs starting with https:// to fix the TimThumb issue you’ve had due to permissions. Please let me know if this solves your problem.

    All the best,
    Antonie

    Thread Starter robscott

    (@robscott)

    Hi Antonie,

    Works perfectly for resizing the main picture – just not the thumbnails (which are still (not) loading from docroot):

    e.g. https://entwistles.net/meredew-wardrobe-and-dressing-table/

    But the fix works!

    If this alters for thumbnails, will be cooking on gas.

    Thanks for the update.

    Rob

    Plugin Author Tribulant Software

    (@contrid)

    @robscott,

    To fix the thumbnails as well, please replace “slideshow-gallery/views/default/gallery.php” with the following contents: https://svn.wp-plugins.org/slideshow-gallery/trunk/views/default/gallery.php

    All the best,
    Antonie

    Thread Starter robscott

    (@robscott)

    Done and fixed!

    See it work @ https://entwistles.net/glass-and-chrome-nest-of-tables/

    Thanks for this Antonie – will pop a brief post up on our corporate website saying how awesome you are later today ??

    Seriously, thanks for responding – I know it can be a pain when providing plugins for free when you get “complaints” like this, so thanks for sorting it out.

    Rob

    Plugin Author Tribulant Software

    (@contrid)

    @robscott,

    Thank you for posting back!

    I’m glad to hear that it is fixed and working now ??

    Please vote for the plugin as “Works” and give it a rating accordingly. We appreciate it very much. Seems it is currently listed as broken and is not good.

    Thank you for mentioning us. When you do, please pass us a link either here or in our help desk https://tribulant.com/support/ then we can tweet it as well.

    All the best,
    Antonie

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘[Plugin: Slideshow Gallery] Broken’ is closed to new replies.