PHP Parse Error: syntax error, unexpected $end PHP Parse error: syntax error, unexpected $ end

In PHP 5, the following error may appears as an error entry in Apache error log or simply displays on PHP web page, even if calling to php scripts with php_info() works perfectly and successfully returns information on PHP configurations: In PHP 5, die folgende Fehlermeldung erscheint als Fehler Eintrag in Apache Fehlerprotokoll oder einfach zeigt auf PHP-Web-Seite, auch wenn Aufruf zu php-Skripte mit php_info () funktioniert perfekt und erfolgreich liefert Informationen über PHP-Konfigurationen:

Parse Error: syntax error, unexpected $end in ….. Parse error: syntax error, unexpected $ end in… .. scripts.php on line … scripts.php on line…

The error may caused by a missing curly bracket in PHP script coding. Der Fehler kann durch eine fehlende Klammer Korkenzieherlocken im PHP-Skript Programmierung. Beside, it may also caused by error in PHP coding in class definition, as in PHP, a class definition cannot be broke up and distributed into multiple files, or into multiple PHP blocks, unless the break is within a method declaration. Außer, es kann auch durch Fehler in PHP-Code in der Klasse definiert, wie in PHP, eine Klasse Definition kann nicht gebrochen und verteilt auf mehrere Dateien oder in mehrere PHP-Blöcke, es sei denn, der Bruch ist innerhalb einer Methode Erklärung an.

But more commonly, the error is often caused by the use of Short Open tags in PHP, Doch häufiger, der Fehler wird oft durch die Verwendung von offenen Short-Tags in PHP,

To use short open tags, it must be enabled in PHP.INI. Zur Verwendung von kurzen offenen Tags, es muss aktiviert sein, in der php.ini. Search for short_open_tag in PHP.INI, and change the value to On. Suche nach short_open_tag in der php.ini, und ändern Sie den Wert auf On. The line should look line: Die Zeile sollte aussehen:

short_open_tag = On short_open_tag = On

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. WICHTIG: Es handelt sich um eine Maschine der Seite übersetzt wird "as is" ohne Garantie. Machine translation may be difficult to understand. Maschinelle Übersetzung ist vielleicht schwierig zu verstehen. Please refer to Bitte wenden Sie sich an original English article Original Englisch Artikel whenever possible. wann immer dies möglich ist.

Share and contribute or get technical support and help at Aktie und einen Beitrag oder erhalten technische Unterstützung und Hilfe an My Digital Life Forums Meine digitalen Lebens Foren .



13 Responses to “PHP Parse Error: syntax error, unexpected $end” 13 Responses to "PHP Parse error: syntax error, unexpected $ end"

  1. drwael
    May 14th, 2006 23:30 14. Mai 2006 23:30
    1

    thanks a lot, Thanks a lot,
    short_open_tag = On solved that problem for me short_open_tag = On Problem gelöst, dass für mich

  2. Paul
    August 22nd, 2006 22:49 22. Aug 2006 22:49
    2

    Thanks for this post…saved me a lot of time! Vielen Dank für diesen Post… gespeichert mir eine Menge Zeit!

  3. ike Ike
    December 20th, 2006 04:57 20. Dez 2006 04:57
    3

    I saw your posting and made the change to the php.ini file and I’m still getting the error the is being run with Fedora Core 5 with MySql 5. Ich habe Ihr Posting und dem Wechsel auf die php.ini-Datei, und ich bin immer noch der Fehler wird der Lauf mit Fedora Core 5 mit MySQL 5.
    Can someone please help Kann jemand bitte helfen

    0)
    { (
    while ($row = mysql_fetch_assoc($result)) while ($ row = mysql_fetch_assoc ($ result))
    { (
    print $row(’cust_id’) . print $ Zeile ( "cust_id"). ‘-’ . '-'. $row(’cust_url_desc’) ; $ row ( 'cust_url_desc');

    } )
    } )
    else sonst
    { (

    echo ‘No rows found!’; echo 'Keine Zeilen gefunden! ";
    } )

    mysql_free_result($result); mysql_free_result ($ result);

    mysql_close($connection); mysql_close ($ connection);

    ?>

  4. Bruno
    February 5th, 2007 07:41 5. Februar 2007 07:41
    4

    Hello. Hallo. I have a problem with a PHP file that shows the “PHP Parse Error: syntax error, unexpected $end” error and I followed the instructions in this page and corrected the php.ini from OFF to ON. Ich habe ein Problem mit einer PHP-Datei zeigt, dass der "PHP Parse error: syntax error, unexpected $ end"-Fehler, und ich folgte den Anweisungen auf dieser Seite und korrigiert die php.ini von OFF auf ON.
    Now, the file don’t give any feedback when I open it. Nun wird die Datei geben keine Rückmeldung, wenn ich es öffnen. It only gives me a blank page and no info! Es gibt mir nur eine leere Seite und keine Meldung! O_o O_O
    It’s strange… Can you help me please? Es ist merkwürdig… Können Sie mir helfen bitte? Thanks. Danke.

  5. phpcoder
    March 29th, 2007 22:29 29. März 2007 22:29
    5

    This might be due to a missing quote also Dies könnte darauf zurückzuführen sein, ein fehlendes Angebot auch

  6. Shawn
    August 30th, 2007 19:39 30. August 2007 19:39
    6

    Thanks a ton, I’ve been trying to figure this out for the last few hours. Thanks a ton, ich habe versucht, diese Zahl für die letzten Stunden.

  7. gilbert Gilbert
    September 15th, 2007 20:20 15. September 2007 20:20
    7

    thhanx a lot short_open_tag = On solved my problem. thhanx viel short_open_tag = On mein Problem gelöst. ypu are helpful ypu sind hilfreich

  8. Hamed
    September 30th, 2007 12:07 September 30th, 2007 12:07
    8

    wow! Wow! thanks for your useful guidance… Dank für Ihre nützliche Orientierungshilfen…

  9. Guy Kerl
    October 23rd, 2007 18:52 23. Oktober 2007 18:52
    9

    Very useful, thanks. Sehr nützlich, danke. I just upgraded to openSuse 10.3 from 10.2 which had reset my php.ini. Ich habe gerade ein Upgrade auf openSUSE 10,3 von 10,2 hatte die Reset meine php.ini.

  10. Rana
    February 27th, 2008 20:22 27. Februar 2008 20:22
    10

    Thanks for your time, But for me Its really didfficult to find a missing curly bracket. Vielen Dank für Ihre Zeit, aber für mich wirklich Seine didfficult zu finden, eine fehlende Klammer Korkenzieherlocken.

    Is there any easiest way to findout with MISSING CURLY BRACKET. Gibt es eine einfachste Art und Weise zu findout mit fehlenden CURLY BRACKET. Any editor can do it for us. Jeder Redakteur kann es für uns.

    Please Help. Bitte helfen.
    Rana

  11. sugi
    March 8th, 2008 14:27 8. März, 2008 14:27
    11

    syntax error, unexpected $end in C:\wamp\www\login.php on line 49 syntax error, unexpected $ end in C: \ WAMP \ www \ login.php on line 49

  12. Richard
    March 17th, 2008 00:32 17. März, 2008 00:32
    12

    Thank you, Danke,

    Been searching for ages for solution to this. Gewesen der Suche nach Altersgruppen für diese Lösung.

    short_open_tag = On solved that problem for me. short_open_tag = On Problem gelöst, dass für mich.

    Finally I can open templates Schließlich kann ich offen Vorlagen

  13. Raghavendra
    May 10th, 2008 14:10 10. Mai 2008 14:10
    13

    Thank you very much ….. Vielen Dank… ..

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Sie können diese Tags: <a href= title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Abonnieren ohne zu kommentieren


Custom Search

New Articles Neue Artikel

Incoming Search Terms for the Article Eingehender Suchbegriffe für den Artikel

php unexpected $end php $ unerwartetes Ende - -- Parse error: syntax error, unexpected $end Parse error: syntax error, unexpected $ end - -- Parse error: syntax error, unexpected $end in Parse error: syntax error, unexpected $ end in - -- unexpected $end $ unerwarteten Ende - -- Parse error: syntax error, unexpected $end Parse error: syntax error, unexpected $ end - -- unexpected $end php unerwartete $ end PHP - -- syntax error, unexpected $end syntax error, unexpected $ end - -- php unexpected $end php $ unerwartetes Ende - -- Parse error: syntax error, unexpected $end in Parse error: syntax error, unexpected $ end in - -- php unexpected end PHP unerwartetes Ende - -- syntax error, unexpected $end syntax error, unexpected $ end - -- php "unexpected $end" php "unerwartete $ end" - -- PHP Parse error: syntax error, unexpected $end PHP Parse error: syntax error, unexpected $ end - -- $end php $ end PHP - -- syntax error, unexpected $end in syntax error, unexpected $ end in - -- php Parse error: syntax error, unexpected $end php Parse error: syntax error, unexpected $ end - -- unexpected $end in php unerwartete $ end in PHP - -- Unexpected $end Unerwartete $ end - -- php $end php $ end - -- unexpected $end in unerwartete $ end in - -- php unexpected $end in php $ unerwartetes Ende - -- "Parse error: syntax error, unexpected $end" "Parse error: syntax error, unexpected $ end" - -- syntax error, unexpected $end in syntax error, unexpected $ end in - -- PHP Parse error: syntax error, unexpected $end PHP Parse error: syntax error, unexpected $ end - -- PHP Parse error: syntax error, unexpected $end PHP Parse error: syntax error, unexpected $ end - -- php $end error php $ end-Fehler - -- "syntax error, unexpected $end" "syntax error, unexpected $ end" - -- syntax error, unexpected $end php syntax error, unexpected $ end php - -- "PHP Parse error: syntax error, unexpected $end" "PHP Parse error: syntax error, unexpected $ end" - -- php syntax error, unexpected $end php syntax error, unexpected $ end - -- php end PHP Ende - -- "parse error: syntax error, unexpected $end in" "parse error: syntax error, unexpected $ end in" - -- php syntax error, unexpected $end in php syntax error, unexpected $ end in - -- PHP unexpected $end in PHP $ unerwartetes Ende - -- php error $end PHP-Fehler $ end - -- $end error php $ end PHP-Fehler - -- $end error meaning in php $ end Sinne Fehler in php - -- PHP Parse error: syntax error, unexpected $end in PHP Parse error: syntax error, unexpected $ end in - -- all alle - -- unexpected $end in unerwartete $ end in - -- PHP Parse error: syntax error, unexpected $end i PHP Parse error: syntax error, unexpected $ end i - -- $end in php $ end in PHP - -- Parse error: syntax error, unexpected $end Parse error: syntax error, unexpected $ end - -- unexpected $end error in php $ end unerwartete Fehler in php - -- Parse error: syntax error, unexpected $end in C:\wamp\www\ Parse error: syntax error, unexpected $ end in C: \ WAMP \ www \ - -- syntax error, unexpected $end in php syntax error, unexpected $ end in php - -- php Parse error: syntax error, unexpected $end in php Parse error: syntax error, unexpected $ end in - -- $end php error $ end PHP-Fehler - -- $end error in php $ end Fehler in PHP - -- Parse error: syntax error, unexpected $end in php Parse error: syntax error, unexpected $ end in php - --