We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26682
    • 0 Posts
    Hi,

    I have a problem here, and hopefully someone can help me

    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 ’-1’ at line 7

    How can i check whats wrong ?

    Thanks
    Reply With Quote
      • 3749
      • 24,544 Posts
      Quote from: seppan at Sep 14, 2009, 02:47 PM

      Hi,

      I have a problem here, and hopefully someone can help me

      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 ’-1’ at line 7

      How can i check whats wrong ?

      Thanks
      Reply With Quote

      I’m afraid your question doesn’t give anyone nearly enough information to help you.

      You need to tell us exactly what you do that triggers the error, which MODx add-ons might be involved, and quote the full error message for us.

      It’s also helpful to include the version of MODx, the version of MySQL, and the version of PHP you are using.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting