• I tried to change php.functions. But after i changed it it didn’t work. then i copy and pasted the previous code. after saving it the site totally disppeared. when i asked support team, i am told that there is some error log

    Error log:

    [29-Jul-2010 03:49:49] PHP Parse error: syntax error, unexpected ‘}’ in /home/news365/public_html/wp-content/themes/TodaysNews/functions.php on line 422
    [29-Jul-2010 03:49:49] PHP Parse error: syntax error, unexpected ‘}’ in /home/news365/public_html/wp-content/themes/TodaysNews/functions.php on line 422

    I cannot access my WP login page. They are telling me tp reinstall WP.

    Can u pls help me to access it through cPanel so that the theme and the posts remain intact. otherwise the files may get deleted. or tell me if there is any way out to keep my existing theme and articles stored as back up files. If i reinstall wordpress again can i get my existing theme and articles back?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you have the original version of functions.php?

    You said that you had pasted the previous code, but apparently this went wrong somehow. If you have a backup, just upload functions.php to overwrite the current version. If you don’t have a backup, download the same version of the theme you’re using to your local computer and upload functions.php to your server.

    Thread Starter bidishamukherjii

    (@bidishamukherjii)

    Hi CoderJosh,

    Currently my previous theme is disabled and there is a default theme instead.
    To upload the correct version of functions.php of my prefered theme shall i have to go to the SELECT THEME TO EDIT option and select the previous theme?

    If I activate my customized theme again then i hope the site and WP dashboard will not disappaer again.
    How i can upload only the functions.php to my server. Pls provide me step by step guide. I am a newbie.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error log: pls help. Don't want to lose my current theme and articles’ is closed to new replies.