Domas Monkus wrote:
Hi, after a fresh install of drupal on my provider's server, I got these errors: * warning: array_keys() [function.array-keys]: The first argument should be an array in /home/newstyle/domains/newstyle.lt/public_html/tt/modules/user.module on line 351. * warning: implode() [function.implode]: Bad arguments. in /home/newstyle/domains/newstyle.lt/public_html/tt/modules/user.module on line 351. * user warning: 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 ')' at line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /home/newstyle/domains/newstyle.lt/public_html/tt/includes/database.mysql.inc on line 120.
I created the database, it's accessible, so this can't be the cause.
The one suspect (at least to me) is the fact that the server does not support the 'user' session save handler, so I'm forced to use 'files'.
Sorry, but then you can't use Drupal on that server. Setting the session save handler to "user" is a requirement.
Cheers, Gerhard