go41

wordpress 3.2 Edit Post visual editor not working json missing

von Joern am 7. Jul. 2011 | Keine Kommentare

My problem: upgrading to WordPress 3.2 worked flawless, the sites worked as before, admin is even nicer than before.

BUT: As soon I switched to the Edit Post window, any javascript didn’t work, no visual editor, no logout dropdown, no Screen Options dropdown.

I disabled all plugins, switched to twentyten and twenty eleven, ‚reset‘ plugins folder, no chance.

So I had a look at my sites error log and found:

PHP Fatal error: Call to undefined function json_encode() in /srv/www/vhosts/mysite.com/httpdocs/wp-admin/includes/class-wp-list-table.php on line 905, referer: http://mysite.com/wp-admin/edit.php

Clearly to see: undefined function json_encode() called by wp-admin/edit.php

Checking my phpinfo() there was no json to see! So on my plesk 9.5.4 json is not enabled!?

The vServer is running on plesk 9.5.4 on a suse 10.3 with php 5.2.11-0.1

To enable this json stuff I found you need json.so and json.ini in folders mentioned below.

Looking on the servers root there is no json.so in \usr\lib\php5\extensions\ and there is no json.ini in \etc\php5\conf.d\

Lucky I found the correct rpm packet ‚php5-hash-5.2.11-0.1.i586.rpm‘ here:

http://autoinstall.plesk.com/PSA_10.0.1/update-rpm-SuSE-10.3-i386/

I downloaded this .rpm, opened up with 7-zip and copied the two included files to the folders they should be in. (using winscp)

After a Restart VPS in my Virtuozzo Panel I went back to my sites phpinfo to find a new entry:

json
json support enabled
json version 1.2.1

Now back to the dashboard of WordPress 3.2 checked if the visual editor in Edit Post is working now? YESSSS!

wordpress 3.2 no visual editor Click on the Visual Form Builder > Add New link and enter a few form details Click the form fields from the box on the left to add it to your form. Edit User Role Editor allows to change WordPress user roles capabilities with easiness of a few mouse clicks. Just turn on needed check boxes. Support. It’s planned to lauch a Bug-Trac and user forum. But currently i have time to setup both. Thatswhy please contact me by email, but keep in

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.