Hello.
One thing to try is renaming the plugins to see if that resolves the issue. If that doesn’t work check the error_log. Are you able to post a snippet of the error_log? Maybe the last 10 lines if possible.
Hi there thanks for your reply.
I don’t have any plugins or themes installed. I can’t even install WordPress. I downloaded the files from ww.wp.xz.cn, unzipped them and uploaded via FTP to my host. that’s it, when I go to open the site to install WordPress all these errors keep coming up. Including;
This page isn’t working
www.timelessantiques.com.au is currently unable to handle this request.
HTTP ERROR 500</strong><em>
The address where this is happening is http://www.timelessantiques.com.au/demo/wp-admin/setup-config.php
so I can’t even install WordPress on the hosting server
The error log is as follows:
[Tue Aug 28 05:14:13 2018] [error] [client 203.111.5.198] PHP Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/wwwtimel/public_html/demo/wp-includes/class-wp.php on line 611
[Tue Aug 28 05:11:59 2018] [error] [client 203.111.5.198] PHP Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/wwwtimel/public_html/demo/wp-includes/class-wp.php on line 611
[Tue Aug 28 05:03:36 2018] [error] [client 203.111.5.198] PHP Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /home/wwwtimel/public_html/demo/wp-includes/cache.php on line 667
Thanks heaps.
I have another WordPress site running perfectly on the hosting. I uploaded those files to this account and still got all the errors. and as a side note everything works just fine on my localhost.
Tia
‘Parse error: syntax error, unexpected $end’
That error means that one or more files have not uploaded correctly, and the PHP parser is hitting the end of the file before it’s meant to. You should try downloading a new copy of the WordPress files, and uploading those via FTP. I know that you did that before, but something has become corrupted between the download and upload.
it seems to be my ftp client that is corrupting the files maybe? I have tried heaps of different uploads, brand new versions, older versions even another site that is running perfectly on the hosting. so I’m starting think it may be the ftp client.
One way to check is to look on the server and find the file that has the problem. You’ll be able to see where the file ends, and if that’s different to the way that the file is when you download the main ZIP file you’ll know that there’s a problem.
Thanks, catacaustic
I change my ftp client and wolahhh it all works now.
Done my head in for 2 days. Thank you for your time
I had this same issue and resolved it this way:
• All files need to have permissions set to 644
• All folders need to have permissions set to 755
My FTP client was defaulting the all the folders it uploaded to 775, which was causing the 500 error pre-installation… This is why once @warren14 changed his FTP client, it worked.
Which FTP client worked for you ? I am facing the same issue.
On Mac, we use Transmit by Panic. (https://panic.com/transmit/)
For our PCs we found that Filezilla sucks, as it doesn’t allow you to change permissions, so we’ve switched to CyberDuck (https://cyberduck.io/). Both have worked flawlessly once configured and we’ve not had the issue since.