[support] strange array_keys error
    Domas Monkus 
    domas.m at gmail.com
       
    Sun Sep 10 20:03:42 UTC 2006
    
    
  
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'.
The software on the server is mysql 4.0.26 and php 4.4.4, the db schema
was created from the correct (4.0) dump.
The phpinfo() is here : http://dobilas.serveriai.lt/PHP/
If anybody's got any ideas as to why this may be so, I'm open to
suggestions.
Thanks in advance,
Domas
    
    
More information about the support
mailing list