Loading...
 
Skip to main content

Architecture / Installation


Can't get wiki up

Hello,

Since the last changes on the server administration (don't know which) I'm not able to get my wiki up.

Sometimes I get a blank page, and the last symptom is the following message when trying to access to login-scr:

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/public_html/wiki/lib/tikidblib.php on line 133

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

I've checked phpinfo in order to know which memory_limit is set, but don't find this parameter.

Any idea?

Thanks in advance.

> Hello,
>
> Since the last changes on the server administration (don't know which) I'm not able to get my wiki up.
>
> Sometimes I get a blank page, and the last symptom is the following message when trying to access to login-scr:
>
> 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/public_html/wiki/lib/tikidblib.php on line 133

>
> Fatal error: Call to a member function on a non-object in /home/public_html/wiki/lib/tikidblib.php on line 151
>
> I've checked phpinfo in order to know which memory_limit is set, but don't find this parameter.
>
> Any idea?
>
> Thanks in advance.


if the memory limit is not set then the default is no limit.
the mysql error might be because it is not set for universal char set.
the blank screen is may be the result of root installation. try installing in /tiki