Zum Inhalt springen

Seltsames Problem bei der Ausgabe

Erstellt am 28. November 2005 · 4 Antworten · letzte Antwort am 30. November 2005

Tags: Frage

sinan ·

Hallo,

ich habe ein seltsames Problem bei ve_guestbook. Ich habe ein ein komplett sauberes system installiert und nur die Extension ve_guestbook integriert. Nachdem ich einen Eintrag gemacht habe kommt in der Ausgabe folgender Text:
------------------------------------------------------------------
array(17) { ["includeLibs"]=> string(59) "typo3conf/ext/ve_guestbook/pi1/class.tx_veguestbook_pi1.php" ["userFunc"]=> string(24) "tx_veguestbook_pi1->main" ["templateFile"]=> string(54) "typo3conf/ext/ve_guestbook/pi1/guestbook_template.tmpl" ["teasercut"]=> string(2) "50" ["wordcut"]=> string(3) "100" ["sortingField"]=> string(6) "crdate" ["sortingDirection"]=> string(4) "desc" ["limit"]=> string(1) "5" ["email_from_name"]=> string(0) "" ["email_from_mail"]=> string(0) "" ["allowedTags"]=> string(44) ",
# ,,,

,

,,,
" ["datetime_stdWrap."]=> array(1) { ["strftime"]=> string(18-) "%A, %d-%m-%y %H:%M" } ["date_stdWrap."]=> array(1) { ["strftime"]=> string(8-) "%d.%m.%y" } ["time_stdWrap."]=> array(1) { ["strftime"]=> string(5) "%H:%M" } ["emoticons."]=> array(4) { ["active"]=> string(1) "0" [10]=> string(5) "IMAGE" ["10."]=> array(5) { ["file"]=> string(49) "EXT:ve_guestbook/pi1/emoticons/###EMOTICON###.gif" ["params"]=> string(31) "hspace=1 vspace=1 valign=bottom" ["border"]=> string(1) "0" ["altText"]=> string(8-) "Emoticon" ["titleText"]=> string(8-) "Emoticon" } ["subst."]=> array(6) { ["11."]=> array(2) { ["str"]=> string(2) "😃" ["val"]=> string(1) "1" } ["12."]=> array(2) { ["str"]=> string(9) "🙂 || :-)" ["val"]=> string(1) "2" } ["13."]=> array(2) { ["str"]=> string(9) "🙁 || :-(" ["val"]=> string(1) "3" } ["14."]=> array(2) { ["str"]=> string(5) "😢" ["val"]=> string(1) "4" } ["15."]=> array(2) { ["str"]=> string(3) "❓" ["val"]=> string(1) "5" } ["16."]=> array(2) { ["str"]=> string(9) "😉 || ;-)" ["val"]=> string(1) "6" } } } ["_CSS_DEFAULT_STYLE"]=> string(1442) " /* example styles */ .tx-guestbook-list-header { background-color: #539521; color: #FFFFFF; font-weight:bold; } .tx-guestbook-list-row { background-color: #FFFFFF; } .tx-guestbook-list-rowleft { background-color: #EEEEEE; } .tx-guestbook-list-entrycomment-title {font-weight: bold; } .tx-guestbook-list-entrycomment { font-style: italic; } .tx-guestbook-list-small { font-size: 9px; color: #666666; } .tx-veguestbook-pi1-browsebox TD { font-size: 9px; color: #666666; } .tx-veguestbook-pi1-browsebox-strong, .tx-ttnews-browsebox-SCell { font-weight: bold; } .tx-veguestbook-pi1-browsebox-SCell { background-color: #EEEEEE; } .tx-guestbook-latest-header { background-color: #539521; color: #FFFFFF; font-weight:bold; } .tx-guestbook-latest-row { background-color: #FFFFFF; } .tx-guestbook-latest-small { font-size: 9px; color: #666666; } .tx-guestbook-form-inputfield-med { border-style: solid; border-width: 1pt; border-color:#539521; font-size:12; color:#333333; width:100; height:20; } .tx-guestbook-form-inputfield-big { border-style: solid; border-width: 1pt; border-color:#539521; font-size:12; color:#333333; width:150; height:20; } .tx-guestbook-form-textarea { border-style: solid; border-width: 1pt; border-color:#539521; font-size:12; color:#333333; width:250; } .tx-guestbook-form-obligationfield { color: #CC0000; } .tx-guestbook-form-error { color: #CC0000; }" ["pageBrowser."]=> array(8-) { ["maxPages"]=> string(2) "10" ["tableParams"]=> string(42) "cellpadding="5" cellspacing="0" border="0"" ["showResultCount"]=> string(1) "1" ["activepage_stdWrap."]=> array(1) { ["wrap"]=> string(18-) "|" } ["page_stdWrap."]=> array(1) { ["wrap"]=> string(1) "|" } ["pagelink_stdWrap."]=> array(1) { ["wrap"]=> string(1) "|" } ["previous_stdWrap."]=> array(1) { ["wrap"]=> string(1) "|" } ["next_stdWrap."]=> array(1) { ["wrap"]=> string(1) "|" } } } HELLO WORLD!
liste

Displaying results 1 to 1 out of 1

sinan aloo
Montag, 28-11-05 09:12
test
-------------------------------------------------------------
Es sieht wie eine Debug ausgabe aus aber ich habe nichts der gleichen angegeben wie schon gesagt es ist nur guestbook installiert und Typo3 ist kommplett neu aufgesetzt.
Für einen Hinweis wäre ich dankbar.

sinan ·

Hat sich erledigt. Der Author hat einen var_dump() im code vergessen. 🙂

Datei: ve_guestbook/pi1/class.tx_veguestbook_pi1.php

nibbler21 ·

Hallo,

wo muss ich dieses var_dump() denn einfügen? Kenne mich mit php nicht so super gut aus.
Habe aber das selbe Problem.

Danke

sinan ·

Hallo,

in dem Extension ve_guestbook/pi1/ befindet sich die Datei class.tx_veguestbook_pi1.php. Öffne diese Datei mit einem beliebigen Editor und such nach dem Wort " var_dump()".Nachdem du das gefunden hast kannst du die Zeile löschen oder einfach mit einem #-Zeichen Auskommentieren.
Der varDump() wird dazu verwendet um das Program zu debugen, das heist einfach mal alle Variablen auszugeben die in dem Programm definiert worden sind.

Ich hoffe ich konnte dir weiterhelfen.

Grüsse

nibbler21 ·

Vielen Dank für die schnelle Antwort. Es hat funktioniert.

Und auch danke für die Erklärung von var_dump(). Gut zu wissen, dass es sowas gibt.