Installation Problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • martync
    Senior Member
    • May 2002
    • 109
    • 3.5.x

    Installation Problems

    Hi All, few problems getting VBlite up and running.
    I'm running Redhat 7.2 with mysql and also php running.

    I have copied the files into a directory on my server then running the command to install vblite.

    I then get the following error

    Attempting to connect...


    Fatal error: Call to undefined function: mysql_pconnect() in /home/sites/domain.name/web/vblite/admin/db_mysql.php on line 29

    Any help would be great

    Thanks in advance.

    Chet
  • Scott MacVicar
    Former vBulletin Developer
    • Dec 2000
    • 13286

    #2
    is your php compiled with mysql support?

    upload a file called phpinfo.php with

    [php]<?
    phpinfo();
    ?>[/php]

    and post the url to it here.

    also open up db_mysql.php and change any references of mysql_pconnect to mysql_connect, they should be two at the top of the file.
    Last edited by Scott MacVicar; Tue 7 May '02, 10:57am.
    Scott MacVicar

    My Blog | Twitter

    Comment

    • martync
      Senior Member
      • May 2002
      • 109
      • 3.5.x

      #3
      searched for phpinfo.php but unable to find it.

      bit of a PHP newbie here im afraid

      Comment

      • Scott MacVicar
        Former vBulletin Developer
        • Dec 2000
        • 13286

        #4
        create a file called phpinfo.php with a text editor and paste this code into it

        [php]<?
        phpinfo();
        ?>[/php]

        then upload it to your forums and post the url here.
        Scott MacVicar

        My Blog | Twitter

        Comment

        • martync
          Senior Member
          • May 2002
          • 109
          • 3.5.x

          #5
          [url]http://www.chetnet.co.uk/phpinfo.php[/url]

          Sorry for being a bit dumb, new to all this :D

          Comment

          • Scott MacVicar
            Former vBulletin Developer
            • Dec 2000
            • 13286

            #6
            your host has configured php without mysql, i'd contact your host and ask them why this was done and if they would install it for you.
            Scott MacVicar

            My Blog | Twitter

            Comment

            • martync
              Senior Member
              • May 2002
              • 109
              • 3.5.x

              #7
              that would have been me then, do I have to uninstall PHP then re-compile now ?

              how easy is that

              Thanks

              Comment

              • Scott MacVicar
                Former vBulletin Developer
                • Dec 2000
                • 13286

                #8
                you'll need to recompile php with mysql support enabled, at the moment you have postgresql which isn't supported.
                Scott MacVicar

                My Blog | Twitter

                Comment

                • martync
                  Senior Member
                  • May 2002
                  • 109
                  • 3.5.x

                  #9
                  what a hero, thanks very much, working now.

                  May consider bying full version

                  :D :D :D :D

                  Comment

                  • Scott MacVicar
                    Former vBulletin Developer
                    • Dec 2000
                    • 13286

                    #10
                    its well worth it you will definately enjoy the increased features in the full version.
                    Scott MacVicar

                    My Blog | Twitter

                    Comment

                    • martync
                      Senior Member
                      • May 2002
                      • 109
                      • 3.5.x

                      #11
                      doh, one more thing

                      I have just changed the password in config.php and done a re-install.

                      It wont accept either my new password or my old onein the admin screen, are there other files that VBlight creates or is the password cached somwhere

                      Sorry for the bother

                      Comment

                      • Scott MacVicar
                        Former vBulletin Developer
                        • Dec 2000
                        • 13286

                        #12
                        try dropping the mysql database, then re-installing from blank.
                        Scott MacVicar

                        My Blog | Twitter

                        Comment

                        • martync
                          Senior Member
                          • May 2002
                          • 109
                          • 3.5.x

                          #13
                          tried that, no joy
                          Even deleted the whole VBlight dir and started from scratch.

                          It more store it somwhere else ?

                          not sure how about you

                          Comment

                          • Scott MacVicar
                            Former vBulletin Developer
                            • Dec 2000
                            • 13286

                            #14
                            the mysql information is stored in a mysql database called mysql, this includes your username and password.

                            Use a utility like phpMyAdmin to either drop the vBlite database or to edit your password.
                            Scott MacVicar

                            My Blog | Twitter

                            Comment

                            • martync
                              Senior Member
                              • May 2002
                              • 109
                              • 3.5.x

                              #15
                              droped the database and started from scratch, but still unable to get to the admin screen

                              if I look at my phpinfo I can see that the old password is there.

                              HTTP_COOKIE_VARS["controlpassword"] foy4wellesley

                              its not the one im using.


                              hope this sheds light on it for you.

                              Chet

                              Comment

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