Announcement

Collapse
No announcement yet.

Installation Problems

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

  • 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

  • #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 7th May '02, 10:57am.
    Scott MacVicar

    My Blog | Twitter

    Comment


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

      bit of a PHP newbie here im afraid

      Comment


      • #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


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

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

          Comment


          • #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


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

              how easy is that

              Thanks

              Comment


              • #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


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

                  May consider bying full version

                  :D :D :D :D

                  Comment


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

                    My Blog | Twitter

                    Comment


                    • #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


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

                        My Blog | Twitter

                        Comment


                        • #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


                          • #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


                            • #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...
                              X