ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CP Error when trying to delete entry.

November 01, 2009 8:44am

Subscribe [5]
  • #16 / Nov 02, 2009 4:45pm

    Ingmar

    29245 posts

    Could you have ANSI_QUOTES enabled on your MySQL server? This would mean that the double quote is not treated as a string quote character and double quotes can’t be used to quote literal strings because they are interpreted as identifier.

    Turn it off, there’s no good reason to have it enabled. It’s decidedly non-standard, ANSI and ANSI_QUOTES will kill most commercial MySQL apps.

  • #17 / Nov 02, 2009 4:56pm

    rt30000

    125 posts

    sql mode =  REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI

    What/how should I change it? I can admin it in phpMyAdmin.

  • #18 / Nov 02, 2009 5:02pm

    Ingmar

    29245 posts

    REAL_AS_FLOAT will not affect you, but PIPES_AS_CONCAT will not work with ExpressionEngine (or most apps expecting standard syntax), and the same is true for ANSI and ANSI_QUOTES. IGNORE_SPACE is not needed, but not an issue, either.

  • #19 / Nov 02, 2009 6:26pm

    rt30000

    125 posts

    Not quite sure what I need to change to fix? I switched mySQL to ANSI because I could not install EE in strict mode.

  • #20 / Nov 02, 2009 6:33pm

    Ingmar

    29245 posts

    No, STRICT mode is not an option, either. In fact, you don’t have to set any particular server mode, default settings should be fine on most setups. The default value is empty (no modes set).

  • #21 / Nov 02, 2009 7:07pm

    rt30000

    125 posts

    A resounding THANK YOU. It was in fact the SQL mode. I was not aware the default was blank, as mine was set to strict. The entry deletion worked after using this command in phpMyAdmin

    SET @@global.sql_mode = '';

    Thank you!

  • #22 / Nov 02, 2009 7:52pm

    Adam Dorsey

    1439 posts

    Hi rt30000-

    Glad you got things solved! Please feel free to post again, should you run into anymore issues 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases