Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Do you have FTP access (access to your website’s files and folders)?
Thread Starter
ewb22
(@ewb22)
i deleted the xcalender.php on line 96 but now i get the following error:
Parse error: syntax error, unexpected ‘*’ in /home1/ewb22/public_html/razorcrazycartuk.co.uk/wp-config.php on line 89
Can anyone help?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
If you rename the “plugins” folder itself to something different, all of your plugins will automatically deactivate. [Edit] Rename it back straight afterwards. Then you can reactivate them one by one until your site is working apart from the ‘xcalendar’ plugin.
I was going to recommend you post for support on the ‘xcalendar’ support, but I can’t find that plugin: https://wordpress.org/plugins/xcalendar
Thread Starter
ewb22
(@ewb22)
I have renamed my plugins folder via cpanel – wp content – plugin. I then renamed it back straight after and checked all the plugins in the folder, but nothing has happened.
The plugin i deleted was SEO advisor which i haven’t seen before but now know it is a hacker plugin. (site was hacked a few months ago) and so thats why i deleted the xcalender line in the wp-config.php file.
The only error i am getting now is: Parse error: syntax error, unexpected ‘*’ in /home1/ewb22/public_html/razorcrazycartuk.co.uk/wp-config.php on line 89
This is line 89:
/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
Is this correct?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Try renaming your active theme’s folder, i.e. “twentyfifteen” to something else. Assuming you have one of the default themes included in your “themes/” folder, WordPress should automatically deactivate your active theme. Then you can rename your theme’s folder (i.e. “twentyfifteen”) back. Your site should at least be up then.
Thread Starter
ewb22
(@ewb22)
nothing happened. Just shows the same parse error…..
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Ok, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php
file and the /wp-content/
directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.
Thread Starter
ewb22
(@ewb22)
thanks for the advice. All fixed now. I figured out When deleting the calendar/xcalendar.php line i deleted too much off.
thanks again