Bug 13776 - CU188 Testing - Core-Update 188 Development Build - wlanap.cgi error in httpd/error_log
Summary: CU188 Testing - Core-Update 188 Development Build - wlanap.cgi error in httpd...
Status: MODIFIED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all Linux
: - Unknown - Aesthetic Issue
Assignee: Assigned to nobody - feel free to grab it and work on it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-15 09:09 UTC by Waynie
Modified: 2024-09-20 10:32 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Waynie 2024-09-15 09:09:48 UTC
Hi there!

my actual Core ist: Core-Update 188 Development Build: master/a80d8177

Opening the 'access point configuration' (wlanap.cgi) through GUI results in various, repeated errors in /var/log/httpd/error_log:


[Sat Sep 14 12:56:29 2024] wlanap.cgi: "my" variable @status masks earlier declaration in same scope at /srv/web/ipfire/cgi-bin/wlanap.cgi line 369.
[Sat Sep 14 12:56:29 2024] wlanap.cgi: Use of uninitialized value in string eq at /srv/web/ipfire/cgi-bin/wlanap.cgi line 67.
[Sat Sep 14 12:56:29 2024] wlanap.cgi: Use of uninitialized value in string eq at /srv/web/ipfire/cgi-bin/wlanap.cgi line 89.
[Sat Sep 14 12:56:29 2024] wlanap.cgi: Use of uninitialized value in string eq at /srv/web/ipfire/cgi-bin/wlanap.cgi line 93.
[Sat Sep 14 12:56:30 2024] wlanap.cgi: Use of uninitialized value in concatenation (.) or string at /srv/web/ipfire/cgi-bin/wlanap.cgi line 234.

regards
Wayne
Comment 1 Waynie 2024-09-19 09:05:52 UTC
FYI … Error is still there with Core-Update 188 final.
Comment 2 Michael Tremer 2024-09-20 10:32:26 UTC
Hello,

I have disabled generating the Perl warnings here:

> https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=fc4ba90b438851e54d5a5089ee55f58501ace5d5

(In reply to Waynie from comment #1)
> FYI … Error is still there with Core-Update 188 final.

Yes, I have been very busy recently and so this was not fixed in time. It is however only an aesthetic issue.