• Resolved Habbakuk

    (@habbakuk)


    I had problems when making posts due to memory, getting the error Fatal error: Allowed memory size of 33554432 bytes exhausted, so I added the following code into my wp_config.php file: define('WP_MEMORY_LIMIT', '64M');

    After I saved it, and checked wp_config.php using Filezilla, the php code was all messed up and rendering all on one line like this:

    Since then, my website does not work as I keep getting this error: Parse error: syntax error, unexpected T_STRING in /home/gobeyond/public_html/wp-config.php on line 12

    How can I fix the php code so that it shows up and renders properly again?

    Nvm, found a sample wp_config.php, and changed mine to match it. Fixed.

Viewing 1 replies (of 1 total)
  • You may need to re-create your wp-config.php file. This time make sure that you use a plain text editor and upload the file in ASCII format.

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error due to PHP rendering’ is closed to new replies.