Loading...
 
Skip to main content

Features / Usability


SQL plugin broken in 1.8.4.1

Hi,

First of all, thanks to all the Tiki developers - Tiki keeps getting better and better!

I just upgraded my Tiki server from 1.8.3, and 1.8.4.1, and when viewing a page in which I use the SQL plugin, I got the following error:

Warning: mysql error: select command denied to user: 'tiki@localhost' for table 'tiki_dsn' in query:
select `dsn` from `tiki_dsn` where `name`='mydsnname'
in /home/tikiwiki-1.8.4.1/lib/tikidblib.php on line 133

Warning: Invalid argument supplied for foreach() in /home/tikiwiki-1.8.4.1/lib/tikidblib.php on line 143

Fatal error: Call to a member function on a non-object in /home/tikiwiki-1.8.4.1/lib/tikidblib.php on line 151


I double-checked that the permission were right, both on the filesystem and on the database, and everything seemed to be OK. Then, digging through my notes, I found that when I installed 1.8.3, I had a similar problem, which I fixed as described in this messageQuestion. I tried the same patch in 1.8.4.1, and it fixes the problem again!

Is there a better fix for this? Should it be fixed in the distribution? Am I doing something wrong?

Thanks,
--ZZamboni