Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

PHP error on LAN admin page

Got problems with your B2 or B3? Share and get helped!
Post Reply
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

PHP error on LAN admin page

Post by Eek »

This is very annoying.
I know I saw this problem on this forum, but can not find it.
When accessing the http://b3/admin/network/lan page
I get the following errors
A PHP Error was encountered

Severity: Notice

Message: Undefined index: dhcpd

Filename: network/network_lan_view.php

Line Number: 243
The web-admin log reports
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 243
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 260
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 268
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 276
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 283
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Uninitialized string offset: 3 /usr/share/web-admin/admin/views/default/network/network_lan_view.php 284
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 299
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 307
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 315
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Undefined index: dhcpd /usr/share/web-admin/admin/views/default/network/network_lan_view.php 323
ERROR - 2011-08-04 12:55:25 --> Severity: Notice --> Uninitialized string offset: 3 /usr/share/web-admin/admin/views/default/network/network_lan_view.php 324
Anyone?
cheers
Eek
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: PHP error on LAN admin page

Post by Ubi »

You went through the log files and looked for lines saying dhcpd right? What did they say?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: PHP error on LAN admin page

Post by Eek »

well not yet all logs and also did not check the php code yet.
I know this is not a new problem, so hoped someone would recognize the problem or the post that first mentioned this same error.
cheers
Eek
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: PHP error on LAN admin page

Post by Eek »

Found it!
the network_lan_view.php on the admin pages uses the /etc/dnsmasq.d/bubba.conf file,
which I had removed, as it conflicted with my own /etc/dnsmasq.conf file.
Just created it again with only the parameter dhcp-range= and now the admin page is decent again.
cheers
Eek
Post Reply