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 Artisteer 4.3. Quick and easy-to-use web gn generator for Windows with reds of gn options and export to WordPress, Joomla, Drupal, DotNetNuke Changelog. Feature: Added responsive typography theme options. Feature: Added WooCommerce and m support. Updated: Save headers and footers under While get in touch with you will find out, that the initial delivery package comes only with english localization. If you want to show

Autor:

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

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.