problem with Loader

Permalink 1 user found helpful
Keep getting this error message:
Fatal error: Class 'Loader' not found in /themes/mysite/header.php
If I remove the
<?php Loader::element('header_required'); ?>

from the header, all the pages work, but I can't get at the tool bar of course. any suggestions?

 
frizzleb replied on at Permalink Reply
frizzleb
Could you please post or send more code?

Does this error occur with the footer also?

e.g. <?php Loader::element('footer_required'); ?>
ramrod42 replied on at Permalink Reply
thanks for replying, although I am not sure what other code to post. that is the only issue, I don't get the footer error message. All the files were uploaded correctly.
12345j replied on at Permalink Reply
12345j
make sure all files were uploaded correctly.
frizzleb replied on at Permalink Reply
frizzleb
Hahahaha, that could work too :)
ramrod42 replied on at Permalink Reply
It seems like the class Loader is not universal, I think I forgot to mention that my homepage works fine, but when I click on any sub-page it says
Fatal error: Class 'Loader' not found in..
jordanlev replied on at Permalink Reply
jordanlev
On the non-home pages, does it show any of your other html, or ONLY the "Fatal error" message (like it's just a completely white page with just that error message in black text)?

Also, can you post a link to the site that's doing this (if it's public)?
ramrod42 replied on at Permalink Reply
Nothing else is displayed except the error message.
jordanlev replied on at Permalink Best Answer Reply
jordanlev
I agree with Mnkras that it might be an issue with rewrite rules -- you should try turning off "Pretty URL's" in your site's dashboard, and temporarily remove the ".htaccess" file in your site's directory on your server (don't permanently delete it because you may need it again, but rename it to something like "htaccess.backup"). After doing that, see if you can get to any other pages from the Dashboard Sitemap.

Another possible cause of this problem might be if you were putting URLS in your page content (or theme templates) directly to those other files. Again, if you could provide a link to the site that would be very helpful. Or at the very least if you could paste the URL's of the failing pages here (copy from the address bar in your browser), that might help too.
ramrod42 replied on at Permalink Reply
Thanks, I tried that first stuff to no avail. I think your right about the urls, I have been trying to use the site I already have built, including the nav, which I guess is a problem. So I think I am starting over and just making a template, and then building all the sub-pages through the CMS. Somebody needs to develop a CMS that easily imports existing sites. lol. Anyway. Thanks again.
Mnkras replied on at Permalink Reply
Mnkras
im guessing rewrite rules :)