Welcome, Guest
Username Password: Remember me

Error TeraWurflDatabase_MySQL4.php on line 73
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Error TeraWurflDatabase_MySQL4.php on line 73

Error TeraWurflDatabase_MySQL4.php on line 73 14 years, 1 month ago #560

  • pcarmona
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
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

Error TeraWurflDatabase_MySQL4.php on line 73 14 years, 1 month ago #2413

  • miohtama
  • OFFLINE
  • Expert Boarder
  • Posts: 112
  • Karma: 4

Error TeraWurflDatabase_MySQL4.php on line 73 14 years, 1 month ago #2432

  • pcarmona
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
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

Error TeraWurflDatabase_MySQL4.php on line 73 14 years, 1 month ago #2438

  • pcarmona
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
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

Error TeraWurflDatabase_MySQL4.php on line 73 14 years, 1 month ago #2445

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
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.

Error TeraWurflDatabase_MySQL4.php on line 73 14 years ago #2576

  • pcarmona
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi guys,

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

PC
  • Page:
  • 1
Time to create page: 0.12 seconds

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.