Results 1 to 5 of 5

Thread: Newbie needs help!...changed functions.php file and can't repair my changes...

  1. #1
    Thread Starter
    Expired Customer paddydyna's Avatar
    Join Date
    Feb 2014
    Location
    Ireland
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Newbie needs help!...changed functions.php file and can't repair my changes...

    Hi all I recently tried to remove the admin dashboard bar for contributors by pasting a bit of code into the functions.php file. I didn't really understand the code or what I was doing but I took a chance with it. I entered the code using editor in the appearance menu on the dashboard. I simply pasted a short bit of code into the functions.php file and once I saved my changes I was unable to log back into the dashboard/appearance/editor to change it back. I emailed the hosting company to see if they could help and they found this error:

    As per the logs I found the following errors:

    [24-Mar-2014 21:10:51 UTC] PHP Parse error: syntax error, unexpected end of file in /home/unibooks/public_html/wp-content/themes/classipress/functions.php on line 208
    [24-Mar-2014 21:46:47 UTC] PHP Parse error: syntax error, unexpected end of file in /home/unibooks/public_html/wp-content/themes/classipress/functions.php on line 208
    [24-Mar-2014 21:49:31 UTC] PHP Parse error: syntax error, unexpected end of file in /home/unibooks/public_html/wp-content/themes/classipress/functions.php on line 208

    It seems your theme classipress is causing this, Pleaes login to the admin backend and change the theme, your site should be back online then.

    Is there any easy way I could open the editor to resolve this or will I have to do it through cpanel?

    If I could resolve this without resetting back to default I would be delighted as I have a lot of work put into the site.

    I would really appreciate any help as I am only starting out building a website with wordpress and classipress and now my first mistake has completely ruined my site.

    Thanks,
    Paddy

  2. #2
    gremminger's Avatar
    Join Date
    Nov 2013
    Location
    Germany
    Posts
    344
    Thanks
    43
    Thanked 20 Times in 20 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    harerace's Avatar
    Join Date
    Feb 2014
    Location
    United States
    Posts
    48
    Thanks
    0
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    gremminger's Avatar
    Join Date
    Nov 2013
    Location
    Germany
    Posts
    344
    Thanks
    43
    Thanked 20 Times in 20 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    dhenz123's Avatar
    Join Date
    Jun 2013
    Location
    Australia
    Posts
    124
    Thanks
    10
    Thanked 10 Times in 10 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Samcy The functions.php file of my child theme not working
    By driss33110 in forum Help Using ClassiPress
    Replies: 2
    Last Post: November 3rd, 2013, 02:54 PM
  2. Creating a Childtmem with a Functions PHP file
    By compunetitcc in forum ClassiPress General Discussion
    Replies: 5
    Last Post: August 21st, 2013, 05:23 AM
  3. URGENT: I have changed css file but not being reflected in jobroller
    By iqwp in forum JobRoller General Discussion
    Replies: 2
    Last Post: April 2nd, 2012, 10:45 PM
  4. theme-functions.php no such file error message
    By byung in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: July 16th, 2011, 08:56 AM
  5. Step-Functions PHP file
    By tbase in forum ClassiPress General Discussion
    Replies: 0
    Last Post: May 7th, 2010, 11:00 PM