Uploaded image for project: 'Prestashop Core Application V1.4'
  1. Prestashop Core Application V1.4
  2. PSCFI-3636

Layered navigation configuration doesn't work if __PS_BASE_URI__ is equal to "\"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.5.1
    • Fix Version/s: None
    • Security Level: All-users
    • Labels:
      None

      Description

      Using version 1.4.4.1,after installing the module "Layered navigation" it was not possible to configure it.
      An error about "regular expression" was shown on the Firefox console trying to set up a new filter.
      The error was not displayed on a local installation, and present on an installation performed online using a virthost.

      The issue, solved in my local version was the following:
      In "blocklayered.php"
      the line 442 has been changed from
      url: '._PS_BASE_URI_.' + \'modules/blocklayered/blocklayered-ajax-back.php\',
      to
      url: "'._PS_BASE_URI_.'" + \'modules/blocklayered/blocklayered-ajax-back.php\',

      As you can see when _PS_BASE_URI_ was equal to "\" and not something like "\prestashop\", an error was raised by the browser and it was not possible to set up a filter.

      Regards,
      Jacky

        Attachments

          Activity

            People

            • Assignee:
              bLeveque Bruno LEVEQUE
              Reporter:
              jacky75 jacky75
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: