• 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 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)
  • 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.

    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

    (@analisa114)

    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.

    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

    (@analisa114)

    Where do I go to download theme files to my desktop?

    What theme are you using?

    Thread Starter analisa114

    (@analisa114)

    I was using a theme from woothemes not from wordpress. Does that make a difference?

    Thread Starter analisa114

    (@analisa114)

    I was using a theme from woothemes not from wordpress. Does that make a difference?

    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, 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

    (@analisa114)

    it’s called canvas

    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

    (@analisa114)

    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?

    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.