• Resolved complexed

    (@complexed)


    I installed the plugin that Carthik Sharma made, and I get this error:

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d152387834/htdocs/wp-content/themes/k2betatwor163/header.php:6) in /homepages/16/d152387834/htdocs/wp-content/plugins/registered_only.php on line 63

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d152387834/htdocs/wp-content/themes/k2betatwor163/header.php:6) in /homepages/16/d152387834/htdocs/wp-content/plugins/registered_only.php on line 64

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d152387834/htdocs/wp-content/themes/k2betatwor163/header.php:6) in /homepages/16/d152387834/htdocs/wp-content/plugins/registered_only.php on line 65

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d152387834/htdocs/wp-content/themes/k2betatwor163/header.php:6) in /homepages/16/d152387834/htdocs/wp-content/plugins/registered_only.php on line 66

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d152387834/htdocs/wp-content/themes/k2betatwor163/header.php:6) in /homepages/16/d152387834/htdocs/wp-content/plugins/registered_only.php on line 72

    Any ideas on how to fix it? I’m using WP2.0 and my site is http://www.complexed.org

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter complexed

    (@complexed)

    Would it be the plug in file or my header.php ? It keeps saying line 6 on my header.php and this is what it looks like:

    <title><?php wp_title(”); ?> <?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> at <?php } ?> <?php bloginfo(‘name’); ?></title>

    And thats what line 6 of my header.php looks like… I have no idea what whitespaces I should be deleting in that.

    *ahem*

    “Check the plugin file for the issues brought up there.”

    If you copy/pasted the plugin to a file, you would have (most likely) added lines to the top (before the <?php) and bottom (after ?>) in the script.

    Thread Starter complexed

    (@complexed)

    Then there must be something else wrong :-\. There were no white areas and I never copied/pasted it into a new file.

    Thread Starter complexed

    (@complexed)

    On another note:
    http://www.complexed.org I tried adding the “How many users online” thing… I get that error at the top

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ON DUPLICATE KEY UPDATE timestamp = ‘1138675944” at line 1]
    INSERT INTO wp_useronline VALUES (‘1138675943’, ‘Guest’, ‘70.68.14.120’, ”, ‘%2F’) ON DUPLICATE KEY UPDATE timestamp = ‘1138675944’

    :(, not my dad in terms of adding plugins. Any ideas?

    Thread Starter complexed

    (@complexed)

    Ok scratch that above post.
    Just need help on how to get the registered users only plugin working

    Thread Starter complexed

    (@complexed)

    Ok, I downloaded and uploaded the .4 patch and now everytime I activate the plugin I can’t access my blog at all. “It says maximum requests exeeded” I have to go through FTP to delete the “registered users only” file before I can access my blog at all.

    Thread Starter complexed

    (@complexed)

    Wooohoo, I got it working :O.
    Thanks everyone!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Registered Users Only Plugin’ is closed to new replies.