Loading...
 
Skip to main content

Architecture / Installation


[SOLVED] Only admin can log in (Tiki 8.4)

The problem :


Suddenly nobody except admins could log in.
When I tried to log in as a Registered I fall on a tiki's error page telling me that my database was corrupted.

Solution (found it in the irc of the 2012-06-06)

  1. open lib/logs/logslib.php
  2. search
    Copy to clipboard
    "$result = $this->query($query, $bindvars, $maxRecords, $offset);"

    the line right BEFORE is the 'problem line' (~line 42X)
  3. Change THAT line by :
    Copy to clipboard
    $query .= " order by " . $this->convertSortMode($sort_mode);

    or delete the:
    Copy to clipboard
    a.
    (try the first one then the second one)
  4. Permissions should be messed up : look at object, categories and global permissions



Thanks a lot to arildb