Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Upgrade from 4.4.0 to 4.5.4 gives a fatal error...
Please forgive my duplicate post in the Development forum. The following error appears at the bottom of Textpattern pages after upgrading to 4.5.4:
Fatal error: Call to undefined function json_encode() in /users/home/sixsigma/domains/rodentregatta.com/web/public/textpattern/lib/txplib_html.php on line 28
This error appeared at the bottom of the “updating languages” screen immediately after updating to 4.5.4, and it also appears on other pages.
Suggestions on what I need to do?
(Again, apologies for the duplicate post.)
“Well, I, uh, don’t think it’s quite fair to condemn a whole program because of a single slip-up, sir.” General ‘Buck’ Turgidson
Offline
#2 2013-01-12 21:30:19
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Upgrade from 4.4.0 to 4.5.4 gives a fatal error...
I’ll delete the second one so answers aren’t posted twice without need. (No idea what you can do re your error, sorry.)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Upgrade from 4.4.0 to 4.5.4 gives a fatal error...
Probably means that php json extension (used by 4.5.4) is not enabled on your server. Try to run <txp:php>phpinfo(INFO_MODULES);</txp:php>
to be sure.
Online
#4 2013-01-12 23:32:05
- tom1
- Member
- Registered: 2009-03-20
- Posts: 36
Re: Upgrade from 4.4.0 to 4.5.4 gives a fatal error...
json_encode came with php5.2, so your server probably runs 5.1.6?
Theres quite nice php file available, that gives you those new functions that came with 5.2, if you can’t upgrade your php installation;
http://include-once.org/p/upgradephp/
Offline