Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need PHPbb contrib help


gypsydogg

Recommended Posts

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.

Link to comment
Share on other sites

  • 4 weeks later...
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 by bobbie
Link to comment
Share on other sites

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

 

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

Everything's funny but nothing's a joke...

Link to comment
Share on other sites

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...