View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001298 | bareos-core | [All Projects] webui | public | 2021-01-04 14:43 | 2021-01-04 14:43 |
Reporter | Dragon | Assigned To | |||
Priority | normal | Severity | block | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Linux | OS | GenToo | OS Version | |
Product Version | 20.0.0 | ||||
Fixed in Version | |||||
Summary | 0001298: WebUI Login shows PHP-Notices then 404 (Dashboard) | ||||
Description | In development mode various PHP warnings/notices are shown on the login page Notice: compact(): Undefined variable: extras in <webroot>/admin/bareos-webui/vendor/zendframework/zend-view/src/Helper/HeadLink.php on line 403 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in <webroot>/admin/bareos-webui/vendor/zendframework/zend-i18n/src/Translator/Loader/Gettext.php on line 142 When logging in then ending up with 404 page not found. Looks like after login "<baseurl>/admin/bareos-webui/public/dashboard/" is attempted to be loaded and Apache returns 404. The file really does not exist. It seems as a PHP module so something is wrong. Apache 2.4 contains this config (besides others): """ Alias /admin/bareos-webui <webroot>/admin/bareos-webui/public <Directory <webroot>/admin/bareos-webui/public> AllowOverride None Options FollowSymLinks # ... authorization parameters for restricted internal access only ... RewriteEngine on RewriteBase /admin/bareos-webui RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] </Directory> """ WebUI is located under "<webroot>/admin/bareos-webui" Apache logs: XXX - xxx [04/Jan/2021:14:34:27 +0100] "GET /admin/bareos-webui/public/dashboard/ HTTP/1.1" 404 254 | ||||
Steps To Reproduce | Fresh install | ||||
Tags | webui | ||||
bareos-master: impact | |||||
bareos-master: action | |||||
bareos-19.2: impact | |||||
bareos-19.2: action | |||||
bareos-18.2: impact | |||||
bareos-18.2: action | |||||
bareos-17.2: impact | |||||
bareos-17.2: action | |||||
bareos-16.2: impact | |||||
bareos-16.2: action | |||||
bareos-15.2: impact | |||||
bareos-15.2: action | |||||
bareos-14.2: impact | |||||
bareos-14.2: action | |||||
bareos-13.2: impact | |||||
bareos-13.2: action | |||||
bareos-12.4: impact | |||||
bareos-12.4: action | |||||