• Resolved SFrueh

    (@sfrueh)


    [Newest WP version, newest NG version, twenty-eleven theme]

    Hi NextGEN support,

    an old, severe problem is back again.

    Introduction

    NextGEN knows two ways of creating a new gallery.

    A) The “two-in-one” way
    Using the “add gallery / pictures” function to create a new gallery and upload pictures into it at the same time.

    B) The “long way”
    Use “manage galleries” -> “add new gallery” to create the empty gallery. Then upload pictures via “add gallery / pictures” in a second step.

    The problem I had a few years ago

    A few years ago, the plugin just did not create galleries anymore if their names had already been used before. Normally it had never been a problem for NextGEN. If you had a gallery “example” and created other galleries “example”, the plugin created the folders on the FTP-server like this:

    example
    example-1
    example-2
    example-3

    It functioned very well. As part of an album, the “example-1” or “-2” or “-3” gallery would just have the title “example”. Just like it was supposed to be.

    So a few years ago the plugin just DID NOT create the -1, -2 and so on gallery anymore. If I wanted to create a second gallery with the same name, it just did not do it.

    I posted the problem in this forum back then. There was no really solution, but I found out that the problem ocurred only when using the “two-in-one” way (see Introduction point A). So a few years ago I just started to create my galleries with the “long way” (see Introduction point B) to bypass the problem.

    So what is new now??

    Since the latest NextGEN update, the problem ocurres both with method A and method B of creating new galleries. I can not bypass the problem anymore by going “the long way” (B), because now creating galleries with already existing names does just not work on BOTH ways of creating a gallery anymore.

    The only way to bypass it now is very long, complicated and error-prone.

    1.
    Log into FTP server and check how many galleries with the name you need. If you have already “example-4” you know you need the folder “example-5”
    2.
    create a gallery with a unique name like “XXXXXXXX”
    3.
    Edit this gallery in the “manage galleries” section. Manually set the gallery title from “XXXXXXXX” to “example” and the gallery path to “wp-content/gallery/example-5/”
    4.
    Manually delete the empty “XXXXXXXX” folder you don’t need from the FTP server

    You see that this kind of bypass is very complicated. So this time a true solution for the problem would be appreciated. Our website is a music magazine. We publish galleries of the same bands often so we often need the same gallery names again.

    The complicated bypass I have to do now multiplies the time we need to publish galleries. If it stays this way it would be catastrophic for us :-/

    Greetings,

    NextGEN-user for six years SFrueh

    • This topic was modified 5 years, 7 months ago by SFrueh.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @sfrueh

    Thank you so much for taking the time to write this detailed explanation.
    We want to take a closer look at this particular issue with same name folders. We may need to deactivate plugins and switch the theme while troubleshooting temporarily. Would you feel OK with that? If so, please send us a bug report here: https://www.imagely.com/report-bug, refer back to this forum thread and let them know Gaby referred you.

    Again, many thanks! We do appreciate this feedback from the WordPress community.

    Thread Starter SFrueh

    (@sfrueh)

    Hi @gabyimagely ,

    I have just filled out the bug report.

    Meanwhile I have tested a lot and can now precisely enclose the problem. It does not ocurre with all already existing gallery names, only with some. Here is what makes the difference:

    The root of all evil is, that earlier versions of NextGEN (long time ago) used the bookmark “_” to create galleries with identical names and the newer versions of NextGEN use the bookmark “-“.

    So if I created the “example” galleries a few years ago, it will have looked like this:

    example
    example_1
    example_2
    example_3

    If a create “example” galleries today, it should look like this:

    example
    example-1
    example-2
    example-3

    The problem is, that as a long-time user I have some _ galleries from older times. So with some gallery names I have only folders with _, some gallery names I have only folders with – and some gallery names I have folders with both _ and -.

    As far as I found out, we have four cases to differentiate.

    A) gallery name has only been used once before

    If the “aaaa” gallery has only been created once, the only folder will just have the name “aaaa”. NextGEN works and does create the “aaaa-1” folder.

    B) only – folders

    The 3 “bbbb” folders have been created in newer times. Their names are:
    bbbb
    bbbb-1
    bbbb-2

    NextGEN works and does create the “bbbb-3” folder.

    C) only _ folders

    the 3 “cccc” folders have been created years ago. Their names are:
    cccc
    cccc_1
    cccc_2

    NextGEN breakes and DOES NOT create another “cccc” gallery (not with -, not with _ … it just does nothing).

    B) Both _ and – folders

    I have 5 “dddd” galleries, 3 of them from old times, 2 of them newer. Their names are:
    dddd
    dddd_1
    dddd_2
    dddd-1
    dddd-2

    NextGEN breakes and DOES NOT create another “dddd” gallery… even though it has very obviously worked before. Some of the newer NextGEN versions did not care that old _ folders where there and just created the – folders anyhow.

    The latest NextGEN does care about that unfortunately and does not create – folders if any old _ folders are involved somewhere ??

    I hope this helps to enclose the search a little. And I very much hope there will be a solution.

    This problem might affect everyone who already used NextGEN years ago and who wants to create a gallery name from that time again.

    Hi @sfrueh

    Thank you so much for this detailed information.
    We have already received your bug report in our ticket system.
    We’ll keep you posted.

    Seems to be only visible with older sites.

    As a workaround, you can create a gallery with the same name but adding the extra number like this “Turisas 2” and then rename the gallery title.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘NextGEN does not create gallery folders if folder name has been used before’ is closed to new replies.