MantisBT - MIDAS
View Issue Details
0010996MIDASpublic2010-07-15 14:422010-08-26 11:09
johan andruejol 
Julien Jomier 
normalminorhave not tried
resolvedfixed 
 
2.8 
0010996: Windows : Impossible to create bistream
On windows, it's impossible to create bitstream. The server upload them correctly but then it's impossible to find them.
I think the problem comes from Midas\Midas\config\config.php , Indeed, the directories for the assetstore file, temp file, backup file and cache file are written like that :
// Full path of the DSpace assetstore00 directory on the server
$MIDAS_DSPACE_ASSETSTORE_PATH = $MIDAS_BASE_DIRECTORY.'/assetstore';
But "/" is only for the UNIX-based OS, and not windows. If I put "\" instead of "/" then this is working.
Maybe there is a php function that can determine if you need to use "\" or "/" depending on the OS you want to use.
Enclosed my config.php file corrected.
No tags attached.
? config.php (9,468) 2010-07-15 14:42
https://public.kitware.com/Bug/file/3249/config.php
Issue History
2010-07-15 14:42johan andruejolNew Issue
2010-07-15 14:42johan andruejolFile Added: config.php
2010-07-15 15:22Julien JomierNote Added: 0021401
2010-07-15 15:27Julien JomierNote Added: 0021402
2010-08-26 11:09Julien JomierNote Added: 0021973
2010-08-26 11:09Julien JomierStatusnew => resolved
2010-08-26 11:09Julien JomierFixed in Version => 2.8
2010-08-26 11:09Julien JomierResolutionopen => fixed
2010-08-26 11:09Julien JomierAssigned To => Julien Jomier

Notes
(0021401)
Julien Jomier   
2010-07-15 15:22   
which LAMP stack are you using? XAMPP? You shouldn't need to change the '/' by '\'.
(0021402)
Julien Jomier   
2010-07-15 15:27   
also make sure that the apache user can actually write to the directory...
(0021973)
Julien Jomier   
2010-08-26 11:09   
Assuming this is fixed