Friday, May 18th 2012, 3:56pm UTC+2

You are not logged in.

  • Login
  • Register

1

Friday, November 4th 2011, 11:59am

Fehlermeldungen loch an Löcher

Hallo wir haben hier bei uns im Radio eure Wunschbox V2 drinne und haben uns die Error_log mal angeschaut und mussten feststellen, das wir nen Ganzen Haufen Fehlermeldungen erhalten..

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PHP Notice:  Undefined index:  panel in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 60, 
PHP Notice:  Undefined index:  user_level in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 64, 
PHP Notice:  Undefined index:  user_level in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 67, 
PHP Notice:  Undefined index:  panel in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 39, 
PHP Notice:  Undefined index:  user_level in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 60, 
PHP Notice:  Undefined index:  panel in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 60, 
PHP Notice:  Undefined index:  user_level in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 64, 
PHP Notice:  Undefined index:  user_level in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 67, 
PHP Notice:  Undefined index:  panel in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 39, 
PHP Notice:  Undefined index:  user_level in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 60, 
PHP Notice:  Undefined index:  panel in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 60, 
PHP Notice:  Undefined index:  user_level in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 64, 
PHP Notice:  Undefined index:  user_level in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 67, 
PHP Notice:  Undefined index:  panel in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 39, 
PHP Notice:  Undefined index:  panel in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 60, 
PHP Notice:  Undefined index:  panel in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/index.php on line 67, 
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 96
PHP Notice:  Undefined variable: but2 in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 98
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 100
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 96, 
PHP Notice:  Undefined variable: but2 in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 98, 
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 100, 
PHP Notice:  Undefined variable: rng1a in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/functions/options.php on line 68, 
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 96, 
PHP Notice:  Undefined variable: but2 in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 98, 
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 100, 
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 96, 
PHP Notice:  Undefined variable: but2 in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 98, 
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 100, 
PHP Notice:  Undefined index:  option in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/functions/wbox.php on line 51, 
PHP Notice:  Undefined index:  plugin in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/index.php on line 39, 
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 96
PHP Notice:  Undefined variable: but2 in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 98
PHP Notice:  Undefined variable: off in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/index.php on line 100
PHP Notice:  Undefined index:  option in /var/www/vhosts/*******.de/httpdocs/Wunschbox2/admin/mcp/functions/wbox.php on line 51



so wir selber haben das nur hochgeladen und mehr nicht, naja und halt installiert

Cluster

Administrator

Posts: 1,283

Location: Salzburg/Österreich

Occupation: Student/Software Engineer

2

Sunday, November 6th 2011, 9:51pm

Hi, diese PHP Notice sollten keine Probleme verursachen.

lg Cluster


3

Sunday, November 6th 2011, 10:42pm

Hi, diese PHP Notice sollten keine Probleme verursachen.

lg Cluster
Naja probleme nicht das stimmt aber es ist lässtig jedesmal diese Fehler zu ignorieren, denn wenn ich das Wesentliche aus den logs haben will was vlt doch noch falsch läuft oder der gleichen komm ich nicht dran weil diese ganzen fehlermeldung innerhalb von 24h eine Loggröße erreichen welche nicht mehr editierbar ist bzw noch nicht einmal mehr geöffnet werden kann, da endweder die größe störrt oder die Zeilengröße...

nix an den script künsten aber ich hab mehrere male gesehen im script das einmal if(isset($variable)) genutzt wird und dann wieder nicht.

alle zeilen die mir diese fehlermeldung gebracht haben habe ich nacheditiert und ein @ vor der Verursachten Variable gesetzt, sodass die fehlermeldung darüber nicht mehr ausgegeben werden.

Cluster

Administrator

Posts: 1,283

Location: Salzburg/Österreich

Occupation: Student/Software Engineer

4

Monday, November 7th 2011, 12:44pm

Achso meinst du das, ja das stimmt.

Eine meldungsresistente Programmierung sollte schon angestrebt werden. Ich für meinen Teil lass mir die Notices direkt im HTML einblenden, damit ich sehe wo Nachholbedarf ist.
Ich denke wenn Kintaro den Eintrag hier liest wird er sein Script nachbessern. :)

Danke für die Meldung auf jeden Fall.