Community Support for OpenDocMan (Deprecated)
Problems with access - 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: Problems with access (/thread-65.html)



Problems with access - Stephen - 01-13-2010

bomcarioca
2008-04-26 19:55:36 PDT
Hi Stephen,

When I did the login, I get the following error messages:

Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/home/rodosc:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/rodosc/public_html/mimetypes.php on line 24
Error in query: SELECT id, username, password FROM user WHERE username = 'admin' AND password = password(''). No database selected

Could you helpe me?


logart
2008-04-28 08:26:56 PDT
Hmm, it appears that your host does not allow you to access the file at /etc/mime.types.


jonathanwminer
2008-04-28 21:25:02 PDT
Looks like we'll need to patch the mimetypes.php file to check for read access. Unfortunately, I don't have easy access to a ODM server until I'm back in the office next week.