Community Support for OpenDocMan (Deprecated)
Install problem - mime.types error - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: Install problem - mime.types error (/thread-306.html)



Install problem - mime.types error - Tomm - 08-23-2010

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.


Re: Install problem - mime.types error - Stephen - 09-14-2010

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.


Re: Install problem - mime.types error - susedroidman - 09-23-2011

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/