Cannot get past install step two.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • silsurf
    New Member
    • Mar 2002
    • 8

    Cannot get past install step two.

    Below is a distillation of the trouble I am having trying to install vblite.

    I am attempting to set up a vblite forum on my server.

    I am very new to the rules of php and sql and would love some support on how to proceed.

    Thus far I am encountering the following issue.

    I tried to use the host name my host gave me unix137 and received this
    error.

    Parse error: parse error in
    /usr/local/plesk/apache/vhosts/interactivehank.com/httpdocs/docs/vblite/adm
    in/config.php on line 13

    Then I got support from my host that suggested I use the following for
    server info,

    In the servername slot put localhost this should fix your problem.

    I placed the "localhost" instead of "unix137" in the config file and this is
    the new message I received:

    Fatal error: Failed opening required './admin/db_.php'
    (include_path=3D'.:/usr/local/plesk/php/lib/php')in/usr/local/plesk/apache/vhosts/interactivehank.com/httpdocs/docs/vblite/global.php on line 38

    I went to the admin/db_php file and this is line 31-40 below.

    // ###################### Start init #######################
    //load config
    require("./admin/config.php");

    // init db **********************
    // load db class
    $dbclassname=3D"./admin/db_$dbservertype.php";
    require($dbclassname);

    $DB_site=3Dnew DB_Sql_vb;

    tubedogg
    03-24-2002 03:05 AM
    Hello,

    We cannot offer any support for vBulletin Lite.

    That said, if you change
    $servertype
    back to mysql, like so:
    $servertype = "mysql";
    in config.php you will no longer have this problem.

    If you have further problems, please post in the vBulletin Lite forum on the vBulletin Community Forums [ [url]http://www.vbulletin.com/forum/forumdisplay.php?s=&forumid=16[/url] ].

    All the best,
    Kevin Schumacher
    Support Team, vBulletin

    [url]http://www.vbulletin.com/[/url]
    mailto:[email protected]

    The server type is "mysql" in my "config.php" file.

    Am I supposed to change something in the "global.php" file as well?

    And my other question is whether the vblite folder has to be at the root of my directory or can it be in a sub-directory (where I keep all my other doc files?

    Thanks for any info.

    Henry
  • nuno
    Senior Member
    • Apr 2001
    • 4346
    • 3.8.x

    #2
    edit [b][color=red]config.php[/color][/b] only
    [code]
    // type of database running
    // (only mysql is supported at the moment)
    $dbservertype="mysql";

    // hostname or ip of server
    $servername="[color=red]localhost[/color]";

    // username and password to log onto db server
    $dbusername="your_db_username_here";
    $dbpassword="your_db_password_here";

    // name of database
    $dbname="your_db_name_here";
    [/code]

    do not forget to edit your [b]php.ini[/b] file and set
    [b] register_globals = On[/b]
    You're my Prince of Peace
    And I will live my life for You

    Comment

    • silsurf
      New Member
      • Mar 2002
      • 8

      #3
      Thanks

      Thanks, I will give it a go.

      Any thoughts on the last part of my question:

      "And my other question is whether the vblite folder has to be at the root of my directory or can it be in a sub-directory (where I keep all my other doc files? "

      Thanks for any info.

      Henry

      Comment

      • filburt1
        Senior Member
        • Feb 2002
        • 6606

        #4
        It can be in any directory, whether it be /forums, /forum, /vbulletin, /vb, /, anything.
        --filburt1, vBulletin.org/vBulletinTemplates.com moderator
        Web Design Forums.net: vB Board of the Month
        vBulletin Mail System (vBMS): webmail for your forum users

        Comment

        • silsurf
          New Member
          • Mar 2002
          • 8

          #5
          ah, lastly...

          Thanks for the info, I still have not had any time as I am away from home and working on a dial-up.

          But I did look into my vbLite folder and I could not find any php.ini files?
          [
          B]"do not forget to edit your php.ini file and set
          register_globals = On"
          [/B]

          Is this a file that exists on the full version, or is it something that is created after I properly install the software, or something else?

          Henry



          ____________

          Comment

          • filburt1
            Senior Member
            • Feb 2002
            • 6606

            #6
            If you're hosting it on your computer, you have to have a web server (preferably Apache) and PHP installed, and php.ini should be in the Windows dir.
            --filburt1, vBulletin.org/vBulletinTemplates.com moderator
            Web Design Forums.net: vB Board of the Month
            vBulletin Mail System (vBMS): webmail for your forum users

            Comment

            • silsurf
              New Member
              • Mar 2002
              • 8

              #7
              hosting?

              Thanks again,

              I am hosting thru an online hosting service (featureprice.com) and my platform is Macintosh.

              Everything is up to date and I have confirmed my host's compatibility with all MySql and PHP db's.

              Could the Mac platform be an issue of compatibility?

              Henry

              Comment

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