gallery block

Begonnen von munzur, 05 Juli 2004, 11:43:38

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 2 Gäste betrachten dieses Thema.

munzur

hallo!

der block läuft aber wenn ich debug modus einschalte sehe ich als admin viele fehler und weiss nciht genau was ich um stellen soll damit sie verschwinden.

das ist die zeile: 37 und 38:

         while (list($pic[pid], $pic[img], $pic[name], $pic[description], $pic[galloc]) = mysql_fetch_row($result4)) {
        $pic[description] = htmlentities($pic[description]);
 

und das die fehler meldung:

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Undefined variable: list_pic in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 40

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 38

Notice: Use of undefined constant pid - assumed 'pid' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant img - assumed 'img' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant name - assumed 'name' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant description - assumed 'description' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37

Notice: Use of undefined constant galloc - assumed 'galloc' in C:\Programme\TSW\Apache2\htdocs\blocks\block-Gallery.php on line 37


Danke
"Debug-Mode" einschalten.
"SQL-Fehler anzeigen" einschalten
und evt. auftauchende Fehlermeldungen posten .

DarkBoy

nicht defenierte constanten. Findest du über die suche

Andi

Yep:)

oder  im php-Manual:

http://www.php.net/manual/de/language.types.string.php
http://www.php.net/manual/de/language.types.array.php

die Schreibweise ist falsch...

Ist das ein Block vom vkpMx?

[Editiert am 5.7.2004 von Tora]
schön´s Grüssle, Andi

munzur

ZitatIst das ein Block vom vkpMx?

ist kein block von mx. ich lass die fehler mal stehen ist mir zu kopliziert! :)

l.g
"Debug-Mode" einschalten.
"SQL-Fehler anzeigen" einschalten
und evt. auftauchende Fehlermeldungen posten .

DarkBoy

da ist doch nichts kompliziert dranne. Sicher der Fehler stört nicht, aber man könnte das in 2-3 Minuten beheben.

Andi

hehehe, 1 Minute, bei den 3 Zeilen ;)

falsch: $pic[pid]
richtig: $pic['pid']

usw....
schön´s Grüssle, Andi

DarkBoy

zzgl dem hochladen und je nach Anbindung ..... :D   ;)