Project

General

Profile

Actions

Bug #13413

open

link to not existed /wg/status_logs.php

Added by Lev Prokofev about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
WireGuard
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

If something goes wrong when you save the config changes of Wireguard (can't determine what it was in my case)
you will get the message:
"There was a problem applying the changes. See the System Logs"

The "System logs" link goes to the 404 page and usr/local/www/wg/status_logs.php is not exist.


Files

clipboard-202208131325-tdxe9.png (30.4 KB) clipboard-202208131325-tdxe9.png Lev Prokofev, 08/13/2022 05:25 AM
Actions #1

Updated by Kris Phillips about 1 month ago

I can't reproduce this, but only because I can't get this error to pop up. I've tried intentionally breaking Wireguard to get it to do this and I'm not sure how to recreate it.

However, the URL for wireguard's configuration uses https://[IP of firewall]/wg/[insert php file here]. As such, any links to logging that use the global functions would try to tack in the /wg/ part, which is probably the core of the issue here. Probably need to update the PHP code here to not use the global functions and instead use something else.

Actions

Also available in: Atom PDF