Announcement

Collapse
No announcement yet.

config.php.new or config.php

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

  • config.php.new or config.php

    I have successfully uploaded vbulletin to my virtual server, and every thing is happening exactly as it should, but I have hit a wall because of one little thing.

    In the “include” folder, I cannot find config.php.new or config.php any where at all and thus I cannot rename it config.php and edit it for the name and password of the database I have set up for my vbulletin.

    So until I find that config.php, there is nothing I can do.

    You can see that I have partially set it up http://forums.sovin-nai.org/

  • #2
    in the downloaded zip of beta 2 (entire package) within includes there is a file called config.php.new, edit it and change it to config.php.

    Can i also point out you don't need to upload anything outside of the upload folder.
    Problems with vB4? Try This Thread for answers!

    Comment


    • #3
      Tried the unstable beta 2. Cannot find it, the list is here inside "includes"


      Name
      Size
      Type
      Permissions
      Archive 4 KB httpd/unix-directory 0755
      Cache 4 KB httpd/unix-directory 0755
      domit 4 KB httpd/unix-directory 0755
      js 4 KB httpd/unix-directory 0755
      patTemplate 4 KB httpd/unix-directory 0755
      PEAR 4 KB httpd/unix-directory 0755
      phpInputFilter 4 KB httpd/unix-directory 0755
      phpmailer 4 KB httpd/unix-directory 0755
      agent_browser.php 10 KB application/x-httpd-php 0644
      agent_os.php 2 KB application/x-httpd-php 0644
      class.ezpdf.php 50 KB application/x-httpd-php 0644
      class.pdf.php 90 KB application/x-httpd-php 0644
      compat.php41x.php 1 KB application/x-httpd-php 0644
      compat.php42x.php 4 KB application/x-httpd-php 0644
      compat.php50x.php 3 KB application/x-httpd-php 0644
      database.mysql5.php 36 KB application/x-httpd-php 0644
      database.mysqli.php 34 KB application/x-httpd-php 0644
      database.php 35 KB application/x-httpd-php 0644
      feedcreator.class.php 50 KB application/x-httpd-php 0644
      footer.php 891 Bytes application/x-httpd-php 0644
      frontend.html.php 12 KB application/x-httpd-php 0644
      frontend.php 9 KB application/x-httpd-php 0644
      gacl.class.php 11 KB application/x-httpd-php 0644
      gacl_api.class.php 58 KB application/x-httpd-php 0644
      HTML_toolbar.php 12 KB application/x-httpd-php 0644
      index.html 47 Bytes text/html 0644
      joomla.cache.php 2 KB application/x-httpd-php 0644
      joomla.php 167 KB application/x-httpd-php 0644
      joomla.xml.php 15 KB application/x-httpd-php 0644
      mambo.php 161 Bytes application/x-httpd-php 0644
      mamboxml.php 165 Bytes application/x-httpd-php 0644
      metadata.php 710 Bytes application/x-httpd-php 0644
      pageNavigation.php 6 KB application/x-httpd-php 0644
      pathway.php 9 KB application/x-httpd-php 0644
      pdf.php 6 KB application/x-httpd-php 0644
      sef.php 19 KB application/x-httpd-php 0644
      vcard.class.php 6 KB application/x-httpd-php 0644
      version.php 3 KB application/x-httpd-php 0644

      Comment


      • #4
        are you downloading the entire beta 2 package?

        Also joomla files shouldn't be in there.
        Problems with vB4? Try This Thread for answers!

        Comment


        • #5
          Use the 3.7.0 beta 2 config.php.new file.
          Rename it to config.php
          and edit it's content to match the database you're using.

          Comment


          • #6
            I have got that config.php now that I installed joomla, joomla was for the home page and the forums was for a sub domain so I do not know why the joomla php was in the sub domain.

            Well I do not know why vbulletin cannot put up an ui interface. So working with this raw data, I put in my database user name and password. But I'm confused about the database. My database is called ham8phuw_forums. so i put it in place of ['dbname'] > (['ham8phuw_forums']) but I get this

            “Not Found
            The requested URL /install/install.php was not found on this server.
            Additionally, a 404 Not Found error was encountered while trying to use an Error Document to handle the request.”

            Then I tried whole address such as h tt p://forums.sovin-nai.org/ham8phuw_forums in ['dbname'] with no luck.

            (http was spaced to prevent auto hyperlinking)

            Comment


            • #7
              yesterday i was getting the same 404 error and than later some one told me my url isnt correct , so please you also check your url spel again and than try .

              Comment


              • #8
                Oh damn, do I have to put in my entire address?? like h ttp://forums.sovin-nai.org/ham8phuw_forums/ into the ['dbname'] section? When I tried that I get safari cannot open the window even thought it is just editing

                Or did you mean entire address for the install/install.php??

                Comment


                • #9
                  I have had it for tonight, will get back to this tomorrow. I'm getting this when I try to save my edited config.php

                  afari can’t open the page “http://www.mango-hosting.co.uk:2082/...vefile.html”. The error was: “unknown error” ((null):10053) Please choose Report Bugs to Apple from the Help menu, note the error number, and describe what you did before you saw this message.

                  Comment


                  • #10
                    hi

                    Originally posted by Korinth View Post
                    Oh damn, do I have to put in my entire address?? like h ttp://forums.sovin-nai.org/ham8phuw_forums/ into the ['dbname'] section? When I tried that I get safari cannot open the window even thought it is just editing

                    Or did you mean entire address for the install/install.php??
                    no you need not enter you url in any folder or file but be sure that url is correct when you are browsing it with /install/install.php


                    Originally posted by Korinth View Post
                    I have had it for tonight, will get back to this tomorrow. I'm getting this when I try to save my edited config.php

                    afari can’t open the page “http://www.mango-hosting.co.uk:2082/frontend/x3/filemanager/savefile.html”. The error was: “unknown error” ((null):10053) Please choose Report Bugs to Apple from the Help menu, note the error number, and describe what you did before you saw this message.
                    this is cpanel so you need to ask from your host about this error.

                    Comment


                    • #11
                      Originally posted by Korinth View Post
                      Well I do not know why vbulletin cannot put up an ui interface. So working with this raw data, I put in my database user name and password. But I'm confused about the database. My database is called ham8phuw_forums. so i put it in place of ['dbname'] > (['ham8phuw_forums']) but I get this
                      You're replacing the variable names. Your information goes to the right of the equal signs within the single quotes. NEVER change anything to the left of the equal signs.
                      Translations provided by Google.

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

                      Comment


                      • #12
                        Yes I realized that mistake and made corrections. This is just some of the additions I made, left out password for obvious reasons. This is how it looks.


                        <?php
                        /*======================================================================*\
                        || #################################################################### ||
                        || # vBulletin 3.7.0 Beta 2 - Licence Number <removed by floris>
                        || # ---------------------------------------------------------------- # ||
                        || # All PHP code in this file is ©2000-2007 Jelsoft Enterprises Ltd. # ||
                        || # 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 ****** |
                        +---------------------------------------------------------+
                        | If you get any errors while attempting to connect to |
                        | MySQL, you will need to email your webhost because we |
                        | cannot tell you the correct values for the variables |
                        | in this file. |
                        \*-------------------------------------------------------*/


                        // ****** DATABASE TYPE ******
                        // This is the type of the database server on which your vBulletin database will be located.
                        // Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
                        // for slave options just append _slave to your preferred database type.
                        $config['Database']['dbtype'] = 'mysql';


                        // ****** DATABASE NAME ******
                        // This is the name of the database where your vBulletin will be located.
                        // This must be created by your webhost.
                        $config['Database']['dbname'] = 'ham8phuw_forums';


                        // ****** TABLE PREFIX ******
                        // Prefix that your vBulletin tables have in the database.
                        $config['Database']['tableprefix'] = 'forums';


                        // ****** TECHNICAL EMAIL ADDRESS ******
                        // If any database errors occur, they will be emailed to the address specified here.
                        // Leave this blank to not send any emails when there is a database error.
                        $config['Database']['technicalemail'] = '[email protected]';


                        // ****** FORCE EMPTY SQL MODE ******
                        // New versions of MySQL (4.1+) have introduced some behaviors that are
                        // incompatible with vBulletin. Setting this value to "true" disables those
                        // behaviors. You only need to modify this value if vBulletin recommends it.
                        $config['Database']['force_sql_mode'] = false;






                        // ****** MASTER DATABASE SERVER NAME AND PORT ******
                        // This is the hostname or IP address and port of the database server.
                        // If you are unsure of what to put here, leave the default values.
                        $config['MasterServer']['servername'] = 'localhost';
                        $config['MasterServer']['port'] = 3306;


                        Everything seems to point to an url problem. I have a feeling that is all there is to it.


                        Www.forums.sovin-nai.org shows that it has been uploaded. So I tried full path including directory http://www.forums.sovin-nai.org/publ...all/intall.php and it does not work as it says url is not found. It just this one tiny little problem <smiles>
                        Last edited by Floris; Tue 18 Dec '07, 11:40pm.

                        Comment


                        • #13
                          Just to make sure you all know the kind of server I'm using. I'm using a virtual server.

                          Comment


                          • #14
                            Verify this value with your hosting provider:
                            $config['MasterServer']['servername'] = 'localhost';

                            If you are using a large provider that doesn't use cPanel or Plesk this could very well be something different. On GoDaddy and its resellers the servername will be something like 123pmysql24.secureserver.net. On Yahoo, the servername is always mysql. Others can employ similar setups.
                            Translations provided by Google.

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

                            Comment


                            • #15
                              Im with mango-hosting.com and have cpanel, however I will ask them via e-mail to verify server name.

                              Will post back here tomorrow.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X