Community Support for OpenDocMan (Deprecated)

Full Version: Install problem - mime.types error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, can you help me? When I try install ODM, I get this message

Quote:Checking that templates_c folder is writeable... OK
installing...

Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/disk_1/www/com/trinactka:/tmp) in /disk_1/www/com/trinactka/www/dokumenty/mimetypes.php on line 24
Database Created
Database Selected
All Done with installation! Click HERE to login

After this "install" when I login as "admin" I get this message:
Quote:Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/disk_1/www/com/trinactka:/tmp) in /disk_1/www/com/trinactka/www/dokumenty/mimetypes.php on line 24
There is a problem with your dataDir. Check to make sure it exists and is writeable

I have instalation of ODM in /www/dokumenty/ and folder to documents in /archiv/ (linux base server) set as 775

Thank you very much for your help.
The mime.types file is apparently not accessible due to your web server configuration. I have added a feature request to discontinue the use of that file, and to only use the internal mime types file that comes with opendocman.
Sorry to dig an old post but I am experiencing exactly what the OP is.

At the login screen I get this across the top of the screen
Quote:Warning: is_file(): open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp/:/netshine/) in /home/ndetadm/public_html/opendocman/mimetypes.php on line 24

After log in I get a blank screen with just this across the to of the screen
Quote:Warning: is_file(): open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp/:/netshine/) in /home/ndetadm/public_html/opendocman/mimetypes.php on line 24 There is a problem with your dataDir. Check to make sure it exists and is writeable

Is there any way round this? I'm running ODM 1.2.5.7, with my dataDIR currently in stalled in /home/ndetadm/www/docs/