+ Reply to Thread
Results 1 to 2 of 2

Thread: can't log into wordpress!

  1. #1
    astridca is offline x10Hosting Member astridca is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    13

    can't log into wordpress!

    Hello all,

    I recently switched the theme with which I was working from default to classic. I edited some of the php/css in the template, and I kept getting funny messages when I did it. Now, all of a sudden, every time I try to log in, it gives me messages not unlike the ones that I kept receiving:

    • Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-login.php on line 287

      Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-login.php on line 299

      Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-includes/pluggable.php on line 662

      Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-includes/pluggable.php on line 663

      Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-includes/pluggable.php on line 664

      Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-includes/pluggable.php on line 865


    I cannot access the blog to make changes. I tried going into my CPanel, into the functions.php file, but I still did not understand what is causing the issue at hand.

    Does anybody have an idea as to what the problem might be? Please help!

  2. #2
    adamparkzer is offline On Extended Leave adamparkzer is just really nice
    Join Date
    Jun 2008
    Location
    IL, USA
    Posts
    3,745

    Re: can't log into wordpress!

    Try going to wp-content/themes/classic and open your functions.php page for editing. Erase everything on that page and copy and paste this into it, then save:

    Code:
    <?php
    /**
     * @package WordPress
     * @subpackage Classic_Theme
     */
    
    automatic_feed_links();
    
    if ( function_exists('register_sidebar') )
    	register_sidebar(array(
    		'before_widget' => '<li id="%1$s" class="widget %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '',
    		'after_title' => '',
    	));
    
    ?>

+ Reply to Thread

Similar Threads

  1. WordPress Installation Tutorial
    By engel in forum Tutorials
    Replies: 55
    Last Post: 11-04-2011, 10:24 AM
  2. Installing Wordpress w/ Fantastico
    By mcklovin in forum Tutorials
    Replies: 0
    Last Post: 10-14-2008, 10:53 PM
  3. Wordpress 2.7 to be released in November
    By multipass in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 09-04-2008, 11:43 AM
  4. Wordpress Users Beware
    By takuhii in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 07-05-2007, 04:16 PM
  5. Wordpress installation failures
    By akinet in forum Free Hosting
    Replies: 2
    Last Post: 10-09-2005, 05:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers