I reinstalled Drupal just to test this out, so everything is clean.

1) Download all latest dependent modules (token, getID3, etc)
2) Enable them, and then Audio's every component
3) Just to be sure I didn't miss out any permission setting, I checked EVERY permission setting there is.
4) Create Audio node - this works fine.
5) Go to Home, where it is now published.
6) Click on Add to Playlist, and I get a long message:

Access denied

  • warning: array_fill() [function.array-fill]: Number of elements must be positive in C:\drupal\includes\database.inc on line 240.
  • warning: implode() [function.implode]: Invalid arguments passed in C:\drupal\includes\database.inc on line 240.
  • warning: array_keys() [function.array-keys]: The first argument should be an array in C:\drupal\modules\user\user.module on line 500.
  • 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 p.perm FROM shared_role r INNER JOIN thepiano_permission p ON p.rid = r.rid WHERE r.rid IN () in C:\drupal\modules\user\user.module on line 500.

7) Revisit every item under Administer to ensure I didn't miss any setting I should set.

There is nothing else I can configure, that might be related.

Does anyone else have this issue?

CommentFileSizeAuthor
#1 audio_playlist_295168.patch1.17 KBdrewish

Comments

drewish’s picture

Status: Active » Needs review
StatusFileSize
new1.17 KB

please try out the attached patch.

drewish’s picture

marked #262693: Playlist issue as a duplicate

drewish’s picture

Status: Needs review » Fixed

committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.