I know that this question deals with a third party plugin which you don't necessarily support. I have tried to get help in the filedepot board but have not been getting any responses.

I was just wondering if anyone here has been able to get Drupal Commons 6.x to work correctly with the FileDepot plugin.

When I try to upload a file the status bar goes all the way red and then nothing happens. This happens with any user even site admin. The only user it works correctly for is user number 1 that was created with the Commons instance. If I look in the apache error log I see the errors listed below. I have tried everything I know. I have dropped all the filedepot tables and reinstalled the module both the current latest 6 version and the latest 6 dev version. I installed a fresh instance of Drupal commons 6.x-2.10 , 2.9, and 2.8 with the filedepot plugin and it didn't fix it.

Core 6.26
Commons 6.x-2.10
Filedepot 6.x-1.3
I am also running the latest ldap and phpmailer modules

[Mon Aug 20 19:17:02 2012] [error] [client 10.27.200.66] PHP Notice: Undefined property: stdClass::$roles in /var/www/commons/modules/user/user.module on line 528
[Mon Aug 20 19:17:02 2012] [error] [client 10.27.200.66] PHP Warning: array_fill(): Number of elements must be positive in /var/www/commons/includes/database.inc on line 253
[Mon Aug 20 19:17:02 2012] [error] [client 10.27.200.66] PHP Warning: implode(): Invalid arguments passed in /var/www/commons/includes/database.inc on line 253
[Mon Aug 20 19:17:02 2012] [error] [client 10.27.200.66] PHP Notice: Undefined property: stdClass::$roles in /var/www/commons/modules/user/user.module on line 528
[Mon Aug 20 19:17:02 2012] [error] [client 10.27.200.66] PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/commons/modules/user/user.module on line 528
[Mon Aug 20 19:17:02 2012] [error] [client 10.27.200.66] PHP 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\nquery: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /var/www/commons/includes/database.mysqli.inc on line 134

Comments

edivito’s picture

Issue summary: View changes

correction

lsolesen’s picture

Status: Active » Closed (won't fix)

Closing out old issues. Please reopen if still relevant.

lsolesen’s picture

Status: Closed (won't fix) » Active

Closed by mistake. This might still be a valid issue. Please close it with the solution, if you already solved it.