Plugins & Search function not working

Found a bug? Tell us!!
Post Reply
kgibbons
Regular
Posts: 5
Joined: Mon Oct 04, 2004 12:54 am
Contact:

Plugins & Search function not working

Post by kgibbons »

Hello all,

I just installed Serendipity today (using serendipity-0.7-beta3) -- and I have the blog working as it should. However, I've been tinkering with the Plugin settings -- and I'm having some issues.

In my Admin, I chose to hide the "Blog Administration" link. Now I'm tryign to re-enable that link to show up in the right table, but for whatever reason when I choose this plugin from the drop-down, and save the settings -- it never shows up. I DO receive the green confirmation message telling me that the settings are saved, but the Plugin does not show up in the list of plugins within the admin, or on the blog page itself.

Aside from this, the search function isn't working either. I've read a few posts where others are having problems with this as well. I even went so far as to upgrade to MySQL 4.0.21. Previously I was using MySQL 4.0.15 But still the search isn't working.

Any suggestions for these two issues?
kgibbons
Regular
Posts: 5
Joined: Mon Oct 04, 2004 12:54 am
Contact:

Post by kgibbons »

Let me post a quick followup here... because the title of my last post is a bit deceiving after second glance. The Plugins ARE working upon initial install... but after making mods to the plugin settings, these changes don't seem to "stick". Please read the first post in this thread for all details.

Thanks :)
Thomas
Regular
Posts: 130
Joined: Tue Sep 21, 2004 2:00 pm
Location: Stockerau/NÖ/A
Contact:

Post by Thomas »

Hi,

do you have the possibility to take a look with phpMyAdmin into the s9y database?
If yes select the table serendipity_plugins and view its content. Is the plugin there stored?

BTW, don't know for what reason but some of the plugins have a '@' in front of the name. Also the session-like string after plugin_name:.. is a bit confusing ...
kgibbons
Regular
Posts: 5
Joined: Mon Oct 04, 2004 12:54 am
Contact:

Post by kgibbons »

Thomas wrote:Hi,

do you have the possibility to take a look with phpMyAdmin into the s9y database?
If yes select the table serendipity_plugins and view its content. Is the plugin there stored?

BTW, don't know for what reason but some of the plugins have a '@' in front of the name. Also the session-like string after plugin_name:.. is a bit confusing ...
Hello Thomas,

I use Webmin as a GUI for my server administration, and it has a similar interface to MySQL much like phpMyAdmin.

So I just took a look at the data in the "serendipity_plugins" table -- and the "Blog Administration" plugin might be showing up in this list. The reason I say might, is because I see the following:

@serendipity_superuser_plugin:e78555cd53a85060623d19321c15940b

I see this FIVE times in this table (with different session strings after each one) -- which probably corresponds to the 5x I attempted to re-enable the Blog Administration link.

I also downloaded the WEATHER plugin from s9y.com, and attempted to enable this in the right table pane. Much like my "Blog Administration" problems, it seemed to save the settings as it should (and I did receive the green text confirmation), but it doesn't appear on the blog main page.

But while I'm looking here at the MySQL table data... I'm showing the following:

serendipity_plugin_weather:f83704e0d123812ce6f9b9770981c567

I'm showing this multiple times as well, with different session strings after each one.

So I'm guessing that the settings ARE saving properly. But for some reason, Serendipidity isn't updating the main blog page to reflect these changes.

Any ideas??
Thomas
Regular
Posts: 130
Joined: Tue Sep 21, 2004 2:00 pm
Location: Stockerau/NÖ/A
Contact:

Post by Thomas »

Hi,

yes, one idea comes along my brain. :)

Delete all the multiple ones and login into s9y directly and enable it only one time again. Use http://yourdomain.com/serendipity_entries.php for logging in.

Another (maybe silly) idea: you have multiple entries for one of the plugins but disabled the visibility. And exactly that one is the lucky on choosen from the table.

Lets see if it works then...
kgibbons
Regular
Posts: 5
Joined: Mon Oct 04, 2004 12:54 am
Contact:

Post by kgibbons »

Ok... made some progress. I removed all but the very first instance of "@serendipity_superuser_plugin" from the database, and made sure that first instance was set to "right". And sure enough, the Blog Administration link now DOES showup on my page.

But the Weather plugin seems to be a lost cause.... I removed all but the 1st instance, and made sure it was set to "right" -- and no luck. I then removed all instances of "serendipity_plugin_weather" from the database, and went into the Admin, and attempted to re-enable. Still nothing showing up on the page.

Maybe I'm screwing up the METAR setting when trying to enable the Weather plugin? The National Weather Service page for my area is: http://weather.noaa.gov/weather/current/KAVP.html

Would "KAVP" be the METAR? Or would the whole string be the metar? (KAVP) 41-20-20N 075-43-36W 291M And if the whole string is the METAR, how does one format this properly for the Weather plugin?

Lastly... the search function is still DOA for me. I know I'm not the only one with search problems... just wondering if anyone has figured this one out yet.
kgibbons
Regular
Posts: 5
Joined: Mon Oct 04, 2004 12:54 am
Contact:

Post by kgibbons »

Ok... just solved my Search problem after reading Thomas' post over at http://www.s9y.org/forums/viewtopic.php?t=428

Typically when I setup a MySQL database on my server, I associate a new user with each DB. I never give the user any priviledges, but rather I assign priviledges within the "Database Permissions" -- where I assign one of the MySQL users to that database, and then I give that user full permissions to that database alone.

I guess S9Y doesn't like this setup, because the search was producing no results. But when I modified the permissions at the user level to give the serendipidity user full permissions, the search does work now.
Post Reply