03-02-2010, 03:48 PM
03-02-2010, 06:44 PM
Yes., Thank you it did it.
you don't need the railing backlash for the datadir in windows.....
you don't need the railing backlash for the datadir in windows.....
03-02-2010, 06:45 PM
SOLVED. THanks to a tip, the trailing baclash is not needed for the datadir setting for the windows platform. I don't know about linux.
03-02-2010, 07:22 PM
I need to fix the comment in the config file then. I think it says to put one for windows.
04-06-2010, 12:24 PM
I have a similar issue. When I have our datadir rem'd out, I get to the login screen, but I cannot get past the admin login. I displays There is a problem with your dataDir. Check to make sure it exists and is writeable
When i un rem the datadir. I get a Page can not be displayed.
Not sure where to go with this. I have made sure permissions are all ok. I can browse to the folder in IE just fine??
// Uncomment this one for Windows - Don't forget the trailing backslash "\"
'dataDir' => 'C:\Web\Apache22\htdocs\opendocman\data\',
// Uncomment this one for Linux - Don't forget the trailing slash "/"
'dataDir' => '/var/www/document_repository/',
When i un rem the datadir. I get a Page can not be displayed.
Not sure where to go with this. I have made sure permissions are all ok. I can browse to the folder in IE just fine??
// Uncomment this one for Windows - Don't forget the trailing backslash "\"
'dataDir' => 'C:\Web\Apache22\htdocs\opendocman\data\',
// Uncomment this one for Linux - Don't forget the trailing slash "/"
'dataDir' => '/var/www/document_repository/',
04-06-2010, 02:14 PM
Found the issue. Needed to have a config_local.php file with the following information in it.
Make sure that you have you whacks going the correct way
<?php
/*
config_local.php - OpenDocMan local config file
Copyright © 2007 Stephen Lawrence, Jon Miner
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Local Settings
//
// Copy config_local.php.sample to config_local.php, then add
// all your local settings. It will not be overwritten by future
// OpenDocMan installations.
//
// See config.php for possible CONFIG variables, and their default values
//Example:
$GLOBALS['database'] = 'opendocman'; // Enter the name of the database here
$GLOBALS['user'] = 'root'; // Enter the username for the database
$GLOBALS['pass'] = 'password'; // Enter the password for the username
$GLOBALS['hostname'] = 'localhost'; // Enter the hostname that is serving the database
$GLOBALS['CONFIG']['base_url'] = 'http://www.yoursite.com/opendocman';
$GLOBALS['CONFIG']['dataDir'] = 'C:/Web/Apache22/htdocs/opendocman/data/';
//$GLOBALS['allowedFileTypes'] = array('image/gif', 'text/html', 'text/plain', 'application/pdf', 'application/x-pdf', 'application/x-lyx', 'application/msword', 'image/jpeg', 'image/pjpeg', 'image/png', 'application/msexcel', 'application/msaccess', 'text/richtxt', 'application/mspowerpoint', 'application/octet-stream', 'application/x-zip-compressed','image/tiff','image/tif','application/vnd.ms-powerpoint');
?>
Make sure that you have you whacks going the correct way
<?php
/*
config_local.php - OpenDocMan local config file
Copyright © 2007 Stephen Lawrence, Jon Miner
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Local Settings
//
// Copy config_local.php.sample to config_local.php, then add
// all your local settings. It will not be overwritten by future
// OpenDocMan installations.
//
// See config.php for possible CONFIG variables, and their default values
//Example:
$GLOBALS['database'] = 'opendocman'; // Enter the name of the database here
$GLOBALS['user'] = 'root'; // Enter the username for the database
$GLOBALS['pass'] = 'password'; // Enter the password for the username
$GLOBALS['hostname'] = 'localhost'; // Enter the hostname that is serving the database
$GLOBALS['CONFIG']['base_url'] = 'http://www.yoursite.com/opendocman';
$GLOBALS['CONFIG']['dataDir'] = 'C:/Web/Apache22/htdocs/opendocman/data/';
//$GLOBALS['allowedFileTypes'] = array('image/gif', 'text/html', 'text/plain', 'application/pdf', 'application/x-pdf', 'application/x-lyx', 'application/msword', 'image/jpeg', 'image/pjpeg', 'image/png', 'application/msexcel', 'application/msaccess', 'text/richtxt', 'application/mspowerpoint', 'application/octet-stream', 'application/x-zip-compressed','image/tiff','image/tif','application/vnd.ms-powerpoint');
?>
04-07-2010, 08:48 AM
I think the issue is actually the path format for Windows. In the current SVN version I have made some changes to the comments regarding the dataDir on Windows. Using forward slashes instead of backslashes I think is what works best.
04-16-2010, 11:21 AM
I was having the same problem, but in my case it was because the web server was not providing me the correct path to the web site's root directory. I ended up doing this, which worked fine:
'dataDir' => $_SERVER['DOCUMENT_ROOT'] . '/documents/data',
$_SERVER['DOCUMENT_ROOT'] is PHP and returns the directory path to your web site's root directory.
'dataDir' => $_SERVER['DOCUMENT_ROOT'] . '/documents/data',
$_SERVER['DOCUMENT_ROOT'] is PHP and returns the directory path to your web site's root directory.
07-08-2010, 09:36 AM
Hi,
i had a problem when i login into the opendocman......
when ni login into the opendocman it showing the below error
Deprecated: Function ereg() is deprecated in C:\wamp\www\opendocman-1.2.5.7\functions.php on line 964
There is a problem with your dataDir. Check to make sure it exists and is writeable
PLZ TELL ME THE SOLUTION
Thank You........
i had a problem when i login into the opendocman......
when ni login into the opendocman it showing the below error
Deprecated: Function ereg() is deprecated in C:\wamp\www\opendocman-1.2.5.7\functions.php on line 964
There is a problem with your dataDir. Check to make sure it exists and is writeable
PLZ TELL ME THE SOLUTION
Thank You........
07-08-2010, 09:16 PM
This issue is fixed in our latest SVN.