Plugins Disappear in 1.1 beta4

Found a bug? Tell us!!
Post Reply
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Plugins Disappear in 1.1 beta4

Post by azel »

I just updated to version 1.1 beta4 (for Costa's awesome new theme!), but when I move the plugins to anything besides left or right, they disappear.

In Costa's two colored theme, there are four bottom sidebars. I moved three of my plugins to the bottom, and after saving, they just simply disappear (and do not show up on the theme). I tried flushing my cache, disabling javascript in my browser and in my personal settings. Also tried changing themes, but none of this has brought my missing three plugins back. Another user posted having the same problem on the thread for Costa's theme.

Any ideas on what could be causing the issue?

(Even with this minor issue, I'm really excited about where s9y is going!)
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

yeah, i have an idea...

i played a lot with latest nightly builds and they're running without problems. BUT i'm using sqlite as my database - on my blog and on my local instalations (for testing purposes). never had problems you mentioned and i don't have them now.

from the other hand - a couple of my polish fellows also reported me this strange behaviour of their blogs and i'm waiting now for some infos about databases their are using. i'm pretty sure none of them is using sqlite :). mysql everywhere as i suppose.

garvin, are you reading this? can you do a little testing? i'm not very familiar with mysql database and i don't know how to run it on my local instalation :/
"everything is under control" - kasparov demo
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Its a problem with the way the new sidebars are implemented, read Garvin's response to my original bugreport. Garvin's code was pretty rough and ready to test the concept, and when he gets back from his vacation he plans to spend more time fixing this.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Sadly I'm too short on time to do serous testing right now.

If possible, azel, do you have phpMyAdmin access to your DB? Could you check the "serendipity_plugins" table? There you should see the plugins you moved to a different side; please tell me what the "side" option is set to?

It is VITAL that the names of plugin sides are not longer than 6 characters; if the sidebar name is like "bottom_sidebar1" then this is too long and it can later not be fetched again. I believe this is documented in both the docs/NEWS file and the s9y.org wiki entry for template designers. Costa, can it be that you used a name with too many characters?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Actually Costa did use sidebar names that are too long, his are bottom1, bottom2, bottom3, bottom4.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Carl!

Thanks for telling! Then definitely until I get the time to integrate your suggestions for showing "unassigned" plugins, you will need to take care of using only 6 letter sidebar key names and asking people who already changed their plugin sides to manually fix the serendipity_plugins table :)

I'll definitely fix this issue before 1.1 gets released, though.

Best regards
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

daamn, it's written in s9y's blog about those 6 letters but i tested it and everything worked just great with my names. thought you improved something... :/

anyway, under sqlite everything runs smooth. problem is with mysql database. one of my readers did the test and failed under mysql but succeeded with sqlite.

darn :/

ok, i'll change names for sidebars and will see what will happen now.
"everything is under control" - kasparov demo
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Okay I can access phpMyAdmin to change the plugin placement from bottom to left or right - they come reappear for selection when I do this. I reset the "missing" plugins, updated Costa's theme, and tried again placing two this time on the bottom. They disappear again.

The sidebar theme choices are Left, Hidden, Right, Bottom1, Bottom2, Bottom3, Bottom4. Could the disappearance be caused by these "Bottom" headings, because of the six letter limitation?

The nightly I am using is 200609172342, so I am going to update to the most recent nightly.
Last edited by azel on Tue Sep 19, 2006 5:58 am, edited 1 time in total.
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Weirdness here:

I moved one of the plugins to "Bottom1" and it disappeared. On a whim, I went into phpMyAdmin and changed the placement of this plugin to "bt1" and now it shows up on the blog, but not on the plugin configuration screen.

For no reason I uploaded screenshots:

http://aetheric-shade.org/uploads/pluginadmin.jpg
In the admin

http://aetheric-shade.org/uploads/pluginblog.jpg
On the blog

Edit:

I figured out what it is. In the theme configuration screen, the last box shows left,hide,right,bottom1,bottom2,bottom3,bottom4

I don't know how to change these in the theme so that they will be default, but if you change them manually, everything works as it should.

Another screenshot: http://aetheric-shade.org/uploads/themeconfig.jpg
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

thanks azel for your work and tests done.

so it's my fault - problem with 6 letters... daamn, i three local instalations of serendipity - sqlite one, mysql one and posgresql one :/.

so basically it works now as i suppose. ok, those are good news :)

thanks again!
"everything is under control" - kasparov demo
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Hey I am always glad to help out. I'm just excited that it's working. Thank you guys for helping me. ^_^
elmaya
Posts: 3
Joined: Mon Sep 18, 2006 2:52 am
Location: Mexico
Contact:

Post by elmaya »

mmm ...Tried what azel did, and managed to get pugins to stick to bt1 bt2 in the plugin manager but they still don´t shown in the blog :(
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

hello elmaya

first - download and upload to your blog a little updated version of theme (no time lately to work on it hard :/). get the file here

after uploading go to template manager and change options as azel did and save them. should work without problems.

in upcoming weekend i'll work hard on this theme and will launch the final release supporting many plugins and solving some minor problems. so i'll beat carl's hamingway :lol:
"everything is under control" - kasparov demo
elmaya
Posts: 3
Joined: Mon Sep 18, 2006 2:52 am
Location: Mexico
Contact:

Post by elmaya »

Thanks so much.. is working now !
costa wrote:hello elmaya

first - download and upload to your blog a little updated version of theme (no time lately to work on it hard :/). get the file here

after uploading go to template manager and change options as azel did and save them. should work without problems.

in upcoming weekend i'll work hard on this theme and will launch the final release supporting many plugins and solving some minor problems. so i'll beat carl's hamingway :lol:
Post Reply