I cant access dashboard, webpage, or anything at all! Parse Error:
-
So I having been using the twenty fourteen theme and realized it didn’t support a transition/sliding slider. So I downloaded a basic 2014 child theme and uploaded it via the themes menu. At that point everything worked fine but I then inserted some pre-written code from a youtube video into the functions.php folder of my child theme. After I saved nothing worked, my page when down and even when I go to my godaddy account and try to access my wordpress page editor it still shows me the same error message.
Parse error: syntax error, unexpected ‘}’ in /home/content/p3pnexwpnas04_data01/43/2434243/html/wp-content/themes/twentyfourteen-child/functions.php on line 16
I really don’t care about having the slider slide, how can i just go back to how I had it? Id like to keep the work i made on my original twenty fourteen theme but if not oh well I wasn’t exactly that far.
Thanks!
-
You need to access your website functions.php file using either FTP or your website hosting management file manager.
You almost certainly have created a syntax error, you can try and fix this by using an online php syntax checker like:
http://www.piliapp.com/php-syntax-check/You can also restore a pristine copy of your functions.php file. You really should have kept one you know! I guess you will next time.
Another approach is to rename your theme directory, this will force WordPress to use the default theme.
Yeah the manager also goes down if you cause a syntax error. What FTP program do you recommend? I took 2 weeks of web design in High School and a bit of knowledge from myspace editing when I was young but other than that I know nothing of writing and editing code. I know that FTP is used in file sharing such as torrents, I figure for web building its the same concept but instead of transferring files you are transferring code from your drive to your website. Is this correct?
Also I fixed this by going to my godaddy account and using their backup file of my site. I lost a bit of changes that I made but its ok.
One more thing. Does anyone know where I can find a copy of twenty fourteen child theme? I have a line of code that I want to put in to change my slider but the child theme I downloaded isnt working correctly.
My FTP program is Filezilla, free, widely used.
To get your theme file, download and unzip loca;lly the wordpress file.
- The topic ‘I cant access dashboard, webpage, or anything at all! Parse Error:’ is closed to new replies.