Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-4611

404 when adding a new directory - Directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: Directory
    • Labels:

      Description

      Module Directory is giving 404 error when Freepbx is not installed on the web root, for example under a freepbx folder. The server running under http://server/freepbx/admin will give error 404.

      A workaround should be editing file page.directory.php, on line 40

      {noformat}
      echo '<br /><br /><input type="button" value="'._('Add a new Directory').'" onclick="window.location.href=\'/admin/config.php?type='.$type.'&display=directory&action=add\';"/>'; {noformat}

      and erasing the /admin/ of the url

      {noformat}
      echo '<br /><br /><input type="button" value="'._('Add a new Directory').'" onclick="window.location.href=\'config.php?type='.$type.'&display=directory&action=add\';"/>'; {noformat}

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                GameGamer43 Bryan Walters
                Reporter:
                tristangrimaux tristangrimaux
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.