• After the site and admin area are completely down I have done some fixes and come to the following error message on main and admin pages:
    Parse error: syntax error, unexpected T_IF, expecting ‘(‘ in /wp-config.php on line 30
    (error code is minus my file path)

    Line 30 reads as follows:
    if ( !defined(‘ABSPATH’) )

    The line of code matches what I have found in the wp-config-sample file,

    Please explain what I am missing or am not seeing?

Viewing 1 replies (of 1 total)
  • I’d suggest that you re-do your wp-config.php file using the wp-config-sample.php file as a template. You’ve inadvertently created an error somewhere in your current config file and the easiest way to fix it is to create a new file from scratch.

Viewing 1 replies (of 1 total)
  • The topic ‘syntax error, unexpected T_IF, expecting ‘(‘’ is closed to new replies.