SiT! Bugs - SiT!
View Issue Details
0001756SiT!configpublic2011-12-27 12:082012-01-13 19:40
nicdev 
paulh 
normalmajoralways
resolvedfixed 
WindowsWindows Server2000+Later
Current GIT 
3.90beta1Current GIT 
0001756: clean_fspath() removes the ":" from windows paths
On a windows system when SiT wants to write to the debug log, in line 558 of functions.inc.php:
$fp = fopen(clean_fspath($CONFIG['error_logfile']), 'a+');
this causes a path like this for example - D\wamp\www\sit\logs\sit.log which obviously fails.

Either we have to specify the error_logfile differently in the Config, or we need to make an exception for clean_fspath()
No tags attached.
duplicate of 0001713closed ivan The function: clean_fspath($string) removes ":" from the strings which breaks file paths in Windows 
related to 0001719closed Tomse Backslashes are removed from path names under Windows 
Issue History
2011-12-27 12:08nicdevNew Issue
2012-01-07 14:59TomseRelationship addedrelated to 0001719
2012-01-13 19:35paulhAssigned To => paulh
2012-01-13 19:35paulhStatusnew => confirmed
2012-01-13 19:36paulhNote Added: 0004406
2012-01-13 19:36paulhTarget Version3.90beta1 => 3.66 LTS
2012-01-13 19:39paulhNote Added: 0004407
2012-01-13 19:39paulhTarget Version3.66 LTS => 3.90beta1
2012-01-13 19:39paulhRelationship addedduplicate of 0001713
2012-01-13 19:40paulhNote Added: 0004408
2012-01-13 19:40paulhStatusconfirmed => resolved
2012-01-13 19:40paulhResolutionopen => fixed
2012-01-13 19:40paulhFixed in Version => Current GIT

Notes
(0004406)
paulh   
2012-01-13 19:36   
Agree, targeting for 3.66 as this is quite serious
(0004407)
paulh   
2012-01-13 19:39   
already fixed in 3.x
(0004408)
paulh   
2012-01-13 19:40   
3fcdd38 resolves