I know this has been discussed before but I didn't see an answer.
I have an old version of Serendipity, pre 1.0. It seems that suddenly the NL2NR isn't working. I have removed both plugins and reinstalled them separately several times. Even without Extended properties, the NL2BR doesn't work. Everything looks fine the in WYSWYG layout but the preview (and published post) will NOT show the BR.
Was there a fix in one or both of these plugins? Is there a way to remove a plugin totally (like rm the directory)?
Any suggestions? I hate to touch production systems or I'd update this. If it could be fixed without changing version, I'd rather do that.
tia
randulo
NL2BR and Extended Properties
I understand not wanting to break something that's already working. But keep in mind that the pre-1.0 version have some known security problems that have been addressed in later versions. The upgrade process is one-click simple, too; if you can make a backup of your existing files and database, we highly recommend giving it a try.
As to removing plugins: yes, you can delete the plugin directory to get rid of it. Be sure to remove the plugin in your admin page first, since you'd like to give it the chance to clean up its database and files.
With respect to the problem itself: does the BR not show up in the HTML output, or is it styled to produce no break? What happened to make it stop working: did you make a change or did your provider upgrade something?
As to removing plugins: yes, you can delete the plugin directory to get rid of it. Be sure to remove the plugin in your admin page first, since you'd like to give it the chance to clean up its database and files.
With respect to the problem itself: does the BR not show up in the HTML output, or is it styled to produce no break? What happened to make it stop working: did you make a change or did your provider upgrade something?
Hi, I just saw there answers, the emails must not be reaching me and I will guess you are having spam problems that have put you server in a list that we use on ours?
Anyway, thanks for the reply. Yes, I must update sooner or later but this is such a critical (customer) site that I hate to spend hours if something goes wrong. Still, I need to be a man about it
Nothing changed as far as I know, this is not an install that I tweak, I stay away except when there's a problem.
I'll have to look at the update docs and download the latest and have at it I guess.
thanks again
Anyway, thanks for the reply. Yes, I must update sooner or later but this is such a critical (customer) site that I hate to spend hours if something goes wrong. Still, I need to be a man about it
Nothing changed as far as I know, this is not an install that I tweak, I stay away except when there's a problem.
I'll have to look at the update docs and download the latest and have at it I guess.
thanks again
When I typejudebert wrote: With respect to the problem itself: does the BR not show up in the HTML output
Line one
Line two
There are no <br> in the HTML edit mode.
I have cloned the whole thing and upgraded to the latest 1.2
When I remove the plugin and kill the XML cached list, the NL2BR plugin isn't shown. However, the NL2BR version is 1.7 and it looks like something was added.
On the new s9y version the media lib is screwed up:
Unknown column 'realname' in 'field list'
Do I need to add a column here?
In fact, here is the HTML source in the preview:
Is that normal? Is this a style problem?
Code: Select all
<div class="serendipity_entry_body">
<br />
<p>Line one of my text.</p><p>Line two, new paragraph.</p><p>Line three.</p><p /><p>Two ln</p>
</div>
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
In this output you are definitely missing the 'br' tags that would be created by a NL2BR plugin. The reason is that your input is on a single line; nl2br only converts NEWLINES to breaks. So only if the input were like this:
nl2br would transform it to:
Now, the HTML output you get will only have distinct new lines, if your style.css file contains something like:
Regards,
Garvin
In this output you are definitely missing the 'br' tags that would be created by a NL2BR plugin. The reason is that your input is on a single line; nl2br only converts NEWLINES to breaks. So only if the input were like this:
Code: Select all
<p>Line one of my text.</p>
<p>Line two, new paragraph.</p>
<p>Line three.</p>
<p />
<p>Two ln</p>
Code: Select all
<p>Line one of my text.</p><br />
<p>Line two, new paragraph.</p><br />
<p>Line three.</p><br />
<p /><br />
<br />
<p>Two ln</p><br />
Code: Select all
.serendipity_entry_body p {
margin-bottom: 1.5em;
}
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/
# 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/
Hi Garvin,
I'm getting a little confused here. I now have (by accident) a version upgraded to Serednipity 1.2.1 et PHP 4.3.10.
I can't find the newer plugins for extended entries and NL2BR. The old ones show up. What do I do?
Which is the correct server to be pointing to? Are they all up to date? Which is the latest version of NL2BR? I see 1.2. I'd swear I saw a later version.
Ok, somehow, I blew away everything so fortunately I had cloned the whole thing. I was able to just make a few changes in the databse (base dir, domain) and the Apache conf and it looks like it's all back now on 1.2.1. w00t! It's a harrowing, scary, chilling horrible experience to do this on a production server and I need three more beers to get over it.
r
I'm getting a little confused here. I now have (by accident) a version upgraded to Serednipity 1.2.1 et PHP 4.3.10.
I can't find the newer plugins for extended entries and NL2BR. The old ones show up. What do I do?
Which is the correct server to be pointing to? Are they all up to date? Which is the latest version of NL2BR? I see 1.2. I'd swear I saw a later version.
Ok, somehow, I blew away everything so fortunately I had cloned the whole thing. I was able to just make a few changes in the databse (base dir, domain) and the Apache conf and it looks like it's all back now on 1.2.1. w00t! It's a harrowing, scary, chilling horrible experience to do this on a production server and I need three more beers to get over it.
r
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The old plugins can only show up if you didn't upload the new plugins frmo the new s9y 1.2.1 release file? Your old files should be overwritten by the new ones.
It might only be that the old plugin version names are still cached, you can rebuild that cache by emptying the table 'serendipity_pluginlist' (empty, not delete!).
*g* about the rest
,
Regards,
Garvin
The old plugins can only show up if you didn't upload the new plugins frmo the new s9y 1.2.1 release file? Your old files should be overwritten by the new ones.
It might only be that the old plugin version names are still cached, you can rebuild that cache by emptying the table 'serendipity_pluginlist' (empty, not delete!).
*g* about the rest
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/
# 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/