WordPress.org

Forums

Category Visibility Plugin not working (13 posts)

  1. iM1
    Member
    Posted 7 years ago #

    I used the plugin from http://www.ryowebsite.com/?p=46

    I installed it correctly but i get this error on the "Category Visibility" page:

    WordPress database error: [Table 'wordpress.wp_categories' doesn't exist]
    SELECT * FROM wp_categories ORDER BY cat_name
  2. Categories have changed. That plugin no longer works with WordPress. It says so in the comments on that very page, in fact.

    Also, if you look closely, you can find a link there that leads to a working version.

  3. MichaelH
    Member
    Posted 7 years ago #

    http://wordpress.pastebin.ca/798578

    [moderated: see new pastebin link below]

  4. iM1
    Member
    Posted 7 years ago #

    I tried Beta9 and Beta10 from the site but they both still give me the same error.

    EDIT: its okay, i used MichaelH's method.

    Thanks for your help guys! ;-)

  5. MichaelH
    Member
    Posted 7 years ago #

    Had to fix line 137 in category_vis-p7.php

    New pastebin link:
    http://wordpress.pastebin.ca/799362

  6. iM1
    Member
    Posted 7 years ago #

    When i tried the first link you gave me that actually plin worked correctly but it wont let me hide anything it would just give me an error.

    Then i used the new link you gave me with line 137 fixed but now it shows this error on top of the dashboard.
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\plugins\category_vis-p7.php:1) in C:\xampp\htdocs\wordpress\wp-content\plugins\postratings\postratings.php on line 826

  7. iM1
    Member
    Posted 7 years ago #

    When i tried the first link you gave me that actually plin worked correctly but it wont let me hide anything it would just give me an error.

    Then i used the new link you gave me with line 137 fixed but now it shows this error on top of the dashboard.
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\plugins\category_vis-p7.php:1) in C:\xampp\htdocs\wordpress\wp-content\plugins\postratings\postratings.php on line 826

  8. iM1
    Member
    Posted 7 years ago #

    Anyone gonna help?

  9. That error tells you that you left a blank line or space at the top of the plugin file.

    This is your clue:
    output started at ... \plugins\category_vis-p7.php:1

    The "1" is the line number of the file. Edit the file, remove the blank space at the top. The very first thing in a plugin MUST be <?php.

  10. iM1
    Member
    Posted 7 years ago #

    Then why does it say something about my other plugin post-rating?

    Sorry im still new with php and stuff.

  11. Adam Brown
    Member
    Posted 7 years ago #

    b/c headers have to be sent before any text is. The first plugin generated an error (i.e. it sent text to the browser). When the post-rating plugin tried to modify headers, it couldn't as a result of the prior error. First the first error, the second goes away.

  12. iM1
    Member
    Posted 7 years ago #

    I checked the category plugin, there is no blank or emtpy line the top. It starts off as <?php

    Im still getting this error at the top

    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\plugins\category_vis-p7.php:1) in C:\xampp\htdocs\wordpress\wp-content\plugins\postratings\postratings.php on line 826

    Please Help! :-(

  13. iM1
    Member
    Posted 7 years ago #

    anyone gonna help?

Topic Closed

This topic has been closed to new replies.

About this Topic