Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Youtube module and silverstripe v2.3 +

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1300 Views
  • masoud.org
    Avatar
    Community Member
    2 Posts

    Youtube module and silverstripe v2.3 + Link to this post

    Hi,

    I'm not sure if anyone picked it up, but the Youtube module does not work entirely with silverstripe v2.3 onwards.

    This is most probably because the youtube module uses reserved words, eg: method user query. My guess is sliverstripe v2.3 went through some clean up therefore conforming to best practice.

    My recommendation to programmers do not use reserve words, check mysql docs for more info on reserved words.

    It would be nice though if the exception handler to give some kind of message to convey you are using resrved word.

    Anyways, to get around this problem for now you need to change Method, User and Query in youtubeGallery.php to something else eg:yUser. Also change the column names in the DB to the same name as in youtubeGallery.php. This work around works, but it does give a save error in CMS. So not entirely bug proof. I recommend the youtube module programmers to look into this ASAP.

    Thanks

    Masoud

    1300 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.