gypsydogg Posted November 24, 2004 Share Posted November 24, 2004 OK, I tried installing a mod for PHPbb. This is a mod that creates a rss datafeed. I'm trying to use it in a phpbb mod( http://www.phpbb.com/phpBB/viewtopic.php?t...der=asc&start=0 ) for the PHPBB contrib for OScommerce, so I know I'm asking for trouble. My goal is to create a PHPbb Feed from the forum and capture new posts on the front page of my site in a box. My first step is to get the PHPbb rss data feed mod working. I'm recieving the following error: Fatal error: Cannot instantiate non-existent class: sql_db in /home/aeeweb/public_html/costume/includes/modules/phpbb2/includes/db.php on line 60 I believe this is caused because it was written for the original PHPbb stand alone version. Does anyone know how to fix this error. Here is some of the code from the db.php file it is referring to: 59 // Make the database connection. 60 $db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false); 61 if(!$db->db_connect_id) If seems like it is a real easy fix because it is a real simple mod for PHPbb. The only thing that is complicated is the situation. Quote Link to comment Share on other sites More sharing options...
bobbie Posted December 22, 2004 Share Posted December 22, 2004 (edited) Fatal error: Cannot instantiate non-existent class: sql_db in /home/aeeweb/public_html/costume/includes/modules/phpbb2/includes/db.php on line 60 Seems that the system can't find some file defining class sql_db Try to put the following code in db.php: For example , if you use mysql, add $dbms='mysql'; BTW, I tried a lot of time to install the phpbbMOD, and found that this MOD can't work well with the admin access MOD. So now I use another version modified by oldpa. You can download it here: http://www.oldpa.com.tw/modules/mydownload...wcat.php?cid=19 It works perfectly! You can visit my website to see it: http://www.ourchinaseasons.com Edited December 22, 2004 by bobbie Quote Link to comment Share on other sites More sharing options...
Iggy Posted December 22, 2004 Share Posted December 22, 2004 Seems that the system can't find some file defining class sql_dbTry to put the following code in db.php: For example , if you use mysql, add $dbms='mysql'; BTW, I tried a lot of time to install the phpbbMOD, and found that this MOD can't work well with the admin access MOD. So now I use another version modified by oldpa. You can download it here: http://www.oldpa.com.tw/modules/mydownload...wcat.php?cid=19 It works perfectly! You can visit my website to see it: http://www.ourchinaseasons.com <{POST_SNAPBACK}> Not sure what version of php you're running but there seems to be a fairly nasty worm running around. http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=248046 You might want to patch up. Just FYI. Iggy Quote Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.