Title: Parse error: syntax error, unexpected  CANT ACCESS PAGE
Last modified: August 20, 2016

---

# Parse error: syntax error, unexpected CANT ACCESS PAGE

 *  [analisa114](https://wordpress.org/support/users/analisa114/)
 * (@analisa114)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/)
 * I was adding some text working on the excerpt to the function.php area of the
   editor function, pressed update, and then this error came up “Parse error: syntax
   error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/cbslife.dk/public_html/
   wp-content/themes/canvas/functions.php on line 129”
 * the website url is normally [http://www.cbslife.dk](http://www.cbslife.dk) but
   now i can’t even access that or the wordpress site to try and make edits to fix
   it. I have no idea what to do and am freaking out in fear that the entire website
   might be lost. What do I do????

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

 *  [zenticdk](https://wordpress.org/support/users/zenticdk/)
 * (@zenticdk)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413058)
 * Do you have a backup file of the function.php ? is this the first time you made
   changes on this file? i think you might be able to upload and overwrite the file
   with the stock one from the installation package, that should make the site working
   again.
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413059)
 * Lol.. it’s okay. Calm down 😉 Your content is not lost forever.
 * Do you know what FTP access is? If not, do you know how to access your files 
   through your webhost’s control panel?
 *  Thread Starter [analisa114](https://wordpress.org/support/users/analisa114/)
 * (@analisa114)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413061)
 * This is my first time…. which is probably why this happened. How do I access 
   the FTP? I have no idea. Any help would be much appreciated. Y’all are life savers
   if you can get this to work again.
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413065)
 * 1. Download your themes files to your desktop.
    2. Extract the zip file. 3. Log
   into your hosting providers control panel. 4. Navigate to your online file manager.
   5. Navigate to /wp-content/YOURTHEME/ 6. See if there is a ‘footer.php’ file.
   7. Upload the ‘footer.php’ file from your desktop (the one your extracted) to
   this folder, over-writing the original.
 * You should now be able to access your website.
 *  Thread Starter [analisa114](https://wordpress.org/support/users/analisa114/)
 * (@analisa114)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413069)
 * Where do I go to download theme files to my desktop?
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413071)
 * What theme are you using?
 *  Thread Starter [analisa114](https://wordpress.org/support/users/analisa114/)
 * (@analisa114)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413073)
 * I was using a theme from woothemes not from wordpress. Does that make a difference?
 *  Thread Starter [analisa114](https://wordpress.org/support/users/analisa114/)
 * (@analisa114)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413074)
 * I was using a theme from woothemes not from wordpress. Does that make a difference?
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413075)
 * It doesn’t make a difference, but you do need to have the same theme’s files 
   as your installation.
 * Okay, second option… login to your hosing control panel and download your footer.
   php file to your desktop.
 * Copy the ENTIRE contents, and go to [http://www.pastebin.com](http://www.pastebin.com),
   and paste your code. Click submit, and on the next page, copy the link address
   and paste it back here. I’ll look at your code and see if I can correct the error.
 *  Thread Starter [analisa114](https://wordpress.org/support/users/analisa114/)
 * (@analisa114)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413082)
 * it’s called canvas
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413085)
 * That is a paid theme. You will need to contact them to get a replacement footer.
   php file.
 * Or you can follow my previous message, and we can try to correct the error.
 *  Thread Starter [analisa114](https://wordpress.org/support/users/analisa114/)
 * (@analisa114)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413126)
 * [http://pastebin.com/M4CUjwg5](http://pastebin.com/M4CUjwg5) this is the code
   that came up.
 * even if we find the error though, how will i be able to get into wordpress to
   correct it?
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413203)
 * Analisa… I’m so sorry.
 * I meant to get your **functions.php** file, NOT the footer.php file.
 * That’s totally my fault.
 * Please do the exact same thing you did with the footer.php file with pastebin,
   but this time do it with your functions.php file.
 * Then, once I make the correction, I will post it back to pastebin. Next, you 
   can log into your hosting control panel, and delete the functions.php file, and
   reupload my newly created one.
 * This SHOULD let you back into your website.

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

The topic ‘Parse error: syntax error, unexpected CANT ACCESS PAGE’ is closed to 
new replies.

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [website down](https://wordpress.org/support/topic-tag/website-down/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 3 participants
 * Last reply from: [Josh](https://wordpress.org/support/users/josh401/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-cant-access-page/#post-2413203)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
