my tikiwiki installation worked very well for several months, but in the last days a problem occurred: the home page is blank, and viewing its source code, it contains only an empty BODY.
Moreover, if I try to call directly some URLs, as, for instance, the tiki-forums.php, the page is normally displayed. If I try to login as a normal user from that page, I get again an empty page
If I try to login as 'admin', instead, I get the following error:
Warning: mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1 in query:
select `permName`,`type`,`level`,`permDesc` from `users_permissions` where `type`= ? order by `permName` desc
in /home/incarava/public_html/wiki/lib/tikidblib.php on line 133
Fatal error: Call to a member function on a non-object in /home/incarava/public_html/wiki/lib/tikidblib.php on line 151
I use TikiWiki 1.8.5 with MySQL 4.1.18-standard and PHP 4.4.2.