 |
Mittineague Welcome to the Mittineague Forums
|
| View previous topic :: View next topic |
| Author |
Message |
ovizii Newcomer Level I

Joined: 06 Nov 2008 Posts: 10
|
Posted: November 06 2008, 05:50 Post subject: probs with clean options 0.97 and wp 2.6.3 |
|
|
hi there.
I have posted this problem also on the wp forums: http://wordpress.org/support/topic/215481?replies=2
here is a short summary:
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.
| Code: |
Warning: fopen(..//wp-content/cache/f20a0b3847983197b4e0c17532537c22/category_r elationships/bea85e5b3109c267e9e558fc1b19a431.php) [function.fopen]: failed to open stream: No such file or directory in /var/www/web6/web/wordpress/wp-content/plugins/clean-options/cleanopti ons.php on line 227
Warning: fopen(..//wp-content/cache/f20a0b3847983197b4e0c17532537c22/category_r elationships/a202eb41473f7026bbc4e420072d7eb7.php) [function.fopen]: failed to open stream: No such file or directory in /var/www/web6/web/wordpress/wp-content/plugins/clean-options/cleanopti ons.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_relatio nships/bea85e5b3109c267e9e558fc1b19a431.php
Could not open file ..//wp-content/cache/f20a0b3847983197b4e0c17532537c22/category_relatio nships/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. |
Otherwise it works. when I visited the plugins page the second time, I now only get these errors/warnings:
| Code: |
WARNING !! ERROR MESSAGE !!
There is an autoload yes Option with No Name with the value: |
|
|
| Back to top |
|
 |
Mittineague Site Admin


Joined: 04 Jul 2006 Posts: 67 Location: West Springfield, Massachusetts
|
Posted: November 13 2008, 02:47 Post subject: errors |
|
|
Hi ovizii, welcome to the forums,
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.
Meanwhile, I'll try to figure out what happened and how to rectify the problem.
Thanks for posting. |
|
| Back to top |
|
 |
ovizii Newcomer Level I

Joined: 06 Nov 2008 Posts: 10
|
Posted: November 13 2008, 04:32 Post subject: Re: probs with clean options 0.97 and wp 2.6.3 |
|
|
| thx, updated to your new version and will continue playing with this plugin. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
P o w e r e d b y p h p B B © 2 0 0 1 , 2 0 0 5 p h p B B G r o u p
|