Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Couldn't run query Error

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 915 Views
  • jarop
    Community Member
    19 Posts

    Couldn't run query Error Link to this post


    i have the following problem when i moved with my db from a local system to the webserver.

    When i want to visit a gallery in published version there is this error message:

    [User Error] Couldn't run query: SELECT "ImageGalleryAlbum"."ClassName",
    SortOrder DESC LIMIT 1 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 SortOrder DESC LIMIT 1' at line 1

    SS 2.4.5
    MySQL on the Webserver: 5.0.51a
    MySQL local: 5.5.8

    Any idea?

  • jarop
    Community Member
    19 Posts

    Re: Couldn't run query Error Link to this post

    Ok, it works now.

    The problem was in the name of the folder for the dom.

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.