View Issue Details

IDProjectCategoryView StatusLast Update
0000154Bacula-Webbug-phppublic2014-12-16 17:05
ReporterdavideAssigned Todavide 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version7.0.1 
Target Version7.0.2Fixed in Version7.0.2 
Summary0000154: Potential bug in constant definition (global.inc.php)
DescriptionIn the file global.inc.php, the constant VIEW_CACHE_DIR is set in a relative way (see below).

define('VIEW_CACHE_DIR', "application/view/cache");

If the file global.inc.php is called from another folder than the root folder, Smarty cache folder wouldn't be found by the script.

The constant should be defined like this
define('VIEW_CACHE_DIR', BW_ROOT . "/application/view/cache");
Additional InformationThis bug is related to bug report 0000152 (reported by md3k)
TagsNo tags attached.

Relationships

related to 0000152 resolveddavide cache folder must be writable by Apache user 

Activities

davide

2014-12-16 17:05

manager   ~0000432

Bug fixed in Release 7.0.2

Issue History

Date Modified Username Field Change
2014-12-16 11:59 davide New Issue
2014-12-16 11:59 davide Status new => assigned
2014-12-16 11:59 davide Assigned To => davide
2014-12-16 12:00 davide Additional Information Updated View Revisions
2014-12-16 12:01 davide Additional Information Updated View Revisions
2014-12-16 12:01 davide Relationship added related to 0000152
2014-12-16 17:05 davide Note Added: 0000432
2014-12-16 17:05 davide Status assigned => resolved
2014-12-16 17:05 davide Fixed in Version => 7.0.2
2014-12-16 17:05 davide Resolution open => fixed