Deleted footer.php...now what?
Permalink
I accidently deleted the footer.php file from my site :o Can anyone tell me how to fix this? I don't write/understand code. I get this at the bottom now...Warning: include(/home4/twosevz2/public_html/concrete/config/../themes/default/elements/footer.php) [function.include]: failed to open stream: No such file or directory in /home4/twosevz2/public_html/concrete/libraries/view.php on line 335
Warning: include() [function.include]: Failed opening '/home4/twosevz2/public_html/concrete/config/../themes/default/elements/footer.php' for inclusion (include_path='/home4/twosevz2/public_html/libraries/3rdparty:/home4/twosevz2/public_html/concrete/config/../libraries/3rdparty:.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home4/twosevz2/public_html/concrete/libraries/view.php on line 335
Warning: include() [function.include]: Failed opening '/home4/twosevz2/public_html/concrete/config/../themes/default/elements/footer.php' for inclusion (include_path='/home4/twosevz2/public_html/libraries/3rdparty:/home4/twosevz2/public_html/concrete/config/../libraries/3rdparty:.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home4/twosevz2/public_html/concrete/libraries/view.php on line 335
Download a fresh copy of Concrete5 (make sure you download the same version as the one you're using on your site).
Unzip the new downloaded concrete5, and copy this file:
...into this directory on your server:
Unzip the new downloaded concrete5, and copy this file:
Concrete5.X.X.X/concrete/themes/default/elements/footer.php
...into this directory on your server:
YOURSITE/concrete/themes/default/elements/
Thank you for the great recommendations! For the short-term I was able to just create a new, empty footer.php folder and the warning disappeared for some reason. Thanks!
Word of advice from some one that like you is very limited with this type of things : Backup often when making changes. Use both serve back ups as well as the backup available thru the dashboard (the one you download)