I update audio module from 5x 1.0 to 5.x 2.x version , add active the "Audio Playlist " module.
when I click "Add to playlist" from the audio node I get the error messenger that
Add audio file to a playlist
__________________________________________________________________________________
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 'ORDER BY n.sticky DESC, n.title ASC' at line 1 query: SELECT DISTINCT(n.nid), n.title FROM node n WHERE n.status=1 AND ORDER BY n.sticky DESC, n.title ASC in /home/ton/domains/zone.vn/public_html/includes/database.mysql.inc on line 172.
__________________________________________________________________________________
Can you tell me where the error from!
thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | addplaylist error2.JPG | 128.55 KB | zeke-1 |
| #2 | addplaylist error.JPG | 69.81 KB | zeke-1 |
Comments
Comment #1
zirafa commentedCan you provide some more information? What else did it show on the page? (a screenshot would be very helpful)
Comment #2
zeke-1 commentedhere my screenshot follow when I click the "add to playlist"
screenshot
Comment #3
zeke-1 commentedAnd the URL of the screen is: http://www.domain.com/audio_playlist/1679?destination=audio
Comment #4
zirafa commentedAh, looks like you don't haven't created any playlist nodes yet, so it's spitting out this error. A playlist = a node with audio_attach and audio_playlist enabled. Can you check if that's the problem?
If that's the problem, I need to put a fix so that the error doesn't happen.
Comment #5
zeke-1 commentedYou say: A playlist = a node with audio_attach and audio_playlist enabled
How do I enable audio_playlist ?
Do you means "audio_playlist module", I really enable it.
Comment #6
zirafa commentedAfter you turn on both audio_attach and audio_playlist modules, go to admin/content/types to specify which content type should accept audio attachments. This node type, which has audio attachments enabled, can now be used by the audio_playlist.module as a "playlist". The audio_playlist module then allows you to browse the site and quickly add an audio file to an existing playlist.
Does that make sense? Maybe first just try to get audio_attach working by itself. Then when you turn on audio_playlist it should make sense.
Comment #7
zeke-1 commentedThank you very much for your support , it very clear... and I can do it now.
But I got other error display,
I create a new node type, it's name play-list, and enable the "audio attachments" , when I create the new play-list node ,the error display appear (you can see the screenshot in the attack file) but when I submit that still work right.
Comment #8
zirafa commentedWatch out about changing the issue title.
Hm that error sounds like it's from an older version of the module...but I'll take a look see.
Comment #9
zeke-1 commentedThanks, zirafa
I am looking for you answer.
Should I re move the audio mudule and install the new one!
Comment #10
zirafa commentedI committed a change to fix the original problem. The changes should get rolled into the 5.x-2.x branch shortly. If you encounter a new error unrelated to the original post, please file a new bug report. Thanks.
Comment #11
(not verified) commented