Forums

Intial Setup Errors (9 posts)

  1. ashinoff
    Member
    Posted 4 years ago #

    I just setup the wordpress software for my website (it will eventually become my site). I'm getting a bunch of errors that I have no clue how to resolve.

    On the mainpage theres an SQL error (MySQL 4, clean install). When you click on any mainpage comment there are errors. I'm not sure how to put these fires out. I was hoping someone could either link me to how to resolve matters myself or recommend someone that I can hire to get the site working the way I need it to in short order.

    MAIN PAGE ERROR
    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

    COMMENTS ERRORS
    Warning: comments_template(/homepages/9/d192863193/htdocs/mysite/wordpress/wp-content/themes/theme122/comments.php) [function.comments-template]: failed to open stream: Success in /homepages/9/d192863193/htdocs/mysite/wordpress/wp-includes/comment-template.php on line 308

    Fatal error: comments_template() [function.require]: Failed opening required '/homepages/9/d192863193/htdocs/mysite/wordpress/wp-content/themes/theme122/comments.php' (include_path='.:/usr/local/lib/php') in /homepages/9/d192863193/htdocs/mysite/wordpress/wp-includes/comment-template.php on line 308

    I do not know if its inappropriate to post a direct link to my site. So if you have info for me or can refer me please contact me and I will provide the link privately.

  2. ashinoff
    Member
    Posted 4 years ago #

    never mind

  3. ecouvillon
    Member
    Posted 4 years ago #

    ACK! NOT "nevermind"! I'm having the same error except this is all I can see on my screen:

    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 have NO idea where to go or what to do, except maybe uninstall --- any ideas?

  4. moshu
    Member
    Posted 4 years ago #

    ecouvillon,
    gve more info.
    Is this a new install or upgrade?
    What did you do before the error appeared?

  5. ashinoff
    Member
    Posted 4 years ago #

    Actually I managed to resolve the matter by deleting everything and reloading from wordpress 2.2,my template and the widgets scratch. One of the errors was due to a widget that wouldn't activate (called Widgets) and another message was from an activated widget (delicious?).

    Now the trick for me, that I have an operational site is to figure out how to make it look good. I know near nothing when it comes to CSS or blog management.

  6. ecouvillon
    Member
    Posted 4 years ago #

    moshu,

    It was an upgrade. I was following the instructions entitled "How to upgrade in five easy steps" and finished step four where it had me point my browser to http://example.com/wordpress/wp-admin/upgrade.php. Step five said to reactivate my plugins but I was unable to get back to the admin panel to do that part ... it just kept taking me to my main WordPress page with the error in the top left corner.

  7. moshu
    Member
    Posted 4 years ago #

    NSFW!

    OK, you are using a theme that is not compatible with 2.2.1.
    Check what template tag is used to display your categories (probably deprecated) and replace it with the new one.
    http://codex.wordpress.org/Template_Tags/wp_list_categories

  8. ecouvillon
    Member
    Posted 4 years ago #

    Great! ummm .... how/where do I replace it? (Definitely am NOT a programmer).

    what's NSFW by the way?

    THANK YOU!!!

  9. moshu
    Member
    Posted 4 years ago #

    Not Safe For Work - many people visit this forum from workplace computers... :)

    In your sidebar: sidebar.php

Topic Closed

This topic has been closed to new replies.

About this Topic