Warning: require_once AND Fatal error: require_once
Permalink 1 user found helpful
I need urgent help, I was editing the footer of a free theme (Simple Blue), I just simply removed a portion so it wouldn't have a login link. Then I refreshed my website and this popped out.
Please help.
Warning: require_once(/kunden/homepages/44/d231076390/htdocs/APT/packages/travisn_spacer/blocks/travisn_spacer/controller.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/44/d231076390/htdocs/APT/concrete/core/libraries/loader.php on line 214 Fatal error: require_once() [function.require]: Failed opening required '/kunden/homepages/44/d231076390/htdocs/APT/packages/travisn_spacer/blocks/travisn_spacer/controller.php' (include_path='/kunden/homepages/44/d231076390/htdocs/APT/libraries/3rdparty:/homepages/44/d231076390/htdocs/APT/concrete/libraries/3rdparty:.:/usr/lib/php5') in /homepages/44/d231076390/htdocs/APT/concrete/core/libraries/loader.php on line 214
Please help.
I tried replacing it through FTP, but it kept the same Warning and Fatal Error. I also tried to change the theme and there was no luck there either, I'm starting to think it's not the theme that's causing this.
Looking at your error message in more detail, it refers to the Travesin Spacer addon. So maybe you corrupted a file from that by mistake while editing your theme.
Try doing the same ftp/patch as you did with the theme, but do it with the files from the spacer addon. Be very careful to make sure you are copying over the top of the right files, or you could make things much worse.
Or.
From the dashboard, uninstall the spacer addon.
Try doing the same ftp/patch as you did with the theme, but do it with the files from the spacer addon. Be very careful to make sure you are copying over the top of the right files, or you could make things much worse.
Or.
From the dashboard, uninstall the spacer addon.
Yes, I believe I accidentally deleted that add-on and a couple of others while I was removing some unneeded themes. Thank you, I managed to get everything back on track with your help!
Login to the dashboard directly at yoursite.com/index.php/dashboard, and change the site-wide theme to one that is not corrupted. That will get you up and running again.
A. If the corrupted theme is a marketplace theme, you should then be able to uninstall and delete the corrupted theme from the install menu. Then click to download it again and reinstall it.
or
B. Or download a zip of the uncorrupted theme from your cocnrete5.org account, pick out the un-corrupted file, and use FTP to patch it over the corrupted file.
If its a core theme, you can do similar by downloading a zip of the core and picking out an uncorrupted file.
With the theme repaired, swap it back in.