Error TeraWurflDatabase_MySQL4.php on line 73

pcarmona
14 years, 1 month ago
Hi,

I am getting this error after a fresh install of mobilejoomla and enabling the terawurfl plugin.

Fatal error: Call to a member function close() on a non-object in /home/user/public_html/plugins/mobile/terawurfl/DatabaseConnectors/TeraWurflDatabase_MySQL4.php on line 73

That specific line of code refers to $res->close() but that is as far as I go with my programming skills.

I searched in the forum but couldn't find the same problem/solution.
Anybody encountered the same problem and knows how to fix it?
Thank you in advance.
PC
pcarmona
14 years, 1 month ago
Thank you for following up.

Joomla! version: 1.5.20
Your site address (if public): www.24ora.com
Which phones or browsers you have tested: Android works (without plugin) but can't test more since when I enable plugin terawurfl the error shows up.

PHP version: 5.2.9
MySQL version: 4.1.22-standard
operating system and its version: CENTOS 5.5 x86_64 standard

I looked in the forums but couldn't find any similar topic.

PC
pcarmona
14 years, 1 month ago
I installed mobilejoomla in a different joomla environment which is in a full different server.
Installation went well and it asked that the plugin could be enabled, however and I got exactly the same error when enabling the plugin terawurfl

Fatal error: Call to a member function close() on a non-object in /home/forsale/public_html/plugins/mobile/terawurfl/DatabaseConnectors/TeraWurflDatabase_MySQL4.php on line 73

Any idea how to fix this?
Thank you
PC
dryabov
14 years, 1 month ago
pcarmona wrote:
Fatal error: Call to a member function close() on a non-object in /home/forsale/public_html/plugins/mobile/terawurfl/DatabaseConnectors/TeraWurflDatabase_MySQL4.php on line 73


This error means that there is problem with sql-query
SELECT `deviceID`, `user_agent` FROM `[MATCHERTABLE]` WHERE `match`=1

where [MATCHERTABLE] is one of jos_TeraWurfl_*** tables. So, as I don't know, which of the matchers lead to the problem, try to test this query in phpMyAdmin for all of the matcher tables.
pcarmona
14 years ago
Hi guys,

At the end this was solved by switching the TeraWurfl plugin to use mysql 5.
Maybe it can help somebody else.

PC

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.