terawurfl plugin not installing

Bold
14 years, 2 months ago
I successfully added a terawurfl database to my site then tried adding Mobile Joomla. I tried installing Mobile Joomla normally and from the /tmp folder with only partial success. After installation I get the warning:

"TeraWURFL is designed to work with MySQLi (MySQL improved) library"

But I meet all the requirements (mysqli, bzip2, etc) posted on this site. I notice that the plugins/mobile/ directory is empty. That is, the terawurfl plugin does not get installed. Has anyone else had this happen?
dryabov
14 years, 2 months ago
Bold wrote:
TeraWURFL is designed to work with MySQLi (MySQL improved) library


Actually it means that MJ cannot setup a mysqli connection (installer tests for mysqli isn't disabled, and then tries to setup real connection to check).

The best way to check that mysqli really works is to try to run Joomla (without MJ) in mysqli mode.
Bold
14 years, 2 months ago
Thanks for the quick reply - MySQLi is set up, any idea why MJ's not connecting? Something I'm missing on the PHPadmin side? Here's the PHP Information listed under System Info in my Joomla setup:


MysqlI Support enabled
Client API library version 5.0.91
Client API header version 5.0.91
MYSQLI_SOCKET /var/lib/mysql/mysql.sock

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
dryabov
14 years, 2 months ago
So, Joomla works through mysqli and TeraWURFL fails, correct?
Do you use latest (0.9. version of MJ?
Bold
14 years, 2 months ago
Correct, MJ 0.9.8 installs with the previously mentioned warning.
kiteplans
14 years, 2 months ago
I am having the same error message....
dryabov
14 years, 2 months ago
Bold wrote:
TeraWURFL is designed to work with MySQLi (MySQL improved) library

This warning arises in the check
 
if(!class_exists('mysqli') || !function_exists('mysqli_connect'))
{
$WARNINGS[] = JText::_('TeraWURFL is designed to work with MySQLi (MySQL improved) library.');
$test = false;
}
 

that is mysqli extension is not loaded (because of it declares mysqli class and mysqli_connect function).

Check that you have
extension = mysqli.so

in your php.ini and that abovementioned class and function aren't disabled through disable_classes and disable_functions.
pranayt
13 years, 4 months ago
I got the same error while accessing the mobile website, I am running on PHP5 and mysql, should i change the database to mysqli? Please help.

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.