What to edit?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beishe8
    Senior Member
    • Oct 2005
    • 6782
    • 4.2.X

    What to edit?

    There are no instructions in the download that what to do with the config files.
    There are only two files in it:
    vb4_readme.html
    vb4_readme.txt

    In vB4 the the one only file is in a different location.

    After the succesful installation I see only: "Couldn't read config file config.php"


    vB5 is unequivocally the best forum software, but not yet...
  • Hartmut
    Senior Member
    • Nov 2007
    • 2870
    • 4.2.x

    #2
    You will find a quick summary on how to install vBulletin 5 connect HERE
    No private support, only PM me when I ask for it. Support in the forums only.

    Comment

    • BirdOPrey5
      Senior Member
      • Jul 2008
      • 9613
      • 5.6.3

      #3
      Most users can use makeconfig.php to create their 2 config.php files: https://www.vbulletin.com/forum/show...iles-in-1-step
      But if you are an advanced user, using SSH it is best to manually edit the files.

      config.php.bkp in your top vbulletin directory-
      Rename it to config.php and make the following edits-

      If installing in a folder on your domain (vb5 folder in this case):
      $config['baseurl'] = 'http://example.com/vb5'

      If installing in your web root directory:
      $config['baseurl'] = 'http://example.com'


      Base URL Core is same as above but with /core added to the end...
      $config['baseurl_core'] = 'http://example.com/vb5/core'
      or
      $config['baseurl_core'] = 'http://example.com/core'

      Next up is Core Path. This is the path in the file system to the core directory. Linux systems use / slashes and Windows systems use \ slashes which must be escaped so every one \ becomes two \\
      Windows Example:
      $config['core_path'] = 'C:\\xampp\\htdocs\\vb5\\core';
      or
      $config['core_path'] = 'C:\\xampp\\htdocs\\core';

      Linux Example:
      $config['core_path'] = '/home/users/yourusername/vb5/core';
      or
      $config['core_path'] = '/home/users/yourusername/core';

      Admincp direcotry... This is for the front-end Admin CP directory - I would leave it as is for the Beta
      $config['admincpdir'] = 'admincp';


      Cookie Prefix- Just make sure it matches the cookie prefix used in the other config.php file... bb is default.
      $config['cookie_prefix'] = 'bb';

      If you're beta testing you will likely want to turn on debug mode, it is at the bottom of the file-
      CHange
      $config['debug'] = false;
      to
      $config['debug'] = true;

      Everything else can be left the same unless you have reason to change it.


      Next you must also edit the file config.php.new in the /core/includes/ directory, but this file is the same as the config.php file you are used to from VB4 & VB3.
      Be sure to turn on debug mode in it too if you want debug mode.

      Comment

      • beishe8
        Senior Member
        • Oct 2005
        • 6782
        • 4.2.X

        #4
        Thank you Hartmut and Joe.

        Would it be a big job for the developers to include a file with those instructions in the download?


        vB5 is unequivocally the best forum software, but not yet...

        Comment

        • BirdOPrey5
          Senior Member
          • Jul 2008
          • 9613
          • 5.6.3

          #5
          I'm sure it will be added as soon as possible- as you can imagine though there is already many things that are in line.

          Comment

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

            #6
            Originally posted by beishe8
            Thank you Hartmut and Joe.

            Would it be a big job for the developers to include a file with those instructions in the download?
            No, it wouldn't. I have to finish writing it though and with 16-20 hour days, things get pushed back. Sorry. The manual has been updated with complete instructions on how to install and upgrade to vBulletin 5 though. Including how to edit the configuration files. I felt this was more important than the readme file.
            Translations provided by Google.

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

            Comment

            • Merenguista
              Senior Member
              • Jul 2010
              • 555
              • 5.3.x

              #7
              Originally posted by Joe D.
              If installing in a folder on your domain (vb5 folder in this case):
              $config['baseurl'] = 'http://example.com/vb5'

              If installing in your web root directory:
              $config['baseurl'] = 'http://example.com'
              So if I want my baseurl be like that :

              http://merenguista.com , i need to copy the /upload/ in my web root directory and not in public_html ??

              Comment

              • BirdOPrey5
                Senior Member
                • Jul 2008
                • 9613
                • 5.6.3

                #8
                public_html is your web root directory.

                You need to copy all the files and folders inside upload to public_html.

                Do not upload the /upload/ directory itself.

                Comment

                • Merenguista
                  Senior Member
                  • Jul 2010
                  • 555
                  • 5.3.x

                  #9
                  Thanks Joe ..

                  Comment

                  Related Topics

                  Collapse

                  Working...