WordPress 3.2 Artikel bearbeiten visueller Editor funktioniert nicht – json fehlt

Mein Problem: Nach dem Upgrade auf WordPress 3.2 arbeiteten die Web-Seiten nach wie vor einwandfrei, das Dashboard ist sogar noch schöner als zuvor.

ABER: Sobald ich auf das Edit Post Fenster wechselte, (Artikel oder eine neue Seite schreiben oder bearbeiten), geht kein javascript mehr, kein Umschalten auf visuell, kein dropdown zum Abmelden, kein Screen Options dropdown mehr.

Ich habe alle Plugins deaktiviert, wechselte zu twentyten und twenty eleven Themes, machte einen ‘reset’ des Plugin Ordners, keine Chance, das wollte nicht.

Also warf ich einen Blick auf mein error.log der Seite und fand einen Fatal error:

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

Deutlich erkennt man: undefined function json_encode(), eine Funktion die fehlt und durch wp-admin/edit.php aufgerufen wird.

Ein phpinfo() auf dem Server ergab, es gibt kein json! Also ist auf meinem Plesk 9.5.4 json per default nicht aktiviert!?

Der vServer läuft auf Plesk 9.5.4 auf einem SUSE 10.3 mit php 5.2.11-0.1

Um nun dieses json Modul zu aktivieren, benötigt man eine json.so und json.ini in den unten genannten Ordnern im Rootverzeichnis des Servers.

Suche auf den Servern Wurzel gibt es keine json.so in \usr\lib\php5\extensions\ und es gibt keine json.ini in \etc\php5\conf.d\

Mit etwas Glück fand ich das richtige rpm-Paket “php5-Hash-5.2.11-0.1.i586.rpm” hier:

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

Ich habe dieses .rpm downgeloaded, geöffnet mit 7-zip und dann die zwei enthaltenen Dateien json.so und json.ini in die entsprechenden Ordner kopiert, (mit WinSCP)

Nach einem (mutigen) Restart des VPS aus dem Virtuozzo Panel heraus ging ich zurück zur phpinfo() der Seite, um nun einen neuen Eintrag zu finden:

json
json support enabled
json version 1.2.1

Jetzt auf der WordPress 3.2 Seite ins Dashboard eingeloggt und geprüft, ob der visuelle Editor in Edit Post jetzt funktioniert?

Solved, Lösung gefunden, geht prima auf allen Domains die auf dem Server laufen.

Also bei mir lag es an dem fehlenden json PHP Modul , nicht am Theme, Browsercache, Plugins, PHP Memorylimit oder sonstwas.

Es gibt vielleicht einfachere Wege, json zu aktivieren, eine Suche danach lohnt.

Die größten Fehler von Blog-Neulingen, wer bietet mehr?

Mirko nimmt mir in seinem Beitrag Die 8 größten Fehler von Blog-Neulingen die Worte aus dem Mund.

Wie der Titel seines Beitrags schon sagt, geht es um Tipps für Bloganfänger und wie man sie sicher vermeidet. er bezieht sich ganz unterhaltsam auf einen Beitrag mit ähnlichem Titel…

Schaut euch seinen interessanten Text gerne mal an. Ich möchte ihm zustimmen, dass das alles nicht so schwierig ist.

Man lernt doch nur aus seinen Fehlern, am ehesten wenn man sie selbst macht. Jeder hat mal angefangen, man kämpft mit der Technik, mit dem Inhalt, liest sich sein Wissen an und schreibt noch was – ist doch toll!

In Bezug auf WAS machen die Neulinge denn Fehler? Ich denke die machen das schon richtig!

Mein Tipp an Anfänger: Vergesst die ganzen SEO-Tips, bringt gar nicht viel – wie man an den SEO-Blogs sieht…

Auch von mir: nur Mut! Wo immer sich die Gelegenheit bietet einen Blog aufzustellen, ich würd’s wieder machen!

site hacked: iframe src zxstats or bali-planet com script var zaee=

There is a trojan around infecting sites with a encrypted script starting ‘var zaee=”4.5*2,4.5*’ and iframe src linking to zxstats com and bali-planet com

This script is to find right after the body tag of index.html files and infects the PC of a visitor by loading an .exe file.
This file in return seems to scan infected PCs for ftp login user and passwords.
Finding these for example in filezilla’s passwordmanager in C:\Users\username\AppData\Roaming\FileZilla\sitemanager.xml it will send these ftp usernames and passwords out and try to access the sites stored in this file.

These sites will get this script injected via ftp to infect more visitors or even your machine again. (suspicious sites I check with chrome having javascript disabled)

There will be all index, start, home and main files with extension .php or .html infected by an added script.

The problem is the stolen ftp login, not any blog software or CMS running there! Giving ftp passwords out of hand no website software can prevent from changing files!

Sites running on php might not work after infection and show an error instead, like “Parse error: syntax error, unexpected ‘?’ in /xxx/yyy/public_html/index.php on line 18″ (WordPress) or “Parse error: syntax error, unexpected ‘?’ in /xxx/yyy/public_html/modules/boonex/chat/home.php on line 38″ (Boonex Dolphin)

Actually lucky for visitors as in this case the script doesn’t run and will not infect their machines. In .php files the script is added after the last ‘?’ and before the closing ‘>’ and doesn’t work here.

What to do?
First clean your PC from trojans using any anti virus software (malwarebytes, MS Essentials)
Do not store login passwords in Filezilla Servermanager, if you have it there delete it and set it for ‘Ask for Password’ to manually typing it.
Change your infected servers ftp password (and do not store in the ftp program!!)

With your new login go to your site and ‘repair’ all infected files by replacing them with a backup file or editing and removing the malicious code – that’s the biggest task ..

Great Usage Statistics

Great Usage Statistics, let’s keep them here before it’s going down:

Usage Statistics for joblogik.de


Summary Period: Last 12 Months

Generated 26-Oct-2010 04:31 CEST

Usage summary for joblogik.de

Generated by

Webalizer Version 2.01

The table doesn’t fit, but it’s just numbers anyway:

		Visits 	Sites	Visits 	Pages 	Files
Oct 2010	11291	184974	293572 	1614196	2649031
Sep 2010	6495	134962	194868 	1202664	1899445
Aug 2010	3956	83980	122640 	812881	1244433
Jul 2010	3371	67579	104526 	662438	1003450
Jun 2010	2082	43153	62472 	367692	585018
May 2010	1214	28007	37657 	214063	353921
Apr 2010	1074	24257	32223 	169575	292142
Mar 2010	388	8346 	826925	59152	99675
Feb 2010	223	4127 	359183	23983	43467
Jan 2010	149	2469 	224150	14639	26209
Dec 2009	69	401 	70857	6153	7158
Nov 2009	54	193 	38078	3820	3612

Simple Tags – Autolink not working

did you realize that in the latest version of the WordPress plugin Simple Tags the ‘auto link tags into post content’ is not working?

The solution how to repair is to edit your plugins/simple-tags/inc/client.php

Open this file with a text editor and find (line 118ff):

function autoLinkTags( $content = '' ) {
// Get currents tags if no exists
if ( $this->link_tags == 'null' ) {
$this->prepareAutoLinkTags();
}

// Shuffle array
$this->randomArray($this->link_tags);

by adding (in line 121) this :

$link_tags = $this->link_tags;

Your code here should look like this:
function autoLinkTags( $content = '' ) {
// Get currents tags if no exists
if ( $this->link_tags == 'null' ) {
$this->prepareAutoLinkTags();
}
$link_tags = $this->link_tags; // add in line 121
// Shuffle array
$this->randomArray($this->link_tags);

Now the keywords in your content should be linked to the tags archive.

recent spam mails

The issuer of your credit card we were advised that a card associated with your informations has been reported as stolen or lost

coming from cjlu edu cn

Hello.

We recently have determined an fraudulent wire transfert from your Credit Card. We now need you to re-confirm your informations.
Your Credit Card has been restricted for the following reason:

The issuer of your credit card we were advised that a card associated with your informations has been reported as stolen or lost, or there are other problems with your card. For more information about the problem with your card, please contact the card issuer.

www verifiedbyvisa com

->this links to xdrivrs45.ns11-wistee.fr/www.verifedbyvisa.fr/index.php in source of mail

——————————————————————————–
How can I restore my credit card ?

Please consult http://www.verifiedbyvisa.com/ and follow the disputes procedure of removing restrictions.

->this also links to xdrivrs45.ns11-wistee.fr/www.verifedbyvisa.fr/index.php in source of mail

Failure to complete all steps of the checklist immediately restore normal you credit card.

Another one:

Amazon.com – Your Cancellation (5835-32704-075143)

coming from lwxpu biux at msa hinet net

Dear Customer,

Your order has been successfully canceled. For your reference, here`s a summary of your order:

You just canceled order #2462-8334276-91190

Status: CANCELED

_____________________________________________________________________

ORDER INFORMATION
Sold by: Amazon.com, LLC

->this links to www musikidemeti com dominick.html

_____________________________________________________________________

Because you only pay for items when we ship them to you, you won`t be charged for any items that you cancel.

Thank you for visiting Amazon.com!

———————————————————————
Amazon.com
Earth`s Biggest Selection
www amazon com
———————————————————————

bei mails wie diesen schaue ich mir meist den Quelltext der Email an, wenn die dann aus China (.cn) kommen oder zu externen Seiten weiterleiten, kann man das getrost als Spam einstufen.

© 2006-2012 www.blogdot.de | Impressum - Kontakt - Datenschutzerklärung