Jump to content

plz help me out guys


tiku009900

Recommended Posts

i just installed a phpbb2 on a server but it is giving an error. plz sort this out .

 

Fatal error: Cannot instantiate non-existent class: sql_db in /home/vhosts/tiku009900.hf4l.com/includes/db.php on line 60

 

 

 

 

my db .php goes like this

 

 

 

<?php

 

if ( !defined('IN_PHPBB') )

{

die("Hacking attempt");

}

 

switch($dbms)

{

case 'mysql':

include($phpbb_root_path . 'db/mysql.'.$phpEx);

break;

 

case 'mysql4':

include($phpbb_root_path . 'db/mysql4.'.$phpEx);

break;

 

case 'postgres':

include($phpbb_root_path . 'db/postgres7.'.$phpEx);

break;

 

case 'mssql':

include($phpbb_root_path . 'db/mssql.'.$phpEx);

break;

 

case 'oracle':

include($phpbb_root_path . 'db/oracle.'.$phpEx);

break;

 

case 'msaccess':

include($phpbb_root_path . 'db/msaccess.'.$phpEx);

break;

 

case 'mssql-odbc':

include($phpbb_root_path . 'db/mssql-odbc.'.$phpEx);

break;

}

 

// Make the database connection.

$db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false);

if(!$db->db_connect_id)

{

message_die(CRITICAL_ERROR, "Could not connect to the database");

}

 

?>

 

 

my database name on that server is 6897

 

i got some errors while installation also but i ignored them since i got the finish page . the error i got while installation are as follows.

 

 

Warning: ftp_put(): SAFE MODE Restriction in effect. The script whose uid is 6897 is not allowed to access /tmp/cfgu7qBRR owned by uid 99 in /home/vhosts/tiku009900.hf4l.com/install/install.php on line 586

 

Warning: unlink(): SAFE MODE Restriction in effect. The script whose uid is 6897 is not allowed to access /tmp/cfgu7qBRR owned by uid 99 in /home/vhosts/tiku009900.hf4l.com/install/install.php on line 590

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.