WordPress.org

Ready to get started?Download WordPress

Forums

Database Syntax Error and No Files Found (5 posts)

  1. mimigaber
    Member
    Posted 7 years ago #

    Hello out there:

    I need help. I upgraded and then there were no files:

    This showed up in the section where all of my posts show up:

    "Not Found
    Sorry, but you are looking for something that isn't here."

    And this showed up where my blog roll is:

    "WordPress database error: [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 '' at line 1]
    SELECT cat_id, cat_name FROM"

    I tried to restore the database but that just created more file folder in the FTP log.

    Can someone tell me what to do? guide me through how to restore it, etc.

    Thanks!

  2. Class
    Member
    Posted 7 years ago #

    the section where all of my posts show up

    Where is that, your front page, individual posts? Maybe you need to update your permalinks?

    where my blog roll is

    Do you mean your links list? The theme you are using may not be WP2.1 compatible.

    I tried to restore the database but that just created more file folder in the FTP log

    I don't understand what you mean.

  3. mimigaber
    Member
    Posted 7 years ago #

    Hi Class:

    Thanks for replying.

    I fixed the "No Files Found." I just needed to upgrade WordPress.

    And at your suggestion, I changed themes which solved the blogroll problem. Thank you for your help.

    Much appreciated!

  4. Class
    Member
    Posted 7 years ago #

    You don't have to change to another theme, just edit your sidebar.php.

    The sidebar for the theme that doesn't work may have this: <?php wp_get_links(); ?>, all you have to do is to change it to use <?php wp_list_bookmarks(); ?>.

    Check the documentation.

  5. Class
    Member
    Posted 7 years ago #

    Grr, this forum is wonky :)
    Documentation here.

Topic Closed

This topic has been closed to new replies.

About this Topic