Forums

500 Internal Server Error & "UEST_FILENAME} !-d" has a spelling mistake (3 posts)

  1. eirlymeyer1
    Member
    Posted 1 year ago #

    Wordpress Site Version: 2.6
    Site: /home/***/public_html/***site***.com/.htaccess

    I woke to have my site with a 500 Internal Server Error. I contacted my host & they stated 2 issues: 1.) An issue with writing to the .htaccess file & 2.) cpanel error log says that the line "UEST_FILENAME} !-d" has a spelling mistake.

    It has the following when writing to the file:
    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    UEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress
    --------------------------------------------------------------------

    Also, there is the cpanel error log says that the line "UEST_FILENAME} !-d" has a spelling mistake.

    1. What is the line supposed to say?
    2. Can someone help me fix this issue?
    3. How can I find out the root cause of this problem to not get this issue again?

    Any support & assistance will be greatly appreciated.

  2. moshu
    Member
    Posted 1 year ago #

    As the last line suggests, the .htaccess file should end like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Notice, you have some obsolete line.
    It could be a glitch... or it could be a sign of hacking...

  3. eirlymeyer1
    Member
    Posted 1 year ago #

    Moshu:

    Okay, I did whaty ou had suggested.

    Now, my site has this problem now:
    Fatal error: Call to a member function get() on a non-object in /home/****/public_html/*****/wp-includes/query.php on line 10

    I can access the site via the admin.
    However, when going directly to the site (HTTP://site.com),
    it's completely blank.

    What is the problem here?

    On IE browser -- it's blank
    Opera Browser -- bliank
    Firefox browers - -shows the error.

Topic Closed

This topic has been closed to new replies.

About this Topic