Announcement

Collapse
No announcement yet.

banning.php ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • banning.php ?

    After upgrading to 5.5.4 PL1 I just noticed that in the admincp menu there are 2 links (ban users / show banned users) that point to banning.php but there is no such file so the links produce a 404 error ?

  • #2
    /core/modcp/banning.php should be a valid vBulletin 5.5.4 PL1 file.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      you are correct, sorry.
      However, the admincp menu has the links https://site.com//banning.php?do=banuser& and https://site.com//banning.php?do=modify&

      missing the /core/modcp part

      Comment


      • #4
        What is the value for the modcp directory in your /core/includes/config.php file? It should be $config['Misc']['modcpdir'] = 'modcp';.

        You can also try replacing the /core/includes/xml/cpnav_vbulletin.xml file.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment


        • #5
          so I had
          Code:
          $config['Misc']['modcpdir'] = '';.
          no idea why, but I fixed it to
          Code:
          $config['Misc']['modcpdir'] = 'modcp';.
          now the URL shows
          Code:
          https://site.com/modcp/banning.php?do=banuser&
          as it probably should

          BUT produces:
          Code:
          Warning: require_once(/home/aaa/public_html/includes/init.php): failed to open stream: No such file or directory in /home/aaa/public_html/modcp/global.php on line 39
          
          Fatal error: require_once(): Failed opening required '/home/aaa/public_html/includes/init.php' (include_path='.:/usr/local/php73/pear') in /home/aaa/public_html/modcp/global.php on line 39
          Last edited by germaninfl; Tue 1 Oct '19, 1:25pm.

          Comment


          • #6
            should i do

            Code:
             $config['Misc']['modcpdir'] = 'core/modcp';.
            ?

            That works but I'm guessing it's not supposed to be that way?

            Comment


            • #7
              Well the system should do the redirect from /modcp/ to /core/modcp/ internally.

              I am going to have to say that you're missing files for some reason and need to upload the package again. Why, you're missing files? I have no idea.

              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              Related Topics

              Collapse

              Working...
              X