Jump to content


Photo

plz help me out guys


  • Please log in to reply
No replies to this topic

#1 tiku009900

tiku009900
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 02 December 2005 - 08:28 PM

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users