Support » Fixing WordPress » Parse error Galore!

  • I have only built three sites in WordPress and really enjoy its ease for an amateur HTML/CSS guy like myself. I recently went to my wp-admin to continue working on a site, then madness ensues. I have read many simple solutions to repair one or two, but we have quite a few lines here. Where did I go wrong?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Andrew Nevins


    What are the errors and where are you experiencing them?

    Have a look at the link. Everything from the log in to the header and footer. We were just working on the site a few days ago and everything was fine.

    The errors are coming up when I try to log in to the admin, and on every page of the site.

    Check your code files for blank lines at the beginning of the file – that could be the cause of the error.

    If that is not the case, then you may have a malware infection.

    I have two sites on my server, both are doing the same now that I am checking the other. Here is the other,

    This site has not been worked on in a few days. I have a third site, not WordPress, that are o.k. Will this always be an issue
    with WordPress?

    Both WordPress sites are in separate directories also. If it is malware, what is the best security in the future? Should I uninstall WordPress and themes and start over?

    Without having more information than

    We were just working on the site a few days ago and everything was fine.

    I would suggest reviewing your web server’s error log. Your hosting company can often help you with this – and the related troubleshooting.

    Something to try:
    You may not have enough PHP memory going to each of the sites. To resolve:

    1. If you have an access of PHP.ini file of the account/server then change the line in PHP.ini where line shows 32M to 64M:
    memory_limit = 64M; Maximum amount of memory a script may consume (64MB)
    2. If you do not have access of PHP.ini file then add this to an .htaccess file of your domain:
    php_value memory_limit 64M
    3. Try to add this line to your wp-config.php file to increase allocated memory to PHP:
    define(’WP_MEMORY_LIMIT’, ‘64M’);

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Parse error Galore!’ is closed to new replies.