11-19-2010, 07:05 PM
Hi Steve,
I downloaded version 1.2.5.7 and installed it on my beta server. The config file has the same instructions
in the comments that poses the same error. Here is the code that came from the config.php file in version
1.2.5.7:
(OpenDocMan v.1.2.5.7 config.php file)
// Uncomment this one for WINDOWS - Don't forget the trailing backslash "/"
'dataDir' => 'c:/document_repository/',
// Uncomment this one for LINUX - Don't forget the trailing slash "/"
//'dataDir' => '/var/www/document_repository/',
The commented instructions has the right symbol "/" but it still says backslash. If a user follows the instructions
as written the script comes up with the parse error. If the user does exactly what I did and follow the instructions they'll
rack their brain trying to figure out what they did wrong. I just happened to notice the backslash I put there because I
followed the instructions and knew that windows didn't read the syntax in that manner. I noticed that there are thousands
of people that looked at the posts that have to do with this exact parse error so there are thousands of people that ran
into the same exact error probably because of the same mistake I made by following your instructions in the comment section
for windows users. This could have been avoided if the line comment instructions were correct not only the 'datadir' line.
I changed this path just like everyone else probably did and didn't pay attention to how it was before I changed it.
The commented section of script should be changed to:
// Uncomment this one for WINDOWS - Don't forget the trailing frontslash "/"
'dataDir' => 'c:/document_repository/',
// Uncomment this one for LINUX - Don't forget the trailing slash "/"
//'dataDir' => '/var/www/document_repository/',
I've attached the corrected config.php file to this post for OpenDocMan v.1.2.5.7. If you installed OpenDocMan v.1.2.5.7 and
your getting this error "Parse error: parse error, expecting `')'' then download the attached config.php file and edit the
necessary lines according to your installation and server settings. This fix also works for all versions of OpenDocMan. All versions
still instruct you to end with a trailing backslash when it should be a trailing front slash...
I downloaded version 1.2.5.7 and installed it on my beta server. The config file has the same instructions
in the comments that poses the same error. Here is the code that came from the config.php file in version
1.2.5.7:
(OpenDocMan v.1.2.5.7 config.php file)
// Uncomment this one for WINDOWS - Don't forget the trailing backslash "/"
'dataDir' => 'c:/document_repository/',
// Uncomment this one for LINUX - Don't forget the trailing slash "/"
//'dataDir' => '/var/www/document_repository/',
The commented instructions has the right symbol "/" but it still says backslash. If a user follows the instructions
as written the script comes up with the parse error. If the user does exactly what I did and follow the instructions they'll
rack their brain trying to figure out what they did wrong. I just happened to notice the backslash I put there because I
followed the instructions and knew that windows didn't read the syntax in that manner. I noticed that there are thousands
of people that looked at the posts that have to do with this exact parse error so there are thousands of people that ran
into the same exact error probably because of the same mistake I made by following your instructions in the comment section
for windows users. This could have been avoided if the line comment instructions were correct not only the 'datadir' line.
I changed this path just like everyone else probably did and didn't pay attention to how it was before I changed it.
The commented section of script should be changed to:
// Uncomment this one for WINDOWS - Don't forget the trailing frontslash "/"
'dataDir' => 'c:/document_repository/',
// Uncomment this one for LINUX - Don't forget the trailing slash "/"
//'dataDir' => '/var/www/document_repository/',
I've attached the corrected config.php file to this post for OpenDocMan v.1.2.5.7. If you installed OpenDocMan v.1.2.5.7 and
your getting this error "Parse error: parse error, expecting `')'' then download the attached config.php file and edit the
necessary lines according to your installation and server settings. This fix also works for all versions of OpenDocMan. All versions
still instruct you to end with a trailing backslash when it should be a trailing front slash...