pragmaMx Support Forum

pragmaMx => integrierte Module => Thema gestartet von: Mecki in 22 Juni 2004, 13:53:41

Titel: block-Last_Recipes.php
Beitrag von: Mecki in 22 Juni 2004, 13:53:41
Hi,

im Debug Modus kommt diese Meldung.

was muß ich wie ändern?

Notice: Undefined variable: PHP_SELF in /home/www/web1/html/pa-te/blocks/block-Last_Recipes.php on line 24

Notice: Undefined variable: content in /home/www/web1/html/pa-te/blocks/block-Last_Recipes.php on line 33
Titel: Re: block-Last_Recipes.php
Beitrag von: jubilee in 22 Juni 2004, 14:51:12
aus dem $PHP_SELF machst Du mal
  $_SERVER['PHP_SELF']
Das andere kannst Du ignorieren, wenn der Rest funktioniert.
Ansonsten kannst Du am Anfang des Block-Scriptes
  $content="";eintragen.
Du wirst dann aber wahrscheinlich die (im Ablauf) nächste Zuweisung
von $ccontent abändern müssen
( von   $content= nach   $content .= )
MfG
jubilee