Wordpress PHP error, help!

Warning: require_once(TEMPLATEPATH/controlpanel.php) [function.require-once]: failed to open stream: No such file or directory in /home/wooism/theredstarrising.com/wp-includes/functions.php on line 2

Fatal error: require_once() [function.require]: Failed opening required ‘TEMPLATEPATH/controlpanel.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/wooism/theredstarrising.com/wp-includes/functions.php on line 2

That is the error I am getting. I attempted to edit my functions.php file to add a favicon and this happened. Now even when I upload the original functions.php I still get this error.

What can I do?

This is at theredstarrising.com

Its just telling you the file doesn’t exist. Make sure the file is where its supposed to be.

The controlpanel.php was there in the theme folder, but I re-uploaded it and now I have a new error:

Warning: require_once(/wp-content/themes/chronicle/controlpanel.php) [function.require-once]: failed to open stream: No such file or directory in /home/wooism/theredstarrising.com/wp-includes/functions.php on line 2

Fatal error: require_once() [function.require]: Failed opening required ‘/wp-content/themes/chronicle/controlpanel.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/wooism/theredstarrising.com/wp-includes/functions.php on line 2

Fixed! Turns out I am a complete idiot and was messing with the WP core functions.php and not the theme one :frowning:

It happens to all of us. I design websites powered by WordPress for a living and it happens to me, too! The trick is, when you break your website, you must learn how to fix it.

Sponsor our Newsletter | Privacy Policy | Terms of Service