Fatal error: TeraWurflDatabase_MySQL5.php on line 103

lucaslopatka
14 years ago
Hi, this is the error I'm getting.

Fatal error: Call to a member function close() on a non-object in /home/rmgselec/domains/rmgselection.com/public_html/plugins/mobile/terawurfl/DatabaseConnectors/TeraWurflDatabase_MySQL5.php on line 103

Using Joomla! 1.5.18, and MJ 0.9.8.

Not getting it on my local box...
Apache/2.2.11
PHP/5.3.0
MySQL 5.1.36

... only on the live site...
Apache/2.0
PHP/5.2.10
MySQL 5.0.51a

Have tried increasing MySQL thread_stack to 192 and 256 -- no dice. Also changed conf to reflect lower_case_table_names... Perhaps I need to upgrade to MySQL 5.1?

Turning off the TeraWURFL plugin solves the problem ( but so much for User Agent detection -- the subdomain routes are switching however. See iphone.rmgselection.com & m.rmgselection.com )...

What's up with this? Help appreciated.

Lucas
dryabov
14 years ago
Try to choose mysql4 mode in Mobile-TeraWURFL plugin settings.
If it doesn't help -> reinstall MobileJoomla.
lucaslopatka
14 years ago
BTW I can't install the thing online due to shared hosting crap (it's not my site, I built it for a client). Installed it locally and ported it to the live version.

Switching to MySQL produces:

Fatal error: Call to a member function close() on a non-object in /home/rmgselec/domains/rmgselection.com/public_html/plugins/mobile/terawurfl/DatabaseConnectors/TeraWurflDatabase_MySQL4.php on line 88

What changes during the installation? Is there something that I can do manually do fix this?
dryabov
14 years ago
Do you include stored procedures into mysql dump?
lucaslopatka
14 years ago
Aha! Damn host says I need SUPER privileges to do so... missed that -- see if that works. Awesome.
tripleTTT
13 years, 11 months ago
Hello,
i have same problems. Joomla 1.5.
After install error:
Database error: Access denied for user 'username'@'%' to database 'databasename' SQL=LOCK TABLES `jos_TeraWurflIndex` WRITE
Instalator says succes.
But sites (like iphone.domain.com) show same erros described in this thread. on line 88 or 103.
My instalation is not ported. I build online. In database is record from this module (plugin)
All pluings are enabled. I have tried both sql options mysql 4 and 5.
:-/
dryabov
13 years, 11 months ago
tripleTTT, ask your hoster/admin to grant you "LOCK TABLES" privilege.

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.