Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mod for PHPbb contrib in OSC


gypsydogg

Recommended Posts

I tried installing a mod for PHPbb, but 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)

Link to comment
Share on other sites

I tried installing a mod for PHPbb, but 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)

 

 

Let me clarify this a little better. This is a mod that adds a username to phpbb. I'm trying to use it in the phpbb contrib in OScommerce, so I know I'm asking for trouble.

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