I've set up a new site, and set up new templates and pages in exactly the same way as I have done before. But whenever I try to edit a default page (like the 404 page, the site map or whatever) in the admin section I get a 500 error. Turning on the debug mode gives the following error:
Fatal error: Class 'Pagefiles' not found in /home/ [...] /wire/core/Pageimages.php on line 20
Obviously I've taken some of the path out, but you get the idea. I can edit my own new pages fine, but whenever I try to edit the others this comes up. The Pagefile file is in the right place, and the error is on a line which defines a new class which extends the Pagefiles class.
Any ideas what I can try?
Thanks













