Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#61 2013-12-01 08:39:16
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: adi_notes - leave notes for Textpattern users
internal error “preg_replace(): the e / modifier is deprecated, use preg_replace_callback instead”.
got this error during the installation of adi_notes-1.2 plugin.
txp: 4.5.5
PHP version: 5.5.2-pl0-gentoo
?
Offline
#62 2013-12-01 21:08:13
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Although adi_notes uses preg_replace, it doesn’t use the e modifier – so I’m not sure where this error comes from.
Does the plugin install despite the error? If so, does it work OK?
Offline
#63 2013-12-02 00:20:56
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Gallex wrote:
internal error “preg_replace(): the e / modifier is deprecated, use preg_replace_callback instead”.
… and is there a bit more to the error message? It should indicate where in the code the error’s being generated.
Offline
#64 2013-12-02 08:35:47
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: adi_notes - leave notes for Textpattern users
gomedia wrote:
… and is there a bit more to the error message? It should indicate where in the code the error’s being generated.
no, that’s all it says. and it doesn’t install. after ‘upload’ click the error message appers and the process will keep loading and loading and…until i kill it from task manager. would you like to try it yourself? i will create an user account for you.
Offline
#65 2013-12-02 09:04:54
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Gallex wrote:
would you like to try it yourself? i will create an user account for you.
I’ve sent you an email …
Offline
#66 2013-12-02 09:51:48
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Thanks for the login.
Seems to be an issue with Textile not being PHP 5.5 ready – there’s more info here.
adi_notes installs OK & if you can ignore the errors then it seems to work OK too.
Offline
#67 2014-02-18 14:28:15
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: adi_notes - leave notes for Textpattern users
Hi Adi,
a small correction for the next update:
Line 1189 is
$style = 'width:'.adi_notes_prefs('width').';' :
where it should be
$style = adi_notes_prefs('width') :
ATM width:
is duplicated in the style attribute, making the output invalid.
The fix for now is removing width:
(and ;
) from the plugin preference’s ‘Width’ text input field.
There’s another line with exactly the same contents, line 974. Can’t tell whether it needed the change as well.
Last edited by uli (2014-02-18 14:28:36)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#68 2014-02-20 23:21:06
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
uli wrote:
a small correction for the next update:
Thanks Uli, I’ll put it on the list.
Offline
#69 2014-03-21 17:01:55
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: adi_notes - leave notes for Textpattern users
Hello Adi, any plan to upgrade to TXP 4.6 ?
Offline
#70 2014-03-21 22:29:35
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
jpdupont wrote #279880:
Hello Adi, any plan to upgrade to TXP 4.6 ?
Yes, I’ll fix up all my plugins for 4.6. I haven’t tried it yet … your question worries me! Is it broken horribly?
Offline
#71 2014-03-22 10:37:20
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: adi_notes - leave notes for Textpattern users
I upgrade the site of my school to the last 4.6 and here I see the links at the bottom of the screen but impossible to open the edit window …
Offline
#72 2014-03-22 12:35:45
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
jpdupont wrote #279891:
I upgrade the site of my school to the last 4.6 and here I see the links at the bottom of the screen but impossible to open the edit window …
Yep, I can see the problem … and more importantly, the fix. Leave it with me.
Offline