I am signed in as admin and while viewing the configure page of comments section i get this error.....
* warning: array_keys(): The first argument should be an array in /home/public_html/mysite/myblog/modules/user.module on line 351.
* warning: implode(): Bad arguments. in /home/public_html/mysite/myblog/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/public_html/mysite/myblog/includes/database.mysql.inc on line 120.
is there a fix?
cheers
Comments
I hope this help you in
I hope this help you
in php.ini:
session.auto_start Off
Best regards!
What if you can't modify php.ini?
Is there some other workaround that anyone knows of? I'm pretty sure my ISP won't let me change that.
Alright, I'll do my own workaround
In the settings.php file go to line 121 and insert
session_unset();
session_destroy();
above it. Then insert:
ini_set('session.auto_start', 0);
above
ini_set('session.cache_expire', 200000);
If anyone knows a better way, It would be nice to know.
thanks!
This method works! Thanks :)
If that method doesn´t
If that method doesn´t work, you can try this post. I´ve got a very similar problem and there I´ve got the solution :-)
Rosamunda
Buenos Aires
Thanx! this worked for me
Thanx! this worked for me too.
I started getting errors every now and then and I figured out the user didn't have any roles (actually nothing in the user object).
After a page reload it would work again.
Searching a lot to find this topic, but finally seems to work.
PLEASE add this into the official release...
so the next person doesn't have to search that long...