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 »

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: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

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 »

doch entschuldige

zeile 128

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

Post by Thorsten »

Hi,

welche Version der phpMyFAQ nutzt du denn?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

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 »

Hallo

Erstmal dickes Danke

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

:-)

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

Post by Thorsten »

Hi,

okay.

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