Community Support for OpenDocMan (Deprecated)
open_basedir restriction - Printable Version

+- Community Support for OpenDocMan (Deprecated) (
+-- Forum: OpenDocMan Community Discussion (
+--- Forum: OpenDocMan Support - Community Based (
+--- Thread: open_basedir restriction (/thread-29.html)

open_basedir restriction - Stephen - 01-12-2010

Warning: is_file() []: open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7923874/public_html/opendocman/mimetypes.php on line 24

Can someone interpret the error for me and provide some quidelines how to fix it?

Thank You.


Re: open_basedir restriction - Stephen - 01-12-2010

Looks like your system is configured to not allow access to /etc/mime.types.

You may want to copy or create a mime.types file in one of the paths you have access to, and edit mimetypes.php accordingly. I may post a follow up after looking at the source code later today.