Title: Internal Server Error when accessing .js script
Last modified: August 24, 2016

---

# Internal Server Error when accessing .js script

 *  Resolved [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/)
 * I am getting an error whenever a WordPress page tries to load the Akismet .js
   file.
 * The error is
 * GET plugins/akismet/_inc/akismet.js?ver=3.1.1 500 (Internal Server Error)
 * This is causing some conflicts with some other javascript based code. Such as
   I am unable to expand and collapse panels on the Admin Dashboard.
 * Thoughts as to what is causing the error?
 * (p.s I updated to 4.2.2 last night… could that have caused a problem?)
 * [https://wordpress.org/plugins/akismet/](https://wordpress.org/plugins/akismet/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * (@cfinke)
 * [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/#post-6106237)
 * A 500 error from accessing a JS file is pretty unusual and is probably best addressed
   by your web host.
 *  Thread Starter [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/#post-6106243)
 * Yeah I thought so too, 500 is usually a problem with server side scripts…
 * My server is a Cloud Server (Rackspace) so I am the admin of it.
 * Could it be that the GET command is passing variables (version number)? The error
   actually on both the .js file and the .css file.
 * As to the admin dashboard issue, that was actually caused by another plugin (
   woothemes helper).
 *  Thread Starter [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/#post-6106250)
 * That cannot be the issue… my pages load other .js and .css files that have version
   numbers passed as variables, and they are loading with no problems.
 * Something wrong with the .js and .css files perhaps? Should I try to re upload
   them via FTP?
 *  Plugin Author [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * (@cfinke)
 * [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/#post-6106255)
 * Re-uploading couldn’t hurt. It could also be related to the .htaccess file, which
   is supposed to explicitly grant access to those files. If re-uploading doesn’t
   help, try removing the .htaccess file.
 *  Thread Starter [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/#post-6106264)
 * Removing the .htacess fixed it. But are there any security issues I should be
   worried about?
 * Could it be that the .htaccess was conflicting with my apache .conf?
 *  Plugin Author [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * (@cfinke)
 * [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/#post-6106269)
 * > But are there any security issues I should be worried about?
 * Marginally. The .htaccess blocks direct access to the PHP files, because in cases
   where a WordPress blog was compromised, hackers were putting their malicious 
   payloads in the akismet/ directory (which most blogs have and typically has acceptable
   permissions for that kind of thing) and then directing unsuspecting users to 
   example.com/wp-content/plugins/akismet/badfile.php The .htaccess rules would 
   prevent access to that file.
 * Could it be that the .htaccess was conflicting with my apache .conf?
 * > I don’t know that it would be a conflict rather than just an incompatibility
   > with your version of Apache. What version are you running? You could try restoring
   > parts of the .htaccess file to see if a certain part of it breaks those URLs.
 *  Thread Starter [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/#post-6106278)
 * Thanks again Chris,
 * I am running Apache/2.2.22 (Ubuntu) – I will have a look at the .htaccess and
   rebuild it and check as I go and see if there is anything in particular that 
   could be causing the problem.
 * Cheers,
    Chris

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Internal Server Error when accessing .js script’ is closed to new replies.

 * ![](https://ps.w.org/akismet/assets/icon-256x256.png?rev=2818463)
 * [Akismet Anti-spam: Spam Protection](https://wordpress.org/plugins/akismet/)
 * [Support Threads](https://wordpress.org/support/plugin/akismet/)
 * [Active Topics](https://wordpress.org/support/plugin/akismet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/akismet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/akismet/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/internal-server-error-when-accessing-js-script/#post-6106278)
 * Status: resolved