• Hi there.
    when going to manage => clean options and click the button to start the plugin, I get these warnings on top of the page, then the plugin seems to work fine.

    Warning: fopen(..//wp-content/cache/f20a0b3847983197b4e0c17532537c22/category_relationships/bea85e5b3109c267e9e558fc1b19a431.php) [function.fopen]: failed to open stream: No such file or directory in /var/www/web6/web/wordpress/wp-content/plugins/clean-options/cleanoptions.php on line 227
    
    Warning: fopen(..//wp-content/cache/f20a0b3847983197b4e0c17532537c22/category_relationships/a202eb41473f7026bbc4e420072d7eb7.php) [function.fopen]: failed to open stream: No such file or directory in /var/www/web6/web/wordpress/wp-content/plugins/clean-options/cleanoptions.php on line 227
    WARNING !! ERROR MESSAGE !!
    There is an autoload yes Option with No Name with the value:
    WARNING !! ERROR MESSAGE !!
    Could not open file ..//wp-content/cache/f20a0b3847983197b4e0c17532537c22/category_relationships/bea85e5b3109c267e9e558fc1b19a431.php
    Could not open file ..//wp-content/cache/f20a0b3847983197b4e0c17532537c22/category_relationships/a202eb41473f7026bbc4e420072d7eb7.php
    
    The following Options appear to be orphans.
    Non-selectable Options are known to have been created from files present during upgrade or backup, or are legitimate options that do not "fit" the search for get_option or get_settings. If you wish to remove them by other means, do so at your own risk.

    any hints what could cause these problems?

    http://wordpress.org/extend/plugins/clean-options/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ovidiu

    (@ovidiu)

    btw: trying to also post in your forum…
    btw2: The Options table currently has 10130 rows 🙁

    I have heard of the “no name” problem before. The plugin uses the option_name value of the row instead of the id value. This is used to display next to the select box, and in subsequent handling. When I first wrote the plugin I assumed (I know, I know) that all options would have a name. I don’t know how they would work without one. When I first heard of this problem, I thought it must only be a rare event (silly me), so I put in an error message to alert the plugin user so that the row could be deleted in another way (i.e. phpMyAdmin) if they wanted to, but still allow other rows to be deleted.

    When I get some time, Ill try to see if I can change the plugin to use the id values instead, and replace the error message with a warning, as it may be difficult for a user to determine what plugin/theme the row is associated with without a name belonging to it.

    As for the file failing to open, the plugin uses a recursive directory search to find PHP files and search them for “get_option” and “get_setting”. the option_name values are put into an array, so that only orphaned options are listed. ATM, I don’t see why this failed for you, although the “..//” looks suspect. At worst, what could happen is that some options that the unopened file uses may get displayed as orphans when in fact they aren’t.

    As long as you are careful to not delete anything that you’re uncertain of, you should be OK.

    As for the 10130 rows, I just put up the Release Candidate with a “Delete ALL ‘rss’ Options”. Not the best solution to the “many rows” problem perhaps, but I figured it will do until I can come up with something better.

    Meanwhile, I’ll try to figure out what happened and how to rectify the problem.

    Thanks for posting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Clean Options] some problems with wp 2.6.3’ is closed to new replies.