This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

This thread is resolved. Here is a description of the problem and solution.

Sometimes, you may run into a “500 Internal Server Error” when you try to access your site’s WordPress administration area. The error can be triggered by a plugin but usually, it is related to a particular issue with your server configuration, like memory limit, .htaccess file corruption, etc.

You can find more information and possible solutions for this error on the following page: https://wpml.org/faq/500-error/

If you are unable to resolve this error following one of the many online tutorials dealing with this error, it is strongly advised that you contact your hosting provider and ask for their assistance.

This topic contains 6 replies, has 4 voices, and was last updated by  Dat Hoang 2 years, 6 months ago. The support staff assigned to this topic is Dat Hoang.

Author Posts
Author Posts
January 12, 2015 at 6:26 am #540686

woratanaN

I am trying to: access wp-admin dashboard

I visited this URL: http://alpha.midnize.com/techsauce/wp-admin/index.php

I expected to see: dashboard

Instead, I got: 500 Internal Server Error
** Error only at Dashboard, other pages are fine.

January 12, 2015 at 11:28 am #540907

Selena
Forum moderator

Supporter languages: English (English )

Supporter Timezone: Europe/Rome (GMT+02:00)

Hi Woratana,

I'm Selena and I will help you with this issue.

---- Before any operation please perfom a full back-up ----
-- http://codex.wordpress.org/WordPress_Backups --
-- You can use a plugin for this if you like. I often use the Duplicator plugin for this, See: http://wordpress.org/plugins/duplicator/

The 500 Server Internal Error is a general error that must to be investigated.

The 500 Internal Server Error may belongs to a plugin.

Please enable the WordPress debug information:
codex.wordpress.org/Debugging_in_WordPress

Edit your wp-config.php file and add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

This will create an error_log.txt file in your site's root directory. Can you see what is the cause of the problem?
If the problem is related to a plugin and since you are not able to use the WordPress dashboard, you may want to deactivate the plugin manually.
You can do it by log in to the website using FTP and rename the plugin folder in order to deactivate the plugin itself.

If the issue persists can you please check the correctness of the .htaccess file:
http://wpml.org/documentation/getting-started-guide/language-setup/cannot-activate-language-directories/
section: Make sure that WordPress enables URL rewriting
You can also rename the .htaccess file to .htaccess_old and try to reload your website.
(To rename the .htaccess file, you need to log in to your site using the FTP and rename it)
Then go to:
Settings >> Permalinks and "Save" the current options. This operation will create a new .htaccess file.

If none of the above solution worked, can you please try to increase your PHP memory by editing this line in the wp-config.php file
define('WP_MEMORY_LIMIT', '64M');

The above solutions maybe not working the issue can be related to a corruption of WordPress files or issue with your hosting provider.

January 13, 2015 at 12:24 am #541401

woratanaN

I added init_set() as you provided. no log file created.

January 13, 2015 at 10:38 am #541567

Selena
Forum moderator

Supporter languages: English (English )

Supporter Timezone: Europe/Rome (GMT+02:00)

Hi Woratana,

1. Can you please describe me what happened when you disable all your plugins?
2. Did you check the correctness of the .htaccess file?
3. Did you increment the WP_MEMORY_LIMIT?

January 14, 2015 at 2:09 am #542060

woratanaN

1. WordPress work fine after disabled all plugins. but dashboard is not accessible when activate WPML (even it's the only activated plugin)
2. Here is my .htaccess

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

# END WordPress

3. WP_MEMORY_LIMIT is set to 128M. still not working.

January 14, 2015 at 3:49 pm #542520

Denise

Hi Woratana,

I'll help you with this further.

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Thanks,
Denise

January 16, 2015 at 11:14 am #543763

Dat Hoang

I continue to help you in this ticket 🙂

I can access your site but I can not access FTP. Could you check?

I activate WPML and see the problem. In this case, I suggest you contact with your hosting/server providers as well. Error 500 needs more info from them.

You can read more about this error here: http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.