jDatabase error

Latest topics module for joomla

jDatabase error

Postby Valtiel » Thu Sep 01, 2011 4:33 pm

Hi all ! :)

I installed the 1.7 module on my 1.5 Joomla, then i had an error which say : "Fatal error: Class 'JDatabaseMySQL' not found in /homepages/30/d372053393/htdocs/modules/mod_phpbb3_ultimos_mensajes/helper.php on line 66"... :(
How can i fix it please ?

thanks
Valtiel
 
Posts: 1
Joined: Thu Sep 01, 2011 4:20 pm

Re: jDatabase error

Postby SeSoX » Sat Sep 03, 2011 10:51 pm

Hi Valtiel,

What database type have you got in the joomla configuration mysql or mysqli ? (Global configuration -> server -> database type)

If the config is set to mysql you can remove the line 66 in helper.php:

$forum_db = new JDatabaseMySQL($options);

and add the following line instead, this fix worked for v1.8 in joomla 1.6 so it may as well work for joomla 1.5

$forum_db = JDatabase::getInstance($options);

Let me know if this fixes the problem and I'll upload v1.7 again with the fix.

Cheers.
SeSoX
Govannom Team
http://www.govannom.org/
SeSoX
 
Posts: 67
Joined: Sat Apr 25, 2009 10:46 pm


Return to Forum Latest Topics / Modulo ultimos mensajes (joomla)

Who is online

Users browsing this forum: No registered users and 1 guest

cron