No announcement yet.

Can't Access Admincp After Install

  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't Access Admincp After Install

    I've read a lot of threads but nothing really solid on what mistakes everyone is making.

    I can access my admincp using the "core/admincp", but not with the link at the footer. I just installed vB 5.0.3. I just upgraded from vb4.x.

    My htaccess is below

    ~<IfModule mod_rewrite.c>
    RewriteEngine On
    # Send css calls directly to the correct file VBV-7807
    RewriteRule ^css.php$ core/css.php [NC,L]
    # Redirect old install path to core.
    RewriteRule ^install/ core/install/ [NC,L]
    # Main Redirect
    RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
    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]
    My config is:

    // ****** 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'] = '';

    // 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'] = '';

    // ****** 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';
    $config['php_sessions'] = false;
    Am I missing something? I keep looking this over, but don't see what I have wrong.

    Thanks in advance!
    Best Chicago Bears Fan Site on the net!

  • #2
    Are you running the site in a subfolder from the root folder? Are there other htaccess files?

    When you try to go to the regular /AdminCP/ folder, does anything happen?


    • #3
      I got this working. Weird thing is, I was running the site from the root.

      when I put vB5 in /forums/ and edited the URL in the config, and admincp and it worked.

      I'm just going to keep it in the /forums folder for now, and run wordpress on the front end.
      Best Chicago Bears Fan Site on the net!


      • #4
        I believe this is related to your other issue-

        Linking here for people who may trouble shoot this in the future.


        • #5
          What fixed this for me, is moving my forums from the root ( to a /forums ( location. I moved it to the forums folder, and changed my configs and admincp to the "forums" and it worked. It was weird. It's like vb5 didn't like my root installation.
          Best Chicago Bears Fan Site on the net!


          Related Topics