Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2014-02-28 01:36:43

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: [solved] parse error

I have 3 TxP sites on my present server. Today I installed another one and I am getting this error:

Internal error "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead".

All sites are using TxP 4.5.5 and PHP Version 5.5.7. the other sites seem fine.

UPDATE; the other three are using PHP Version 5.4.17

2nd UpdateL: now seeing these errors

nternal error "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead"
in /home/bright/webapps/enginececom/textpattern/lib/classTextile.php at line 1860.
adminErrorHandler()
textpattern/lib/classTextile.php:1860 preg_replace()
textpattern/lib/classTextile.php:1204 Textile->footnoteRef()
textpattern/lib/classTextile.php:1155 Textile->graf()
textpattern/lib/classTextile.php:1026 Textile->fBlock()
i

Last edited by bici (2014-02-28 07:24:51)


…. texted postive

Offline

#14 2014-02-28 06:57:41

springworks
Member
Registered: 2005-01-06
Posts: 172
Website

Re: [solved] parse error

I see you are using WebFaction.

I must admit, I default to PHP5.4 for my Textpattern installs on WebFaction as I’m not sure that Textpattern is fully compatible with PHP5.5.

Have you tried changing the webapp to use PHP 5.4 instead?

Offline

#15 2014-02-28 07:24:04

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: [solved] parse error

springworks wrote #279321:

I see you are using WebFaction.

I must admit, I default to PHP5.4 for my Textpattern installs on WebFaction as I’m not sure that Textpattern is fully compatible with PHP5.5.

Have you tried changing the webapp to use PHP 5.4 instead?

well that worked! it was not clear how to fall back to an earlier version, but finally found the tip to do it via the .htaccess file. I guess when i installed the “app” in webfaction the latest is 5.5.7. i’l ouse tyne 5.3 from now on,


…. texted postive

Offline

#16 2014-07-17 21:33:23

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: [solved] parse error

Dumb question but now that I read over this – Am I to understand this problem should not appear on 4.5.5?

Because I am seeing this on a Ubuntu 14.4 Install.

Textpattern version: 4.5.5 (r5575)
PHP version: 5.5.9-1ubuntu4

Offline

#17 2015-03-08 17:52:22

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: [solved] parse error

Gallex wrote #274866:

just changed this function yield() to this function yield2(). it helped

I’m reopening an old thread for those who also use the postmaster. I have been using the yield2() hack for some time on a txp4.4.1 install but recently I was getting 500 server errors whenever I was sending a bunch of emails via postpaster. (whenever I was sending to test all worked ok). By yet again renaming yield2() to the new function on later installs tpt_yield() all worked properly again. Why? I have no idea!


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB