• I’ve just noticed that short codes for subfolder don’t seem to work if the subfolder name has a space in it.

    [lg_folder folder=”installations/testfolder” paging=”true”] <–works

    [lg_folder folder=”installations/test folder” paging=”true”] <— doesn’t work

    [lg_folder folder=”installations/test%20folder” paging=”true”] <— doesn’t work

    https://www.ads-software.com/extend/plugins/lazyest-gallery/

Viewing 14 replies - 1 through 14 (of 14 total)
  • strange,
    just tested on the lazyest site and it works quite fine.
    See: https://brimosoft.nl/2008/09/21/bug-in-subfolder-shortcodes/

    Thread Starter thoughton

    (@thoughton)

    Hmm, very strange, I wonder why it doesn’t work here. If I have a space in the folder name I get an error message that it cannot find the folder.

    For now I will just tell the user not to use spaces in subfolder names ??

    Would an example page be any use? Or a log or something?

    what other plugin do you use?
    BTW an underscore in a folder name will also display as a space. ??

    Thread Starter thoughton

    (@thoughton)

    All in One SEO
    Contact Form 7
    Custom Field Template
    Jquery Lightbox
    Member Access
    No Update Nag
    Page Links To
    Post Snippets
    Simple history
    Tubepress
    WP Download Monitor

    Thanks for the underscore info too.

    I couldn’t reproduce this error on our testserver.
    Do you use the WYSIWYG or the HTML editor?

    Thread Starter thoughton

    (@thoughton)

    I use both, but in this case I used the WYSIWYG editor to type in the shortcodes.

    Plugin Author Marcel Brinkkemper

    (@macbrink)

    Please check in the html editor if the code has changed.
    I have seen some errors where quotes were replaced by curly quotes.

    Thread Starter thoughton

    (@thoughton)

    I had a look again, but it all seems okay. No changes to the quote marks or anything else that I can see.

    If it’s useful the error message that appears on the published page is this:

    “Lazyest Gallery cannot access installations/test folder”

    Plugin Author Marcel Brinkkemper

    (@macbrink)

    Wild guess, but this error also appears when the folder contents is not readable.

    Thread Starter thoughton

    (@thoughton)

    I think it should be okay, it has the same contents as the readable folder.

    Oh well, nevermind, the users will just have to get used to not putting a space into a new folders they create.

    Thanks for looking into it!

    Plugin Author Marcel Brinkkemper

    (@macbrink)

    One last remark,
    If the error message is “Lazyest Gallery cannot access installations/test folder” (including the space), the shortcode is parsed correctly. It looks like there may be an access error after all.

    Thread Starter thoughton

    (@thoughton)

    That’s interesting. I originally only had one folder of images, which was uploaded via ftp. That seems to work fine, no problems displaying any of it.

    However I created the sub-folder ‘test folder’ using the Lazyiest Gallery interface, and moved images from the main ‘installations’ folder into the subfolder using the LG interface as well. Is it possible that LG can create the folder, and move files to it, but not be able to access it later?

    Plugin Author Marcel Brinkkemper

    (@macbrink)

    I can’t find anything in LG what could have caused this. I have tried on LAMP, WAMP, IIS, installed all your plugins, moved files in LG, FTP, cPanel and Windows, created ‘test folder’in LG and FTP, but it keeps working fine.
    It’s still puzzling me, so if you happen to find out why this happens, please leave a remark on the Lazyest web site https://brimosoft.nl/lazyest/gallery/
    Thanks

    Thread Starter thoughton

    (@thoughton)

    Thanks very much for looking into this. I will definitely report back if I find anything.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Lazyest Gallery] Bug in subfolder shortcodes’ is closed to new replies.