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.

MySQL Error: 1064 when trying to edit entries

June 28, 2007 3:06pm

Subscribe [2]
  • #1 / Jun 28, 2007 3:06pm

    Deelicious

    86 posts

    I’ve been using version 1.6 with no problems, but today when I click on the Edit tab, I get the following error:

    MySQL ERROR:

    Error Number: 1064

    Description: 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 ‘90WICHnp-uCpRP2lFKu9Ua0p-gxJI2bv8R93ZbXCK7U.’ at line 2

    Query: SELECT exp_weblog_titles.entry_id FROM exp_weblog_titles LEFT JOIN exp_weblogs ON exp_weblog_titles.weblog_id = exp_weblogs.weblog_id LEFT JOIN exp_members ON exp_members.member_id = exp_weblog_titles.author_id WHERE exp_weblogs.site_id = ‘1’ AND exp_weblog_titles.weblog_id IN (‘3’,‘10’,‘9’,‘6’,‘1’,‘2’) AND exp_weblog_titles.author_id = exp_members.member_id ORDER BY entry_date desc LIMIT 0, 90WICHnp-uCpRP2lFKu9Ua0p-gxJI2bv8R93ZbXCK7U.

    I’m not very familiar with MySQL databases. I’ve tried running the query above in phpmyadmin but it returns with another error. Any thoughts? Thank you.

  • #2 / Jun 28, 2007 3:08pm

    Lisa Wess

    20502 posts

    Hi, deanna—

    What build are you running? You can find that at the bottom of your control panel.

    Also - are you running and extensions? You can find them listed in Admin -> Utilities -> Extensions Manager.

  • #3 / Jun 28, 2007 3:14pm

    Deelicious

    86 posts

    Build:  20070622

    No extensions.

  • #4 / Jun 28, 2007 3:17pm

    Lisa Wess

    20502 posts

    Can I ask you to update to the latest build and see if that doesn’t help? We can go from there.  Thank you.

  • #5 / Jun 28, 2007 4:08pm

    Deelicious

    86 posts

    Ok, I’ve just updated to the latest build, still the same error.

  • #6 / Jun 28, 2007 4:12pm

    Lisa Wess

    20502 posts

    Can you head here: distant, early morning ›  Admin ›  Utilities › SQL Manager and let me know your SQL info, please?

  • #7 / Jun 28, 2007 4:19pm

    Deelicious

    86 posts

    Database Type:    mysql
    Database Version:    4.1.22-standard
    Database Records:    795
    Database Size:    825.1 KB
    Database Uptime:    4 hours, 22 minutes

  • #8 / Jun 28, 2007 4:25pm

    Lisa Wess

    20502 posts

    Was this happening 5 hours ago, do you happen to know?

    I’m going to look into this with our team as well, as I’m not sure what would be causing this.  In the mean-time, you might try running a repair and optimize on all of your tables and let me know if that helps.

  • #9 / Jun 28, 2007 4:26pm

    Lisa Wess

    20502 posts

    You know, can you head to Admin -> System Preferences -> Security and Session Preferences and let me know if you’re using sessions at all? If you are, can you try switching to cookies only and see if that alleviates the error?

  • #10 / Jun 28, 2007 4:37pm

    Deelicious

    86 posts

    I repaired and optimized all tables and changed Control Panel Session Type and User Session Type to “Cookies Only”. I wish I could report positive results, but it still gives the same error message.

    By the way, I first noticed this problem about 12 hours ago.

  • #11 / Jun 28, 2007 4:46pm

    Lisa Wess

    20502 posts

    Ok. It was worth a shot.  I need to look into this so   I’ll get back to you when I have more information =)

  • #12 / Jun 28, 2007 5:02pm

    Deelicious

    86 posts

    Thanks for you help!

  • #13 / Jun 28, 2007 5:15pm

    Derek Jones

    7561 posts

    Can you delete your cookies, deanna?  Sounds like one of them has some bad information.

  • #14 / Jun 28, 2007 5:22pm

    Deelicious

    86 posts

    Ahhh….it worked! Glad it was an easy fix. THANK YOU SO MUCH to Lisa and Derek. There really is no support out their like Expression Engine’s team. Thanks again.

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

ExpressionEngine News!

#eecms, #events, #releases