View Issue Details

IDProjectCategoryView StatusLast Update
0000534bareos-corewebuipublic2017-06-08 16:36
ReporterIvoc Assigned Tofrank  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSCentOSOS Version6
Summary0000534: Unable to use "Restore" function in bareos-webui
DescriptionI get 'HTTP 500' error message when try to open "Restore" tab.

/var/log/httpd/error_log:
PHP Parse error: syntax error, unexpected '[' in /usr/share/bareos-webui/module/Restore/src/Restore/Controller/RestoreController.php on line 49, referer: http://backup.strateg.local/bareos-webui/dashboard/

It seems that you are using PHP 5.4 feature ($foo = foo()['bar']), but bareos-webui install documentation (doc/INSTALL.md) says about the requirements PHP>=5.3.3.
Additional InformationInstalled from EPEL6 repository:
php 5.3.3
php-ZendFramework2 2.2.8

Installed from Bareos - CentOS_6 repository (http://download.bareos.org/bareos/release/15.2/CentOS_6/):
bareos-webui 15.2.1
TagsNo tags attached.

Activities

frank

frank

2015-10-07 17:29

developer   ~0001870

Fix committed to bareos-webui bareos-15.2 branch with changesetid 5678.
frank

frank

2017-06-08 16:36

developer   ~0002664

closed

Related Changesets

bareos-webui: bareos-15.2 1e3dd10f

2015-10-07 16:31

frank

Ported: N/A

Details Diff
Bugfix issue 0000534

Stay PHP 5.3.3 compatible.

Fixes 0000534: Unable to use "Restore" function in bareos-webui

Signed-off-by: Frank Bergkemper <frank.bergkemper@dass-it.de>
Affected Issues
0000534
mod - module/Restore/src/Restore/Controller/RestoreController.php Diff File

Issue History

Date Modified Username Field Change
2015-10-07 12:35 Ivoc New Issue
2015-10-07 12:35 Ivoc Status new => assigned
2015-10-07 12:35 Ivoc Assigned To => frank
2015-10-07 15:32 frank Status assigned => confirmed
2015-10-07 17:29 frank Changeset attached => bareos-webui bareos-15.2 1e3dd10f
2015-10-07 17:29 frank Note Added: 0001870
2015-10-07 17:29 frank Status confirmed => resolved
2015-10-07 17:29 frank Resolution open => fixed
2017-06-08 16:36 frank Note Added: 0002664
2017-06-08 16:36 frank Status resolved => closed