• Resolved ash19leigh

    (@ash19leigh)


    Parse error: syntax error, unexpected ‘*’ in /home4/ab71046/public_html/wp-config.php on line 74

    My website is completely down with a white page appearing and this error above appearing.

    I checked the wp_config file, and on line 72 is:

    define(‘WP_MEMORY_LIMIT’, ’64M’);

    Why would this be causing a problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    A syntax error indicates that you may have made a mistake while creating your PHP structure. When this error appears it will tell you which file the error appears in (e.g., functions.php) and approximately which line (it may not always be the exact line so be sure to check just before and just after) in the code.

    Try:
    – fix PHP structure in the file around the line indicated in the error message
    – or, upload a fresh copy (unedited) of this file
    – or, upload a fresh copy of your theme. If you immediately need to get in the dashboard, you can switch to the default theme by renaming your currently active theme’s folder inside /wp-content/themes/ and adding “-old” to the end of the folder name using FTP or SFTP or any whatever file management application your host provides.

    Thread Starter ash19leigh

    (@ash19leigh)

    Hi Tara

    Thank you very much for replying to me, the error turned out to be that there was a \ missing before the * here:

    /* For developers: WordPress debugging mode.

    I’m not sure how this happened as I have never edited this, away to have a google to find out how this changed itself! ??

    Thanks again for your help.

    Moderator t-p

    (@t-p)

    you are welcome ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse Error – Website Down’ is closed to new replies.