Hello,

I have a big problem with my Commons 2.0 install. indeed since some time ago I'm not able to create a content. Each time it provide me an Error 500 when I want to add content in a group. I updated Commons with the last release but the result is the same.

When I go the recent log entry it's saying 3 php errors:
- array_fill() [function.array-fill]: Number of elements must be positive in D:\apachewww\actit\includes\database.inc on line 252.
- implode() [function.implode]: Invalid arguments passed in D:\apachewww\actit\includes\database.inc on line 252.
- array_keys() [function.array-keys]: The first argument should be an array in D:\apachewww\actit\modules\user\user.module on line 514.

and the last one:
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 p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in D:\apachewww\actit\modules\user\user.module on line 514.

It appears that Commons is not able to see that I'm logged in because these errors are for Anonymous user but I'm the only one connected. I rebuilt permissions... but nothing happened

Is there someone that could help me. I have to push this web site soon in production.

Many Thanks by advance.

Comments

Cyberflyer’s picture

I am having a similar problem. 501 error when saving or previewing a specific group.

http://drupal.org/node/1396954

FrancoisL’s picture

Status: Active » Closed (fixed)

Hello,

I resolved my problem mu updating my install with the last commons archive. This archive had a problem with my unzipping tool so that was not unarchiving fine. Once I found the problem was coming from this tool I succeed with another one. So this issue is no longer exisiting for me.

FrancoisL’s picture

Issue summary: View changes

updating information