Support » Themes and Templates » Functions file error

  • Hi,

    I messed around with my functions.php earlier today, and now I can’t seem to access either the site or the wp admin. I’ve restored the functions.php file to how it was before I messed with it, and the error messages are still coming up. I have no idea what to do in order to fix it. Any help or suggestions would be GREATLY appreciated. Site is almost finished and I am supposed to present it tomorrow.

    Thanks in advance for any help.

    Here is the error message:

    Warning: include(TEMPLATEPATH/includes/theme-options.php) [function.include]: failed to open stream: No such file or directory in /home/parnas5/public_html/functions.php on line 18

    Warning: include(TEMPLATEPATH/includes/theme-options.php) [function.include]: failed to open stream: No such file or directory in /home/parnas5/public_html/functions.php on line 18

    Warning: include() [function.include]: Failed opening ‘TEMPLATEPATH/includes/theme-options.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/parnas5/public_html/functions.php on line 18

    Warning: include_once(TEMPLATEPATH/includes/custom-header.php) [function.include-once]: failed to open stream: No such file or directory in /home/parnas5/public_html/functions.php on line 21

    Warning: include_once() [function.include]: Failed opening ‘TEMPLATEPATH/includes/custom-header.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/parnas5/public_html/functions.php on line 21

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/parnas5/public_html/functions.php:18) in /home/parnas5/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 23

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/parnas5/public_html/functions.php:18) in /home/parnas5/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 23

    Fatal error: Cannot redeclare cat_id_to_name() (previously declared in /home/parnas5/public_html/functions.php:3) in /home/parnas5/public_html/wp-content/themes/organic_structure_white/functions.php on line 7

Viewing 1 replies (of 1 total)
  • Try switching to the Twenty Eleven theme by renaming wp-content/themes/organic_structure_white to wp-content/themes/organic_structure_white-old using FTP or whatever file management application your host provides.

Viewing 1 replies (of 1 total)
  • The topic ‘Functions file error’ is closed to new replies.