Hy,
Ich hab ein Problem mit der Installation von Wordpress.
Und zwar folgendes, ich lad alle files hoch, ruf die Website auf, Konfiguration erstellen, MySQL eingetragen (verbunden) und dann klick ich auf installieren und dann kommt folgendes:
Fatal error: fatal flex scanner internal error--end of buffer missed in ....../html/wp-includes/class-wp-ajax-response.php on line 32
Bin da echt ratlos, hab im netz nix gefunden, ihr seid da meine letzte Hoffnung.
hab hier was gefunden:
"
Recently when coding in PHP I got this error:[INDENT] Fatal error: fatal flex scanner internal error–end of buffer missed in [file] on [line number]
[/INDENT]Turns out it was because I forgot to close a comment block (forgot the */)."
Meine Zeilen sehen so aus:
/**
* Constructor - Passes args to { Link WP_Ajax_Response::add()}.
*
* @since 2.1.0
* see WP_Ajax_Response::add()
*
* Param string|array $args Optional. Will be passed to add() method.
* @return WP_Ajax_Response
*/
function __construct( $args = '' ) {
if ( !empty($args) )
$this->add($args);
}
[COLOR=Red] [COLOR=SeaGreen]/**[/COLOR][/COLOR]
* Append to XML response based on given arguments.
*
* The arguments that can be passed in the $args parameter are below. It is
* also possible to pass a WP_Error object in either the 'id' or 'data'
* argument. The parameter isn't actually optional, content should be given
* in order to send the correct response.
*
* 'what' argument is a string that is the XMLRPC response type.
* 'action' argument is a boolean or string that acts like a nonce.
* 'id' argument can be WP_Error or an integer.
* 'old_id' argument is false by default or an integer of the previous ID.
* 'position' argument is an integer or a string with -1 = top, 1 = bottom,
* html ID = after, -html ID = before.
* 'data' argument is a string with the content or message.
* 'supplemental' argument is an array of strings that will be children of
* the supplemental element.
*
* @since 2.1.0
*
* Param string|array $args Override defaults.
* @return string XML response.
*/
function add( $args = '' ) {
$defaults = array(
'what' => 'object', 'action' => false,
'id' => '0', 'old_id' => false,
'position' => 1,
'data' => '', 'supplemental' => array()
);
Zeile 32 ist grün markiert.
Hoffe es weiß einer worans liegen könnte.
danke
lg
SkapyTek
######################
EDIT:
######################
Hy,
hab alles neuhochgeladen und siehe da jetzt läufts.
Hab aber ein weiteres problem und zwar wenn ich meine Seite aufrufe erhalte ich nur ein weißes Blatt also keinen Inhalt.
Ich hab auch mitbekommen das die index.php von Wordpress im root Verzeichnis gerade mal 1 kb, ist das aber normal so oder?
Desweiteren was mich sehr verwundert hat war das nachdem ich die index.php hochgeladen hatte, die datei mit 0 kb angezeigt wurde.
Dann hab ich die index.php heruntergeladen und im editor geöffnet und siehe da überhaupt nichts mehr eingetragen.
Also wieder eingetragen und neu hochgeladen mit CHMOD 644, Datei wird in Filezilla mit 1 kb größe angezeigt, also mit inhalt.
Dann die hauptseite meiner page aufgerufen und siehe da wider nichts als ne weiße seite.
html verzeichnis aktualisiert und siehe da die index.php hatte wieder 0 kb und keinen inhalt mehr.
Liegt das an Wordpress oder an einer falschen Konfiguration?
Wisst Ihr vielleicht woran dies liegen könnte, vl ist euch der fehler schon mal untergekommen.
Danke
lg
Michael