Title: Errors installing wordpress
Last modified: August 27, 2018

---

# Errors installing wordpress

 *  Resolved [warren14](https://wordpress.org/support/users/warren14/)
 * (@warren14)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/errors-installing-wordpress/)
 * Hi all I have a demo site I have put up for a client and it was working just 
   fine this morning. I uploaded some files via FTP from my localhost (which the
   site is working perfectly) and it had a heap of errors and I couldn’t access 
   it … I uploaded a clean set of files directly from wordpress.org and am getting
   a lot of code errors. “Parse error: syntax error, unexpected $end, expecting 
   T_VARIABLE or ‘$’ inpublic_html/demo/wp-includes/kses.php on line 1785
 * I have no idea whats happening I can’t even install wordpress ..
 * I was wondering if anyone has any idea of whats happening.
 * TIA
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-installing-wordpress%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [7 years, 9 months ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-10628833)
 * 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.
 *  Thread Starter [warren14](https://wordpress.org/support/users/warren14/)
 * (@warren14)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-10629841)
 * 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 wordpress.org, 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
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-10630371)
 * ‘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.
 *  Thread Starter [warren14](https://wordpress.org/support/users/warren14/)
 * (@warren14)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-10630826)
 * 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.
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-10630987)
 * 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.
 *  Thread Starter [warren14](https://wordpress.org/support/users/warren14/)
 * (@warren14)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-10631085)
 * 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
 *  [drentschler](https://wordpress.org/support/users/drentschler/)
 * (@drentschler)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-11177766)
 * 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](https://wordpress.org/support/users/warren14/)
   changed his FTP client, it worked.
 *  [rishulmatta](https://wordpress.org/support/users/rishulmatta/)
 * (@rishulmatta)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-11463746)
 * Which FTP client worked for you ? I am facing the same issue.
 *  [drentschler](https://wordpress.org/support/users/drentschler/)
 * (@drentschler)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-11464150)
 * On Mac, we use Transmit by Panic. ([https://panic.com/transmit/](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/](https://cyberduck.io/)).
   Both have worked flawlessly once configured and we’ve not had the issue since.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Errors installing wordpress’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 9 replies
 * 5 participants
 * Last reply from: [drentschler](https://wordpress.org/support/users/drentschler/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/errors-installing-wordpress/#post-11464150)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
