Undefined variable: lang in C:\inetpub\wwwroot\faq\index.php

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
SEG
Posts: 3
Joined: Wed Jun 23, 2004 9:04 am

Undefined variable: lang in C:\inetpub\wwwroot\faq\index.php

Post by SEG » Wed Jun 23, 2004 9:07 am

Hallo

Scheint eigentlich alles funktionieren ausser dieser Meldung.
Sorry bin totaler Neuling, habe von PHP keine Ahnung :-)

Was ist zu tun ?

Danke für Hilfe im voraus

mfg

Thorsten
Posts: 14671
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten » Wed Jun 23, 2004 9:34 am

Hi,

steht da keine Zeilennummer dabei?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

SEG
Posts: 3
Joined: Wed Jun 23, 2004 9:04 am

Post by SEG » Wed Jun 23, 2004 10:48 am

doch entschuldige

zeile 128

danke

Thorsten
Posts: 14671
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten » Wed Jun 23, 2004 10:49 am

Hi,

welche Version der phpMyFAQ nutzt du denn?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Thorsten
Posts: 14671
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten » Wed Jun 23, 2004 10:51 am

Hi,

ich denke, du nutzt die 1.3.14, oder?

Füge nach

Code: Select all

if (isset($_POST["lang"]) && $_POST["lang"] != "") {
	$lang = $_POST["lang"];
	}
folgendes ein:

Code: Select all

else {
    $lang = "";
    }
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

SEG
Posts: 3
Joined: Wed Jun 23, 2004 9:04 am

Post by SEG » Wed Jun 23, 2004 11:01 am

Hallo

Erstmal dickes Danke

also mit else >lang = ""< hats nicht geklappt,
aber dafür mit -> "de"

:-)

mfg

Thorsten
Posts: 14671
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten » Wed Jun 23, 2004 11:03 am

Hi,

okay.

bye
Thorsten.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply