500 Internal Server Error
Posted 28 December 2013 - 05:21 PM
I am a bit perplexed and looking for some assistance here.
The following error is displayed if I try and log into WP to update my site:
Parse error: syntax error, unexpected $end in /home/k03grey/public_html/wp-content/plugins/dms-plugin-pro/dms-plugin-pro.php on line 184
This seems to have just appeared without there being any changes to my WP installation or any other setting (all was working fine before Christmas) additionally the same error is displayed from the public URL.
Address is: www.greyfinn.co.uk (de bugging is also enabled)
Any thoughts gratefully recieved.
Posted 28 December 2013 - 05:56 PM
Did you edit the plugin file?
Line 184 of that fil should read :
its the very last line.
Posted 28 December 2013 - 05:59 PM
thanks for your response - no I didn't.
Shall I just delete the pageline pro plug in and see what happens? (then reinstall)
Posted 28 December 2013 - 06:05 PM
just go to the wp-admin plugins page, wordpress should disable it for you as the plugin has edited itself Then remove it and re-install it.
Posted 28 December 2013 - 06:10 PM
I can't log into wordpress at all - I just see the error message when I browse to the wp-admin page.
I have deleted the plug in pro plugin from the server.
However, when I try the wp-admin page now I get a different error:
Parse error: syntax error, unexpected ':' in /home/k03grey/public_html/wp-content/plugins/w3-total-cache/w3-total-cache.php on line 68
Posted 28 December 2013 - 06:14 PM
'Something' has obviously been writing to your plugin files.
Rename the plugins folder to plugins_old, and create a new empty plugins folder
Posted 28 December 2013 - 06:36 PM
Great thanks - I have done this and can now log into wp-admin.
When I select 'visit site' or browse directly to the URL I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Posted 28 December 2013 - 06:58 PM
Ok so, open wp-config.php and change WP_DEBUG from false to true, then the error will be revealed.
Posted 28 December 2013 - 08:45 PM
I have opened wp-config and ('WP_DEBUG', true) is enabled. I cannot see any errors.
Posted 28 December 2013 - 09:21 PM
Well if WordPress debug wont show you the error, your gonna have to check the server logs like the error message says.
Posted 30 December 2013 - 06:06 PM Best Answer
My account had been hacked and my hosting provider needed to scan/clean and restore.
This is now resolved thanks.