Counter geht nicht

Maxm123

Mitglied
Ich habe mir gerade den InstCounter runtergeladen und installiert. Funktioniert alles so weit. Aber dann kommen immer Fehlermeldungen wie z.B:
Code:
Notice: Undefined variable: nologin in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 73 Notice: Use of undefined constant UserName - assumed 'UserName' in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 90 Notice: Use of undefined constant Password - assumed 'Password' in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 90 Notice: Undefined variable: action2 in /srv/www/vhosts/gx4.org/httpdocs/counter/admin.php on line 30

Aber ich habe ja am Code nichts verändert...ich hatte den Counter schon mal vor ein paar Jahren oben. Da ging alles Reibungs los.

Ich will jetzt das alles n bissel bearbeiten das die Fehler behoben sind weiß aber nicht wo ich anfangen soll.

Hab euch hier den Counter mal hochgeladen:
http://rapidshare.com/files/213863955/instacounter_v1.0.zip

und hier die Fehlermeldungen:
auf admin.php
Code:
access.php on line 73 Notice: Use of undefined constant UserName - assumed 'UserName' in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 90 Notice: Use of undefined constant Password - assumed 'Password' in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 90 Notice: Undefined variable: action2 in /srv/www/vhosts/gx4.org/httpdocs/counter/admin.php on line 30

auf styles.php
Code:
otice: Undefined variable: nologin in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 73 Notice: Use of undefined constant UserName - assumed 'UserName' in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 90 Notice: Use of undefined constant Password - assumed 'Password' in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 90 Notice: Use of undefined constant InstallDir - assumed 'InstallDir' in /srv/www/vhosts/gx4.org/httpdocs/counter/global.php on line 26 Notice: Undefined variable: public in /srv/www/vhosts/gx4.org/httpdocs/counter/styles.php on line 28

auf counter.php
Code:
Notice: Undefined variable: nologin in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 73 Notice: Use of undefined constant UserName - assumed 'UserName' in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 90 Notice: Use of undefined constant Password - assumed 'Password' in /srv/www/vhosts/gx4.org/httpdocs/counter/access.php on line 90 Notice: Use of undefined constant InstallDir - assumed 'InstallDir' in /srv/www/vhosts/gx4.org/httpdocs/counter/global.php on line 26 Notice: Undefined variable: public in /srv/www/vhosts/gx4.org/httpdocs/counter/counter.php on line 28


.
.
..
usw..

danke schon mal für die Hilfe
 
Hi,

das sind PHP-Grundlagen. Entweder Du schaltest die Notices per [phpf]error_reporting[/phpf] aus, oder Du berichtigst den Code. Dazu liest Du im Manual mal nach, wie man Array-Keys notiert (suche nach "Array do's and don'ts") und deklarierst dann noch alle Variablen, bevor sie verwendet werden.

LG
 
Zurück