Page not found broke after update?!?

Permalink
Hi Guys

I have just upgraded a site from 5.4.1 to 5.4.1.1 and by doing so has broken the page not found. When this page comes up I get an error message like:

Warning: include(/data02/dojo/public_html/maloryinvestments.co.uk/updates/concrete5.4.1.1/concrete/config/../themes/core/elements/header.php) [function.include]: failed to open stream: No such file or directory in /data02/dojo/public_html/maloryinvestments.co.uk/updates/concrete5.4.1.1/concrete/libraries/view.php on line 330

how do I sort this?

senshidigital
 
senshidigital replied on at Permalink Reply
senshidigital
One thing I have noticed is it seems to place in a different header and footer files than my page template even thought I have <?php $this->inc('elements/header.php'); ?> etc on the page not found html?!?

It also places in an extra </body> </html>??

Why and what is causing this?
jbx replied on at Permalink Best Answer Reply
jbx
Sounds to me like maybe it's using the wrong theme...

Check in your config/site_theme_paths.php file. It appears to be trying to use 'core' as the theme - whic I guess is normal, but there is no elements folder in there. Have you customized the page_not_found page at all??

Jon
senshidigital replied on at Permalink Reply
senshidigital
Spot on! I was being stupid and forgot to add the code into the theme path file! DOH!

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.