Announcement

Collapse
No announcement yet.

Can not simplify admincp url path

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

  • Can not simplify admincp url path

    I have a issue with the admincp only loading if i use this path /core/admincp it will not load if use the site url .com/admincp and If I make a change in the admin panel I get a page can not be found error I have checked my config file and the path in it is set to site url.com no trailng slash or anything else added to it..
    the url for the site is set to the site url.com and the site url.com/server.php path is /home/whiskey/public_html
    what am I missing ?

    I get a weird ftp style directory when I use the site url.com/admincp

    HTML Code:
     Index of /admincp
    
    Parent Directory img/ js/

  • #2
    Check your URLs in config.php.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      that was the first thing I did and it is set at site url.com and nothing else if you would like to check this out your self I can send you the information

      Maybe I should add that I am running this directly in the public_html folder I tried to do and Install in a public_html/subfolder but it would not find the core/install folders

      and the fourms tab in the admincp wants to also go to siteurl.com/core

      - - - Updated - - -

      I got the main page to load but none of the links work they all have a unable_to_contact_server_please_try_again message Or a can not find page message...
      Last edited by WhiskeyOSS; Fri 4th Jan '13, 12:11am.

      Comment


      • #4
        Please post a copy of your root config.php file. Also, the .htaccess file is in your vB5 root directory?
        Vote for:

        - *Admin Settable Paid Subscription Reminder Timeframe*
        -
        *PM - Add ability to reply to originator only*
        - Add Admin ability to auto-subscribe users to specific channel(s)
        - Highlight the correct navigation tab when you are on a custom page
        - "Quick Route" Interface...
        - Allow to use custom icons for individual forums

        Comment


        • #5
          Originally posted by Trevor Hannant View Post
          Please post a copy of your root config.php file. Also, the .htaccess file is in your vB5 root directory?
          Htaccess from root directory

          AddHandler application/x-httpd-php53 .php
          # -FrontPage-
          IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
          <Limit GET POST>
          order deny,allow
          deny from all
          allow from all
          </Limit>
          <Limit PUT DELETE>
          order deny,allow
          deny from all
          </Limit>
          AuthName sr-gamers.com
          AuthUserFile /home/whiskey/public_html/_vti_pvt/service.pwd
          AuthGroupFile /home/whiskey/public_html/_vti_pvt/service.grp

          Config.php from root directory


          <?php
          /*======================================================================*\
          || #################################################################### ||
          || # vBulletin 5 Presentation Configuration # ||
          || # ---------------------------------------------------------------- # ||
          || # All PHP code in this file is �2000-2012 vBulletin Solutions Inc. # ||
          || # This file may not be redistributed in whole or significant part. # ||
          || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
          || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
          || #################################################################### ||
          \*======================================================================*/
          /*-------------------------------------------------------*\
          | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
          +---------------------------------------------------------+
          | When making changes to the file, the edit should always |
          | be to the right of the = sign between the single quotes |
          | Default: $config['admincpdir'] = 'admincp'; |
          | Example: $config['admincpdir'] = 'myadmin'; GOOD! |
          | Example: $config['myadmin'] = 'admincp'; BAD! |
          \*-------------------------------------------------------*/

          // ****** Base URLs ******
          // The following settings all deal with the url of your forum.
          // If set incorrectly your site/software will not function correctly.
          // These urls should NOT include a trailing slash
          // This is the url and web path of your root vBulletin directory
          $config['baseurl'] = 'http://www.myurl.com';

          // This will only be used if you wish to require https logins
          // You will not need to change this setting most of the time.
          $config['baseurl_login'] = $config['baseurl'];
          // If you do wish to use https for login, uncomment this line
          // Then fill in your https url.
          //$config['baseurl_login'] = 'www.your url here';

          // ****** System Paths ******
          // This setting allows you to change the name of the admin folder
          $config['admincpdir'] = 'admincp';
          // ****** Cookie Settings ******
          // These are cookie related settings.
          // This Setting allows you to change the cookie prefix
          $config['cookie_prefix'] = 'bb';

          // ****** Special Settings ******
          // These settings are only used in some circumstances
          // Please do not edit if you are not sure what they do.
          // You can ignore this setting for right now.
          $config['cookie_enabled'] = true;
          $config['report_all_php_errors'] = false;
          $config['no_template_notices'] = true;
          // This setting should never be used on a live site
          $config['no_js_bundles'] = false;
          // This setting enables debug mode, it should NEVER be used on a live site
          $config['debug'] = false;
          // Assumes default location of core.
          // These are the system paths and folders for your vBulletin files
          // This setting is for where your vbulletin core folder is
          $config['core_path'] = realpath(dirname(__FILE__)) . '/core';
          // This is the url and web based path to your core directory
          $config['baseurl_core'] = $config['baseurl'] . '/core';

          /*======================================================================*\
          || ####################################################################
          || # Downloaded:
          || # CVS: $RCSfile$ -
          || ####################################################################
          \*======================================================================*/
          Last edited by WhiskeyOSS; Fri 4th Jan '13, 6:33am.

          Comment


          • #6
            That's not the default vBulletin .htaccess file - you need add the contents of the vBulletin one to your existing one if what you've posted is required on your server
            Vote for:

            - *Admin Settable Paid Subscription Reminder Timeframe*
            -
            *PM - Add ability to reply to originator only*
            - Add Admin ability to auto-subscribe users to specific channel(s)
            - Highlight the correct navigation tab when you are on a custom page
            - "Quick Route" Interface...
            - Allow to use custom icons for individual forums

            Comment


            • #7
              So your saying I need to add this to the file in my root directory.

              <IfModule mod_rewrite.c>
              RewriteEngine On
              # Redirect old install path to core.
              RewriteRule ^install/ core/install/ [NC,L]
              # Main Redirect
              RewriteCond %{REQUEST_FILENAME} !-f
              RewriteCond %{REQUEST_FILENAME} !-d
              RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
              # Because admincp is an actual directory.
              RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
              </IfModule>

              - - - Updated - - -

              yep that was the problem you are a wizzard but I do not understand why it did not write this for one and or was It supposed to over write it in the install process the only thing not working is the link in the admincp to the home page

              - - - Updated - - -

              Ok its all working now thank you for your help Trevor I appreciate it very much

              Comment

              Related Topics

              Collapse

              Working...
              X