• Resolved Howdy_McGee

    (@howdy_mcgee)


    When picking a template for display, it strips all backslashes in the path. This means you can’t select a template when developing a site on localhost ( something like WAMP which usually localdrive as a root ). The returned path is correct but with all the backslashes stripped which makes it invalid.

    Let me know if there’s any other information you need on this issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Imagely

    (@imagely)

    @howdy_mcgee – Unfortunately, there is not much we can offer in the way of providing support for individual WAMP installations although what you are describing has not been reported before to the best of my knowledge and there are many successful WAMP installations being used.

    – Cais.

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    @imagely I understand that but it seems like another case of improper escaping. If I inspect the option value before I save the shortcode options the path displays correctly:

    C:\wamp64\www\projects\project-name\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\ngglegacy\view\album-compact.php

    Whenever I select the option and save, it strips all backslahses turning it into an invalid path, see below:

    C:wamp64wwwprojectsproject-namewp-contentpluginsnextgen-galleryproductsphotocrati_nextgenmodulesngglegacyviewalbum-compact.php

    So somewhere during the save process it’s stripping all the backslashes, or so it seems. I’m not sure how that’s due to an invalid WAMP install.

    Plugin Contributor Imagely

    (@imagely)

    @howdy_mcgee – Are you seeing the same thing with the latest release of NextGEN Gallery? Also, do you have a remote Windows based server where you are seeing this and we would be able to have a look?

    Thanks!

    – Cais.

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    I am seeing the same issue using the latest version, no change in the above. The saved value/path is still returned without any backslashes. I also ran into thumbnail generation issues on localhost but none of these seem to be a problem when everything is on the server.

    Unfortunately, we don’t run any remote windows servers, everything server based on our end is linux. Some of our local workspaces/devs are windows based which is where the problem persists.

    Plugin Contributor Imagely

    (@imagely)

    @howdy_mcgee – Have you tried spinning up a fresh WAMP instance to see if that helps point to anything?

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Template Selection Stripping Backslashes’ is closed to new replies.