Make sure your footer.php doesn’t have any of that include_once(ABSPATH . '/footer.php') stuff in it. If you copied from wp-footer.php, you need to remove that stuff.
It shouldn’t be necessary to use ABSPATH anywhere in your theme. Even the require of wp-blog-header.php can be removed. Everything can and should be done relative to the theme directory.
Thread Starter
Root
(@root)
Thanks rboren. That is the key. Removing that bit from wp-footer and presumably the similar files. Thanks. We are rocking again now. Thanks to Beel too today. Nice work.
I bet that is it for me, too.
Hmm, no ABSPATH anywhere in my theme directory – must be something else and thus the hunt continues 😉
Anonymous
My root is
\www\phproot\
that contain the index.php,mainfile.php,header.php…
I want to be able to have both the header and footer to another page that place in
\www\phproot\MAIL\(my another page.php)
In this case, what should I do?