Modcp is not accessible after logging in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheUnitedIndia
    New Member
    • Sep 2012
    • 12

    Modcp is not accessible after logging in

    Modcp of my forum is not accessible and it is displaying error as below:-

    > https://tmpdmp.com/60b03e8c6bdc17dc/468f2eb92f927dc8

    After logging into /modcp/ it's giving a blank page:- http://www.mydomain.net/login.php?do=login
    Kindly suggest me the easiest way to get rid of this.
  • wave-rice
    Senior Member
    • Feb 2011
    • 445
    • 5.5.x

    #2
    Are you accessing your site from the URL specified in your config.php file?

    Have you changed the directories for ModCP?
    Aakif Nazir

    Comment

    • TheUnitedIndia
      New Member
      • Sep 2012
      • 12

      #3
      I am using the latest config.php provided here - https://www.vbulletin.com/forum/show...See-this-first
      So, there is no option for setting /modcp/ or anything like this for modcp:-
      PHP Code:
          // This setting allows you to change the name of the admin folder$config['admincpdir'] = 'admincp'; 

      Comment

      • wave-rice
        Senior Member
        • Feb 2011
        • 445
        • 5.5.x

        #4
        What have you got on the line that starts with this: $config['baseurl']
        Aakif Nazir

        Comment

        • TheUnitedIndia
          New Member
          • Sep 2012
          • 12

          #5
          $config['baseurl'] = 'http://www.mydomain.net';

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74111

            #6
            Originally posted by TheUnitedIndia
            $config['baseurl'] = 'http://www.mydomain.net';
            Might want to use a valid domain name.
            Translations provided by Google.

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

            Comment

            • TheUnitedIndia
              New Member
              • Sep 2012
              • 12

              #7
              Originally posted by Wayne Luke
              Might want to use a valid domain name.
              Code:
              $config['baseurl'] = 'http://www.inclusiveworld.net';

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 74111

                #8
                Translations provided by Google.

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

                Comment

                • TheUnitedIndia
                  New Member
                  • Sep 2012
                  • 12

                  #9
                  Originally posted by Wayne Luke
                  Same issue here also. It stuck at http://www.inclusiveworld.net/core/login.php?do=login

                  Comment

                  • Wayne Luke
                    vBulletin Technical Support Lead
                    • Aug 2000
                    • 74111

                    #10
                    Only thing I can think of is that for some reason, your server is calculating the core path incorrectly and you'll need to manually enter it into the config.php file. This should be from the root of the drive.
                    Translations provided by Google.

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

                    Comment

                    • TheUnitedIndia
                      New Member
                      • Sep 2012
                      • 12

                      #11
                      Originally posted by Wayne Luke
                      Only thing I can think of is that for some reason, your server is calculating the core path incorrectly and you'll need to manually enter it into the config.php file. This should be from the root of the drive.
                      Can you please give me the code to be placed there and at which place?

                      Comment

                      • Wayne Luke
                        vBulletin Technical Support Lead
                        • Aug 2000
                        • 74111

                        #12
                        It would be this line here:
                        $config['core_path'] = realpath(dirname(__FILE__)) . '/core';

                        The reason we tried to automate it is because we have absolutely no clue what the path of your core directory is.
                        Translations provided by Google.

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

                        Comment

                        • TheUnitedIndia
                          New Member
                          • Sep 2012
                          • 12

                          #13
                          Originally posted by Wayne Luke
                          It would be this line here:
                          $config['core_path'] = realpath(dirname(__FILE__)) . '/core';

                          The reason we tried to automate it is because we have absolutely no clue what the path of your core directory is.
                          Done but, it doesn't works. Anything to be filled up in (__FILE__)) . '/core';?

                          - - - Updated - - -

                          $config['core_path'] = modcp(modcpcpdir(__FILE__)) . '/core';

                          Comment

                          • Wayne Luke
                            vBulletin Technical Support Lead
                            • Aug 2000
                            • 74111

                            #14
                            Originally posted by TheUnitedIndia
                            Done but, it doesn't works. Anything to be filled up in (__FILE__)) . '/core';?

                            - - - Updated - - -

                            $config['core_path'] = modcp(modcpcpdir(__FILE__)) . '/core';
                            Where did you get the idea to make this change? This will break the entire site.

                            This has to point to the core directory and from there the system should be able to find the modcp directory.

                            Either leave it as it was by default or type in the path from root (/) to /core manually.
                            Translations provided by Google.

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

                            Comment

                            Related Topics

                            Collapse

                            Working...