Elxis CMS Forum

Extensions => Components => Topic started by: gzamba on August 31, 2007, 15:25:55

Title: Problem with DocMan
Post by: gzamba on August 31, 2007, 15:25:55
I have DocMan installed with my elxis installation and when I try to use it I get the following error

PHP: fopen(/home/betobloc/public_html/administrator/components/com_docman/docman.config.php): failed to open stream: Permission denied
uri: index2.php?option=com_docman&section=files&task=upload&step=2
path: /administrator/components/com_docman/admin.docman.php
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): /home/betobloc/public_html/administrator/components/com_docman/classes/DOCMAN_config.class.php, line 119

and when I try to upload a file I get the following error
Error Uploading: Directory Problem
PHP: fopen(/home/betobloc/public_html/administrator/components/com_docman/docman.config.php): failed to open stream: Permission denied
uri: index2.php?option=com_docman&section=files&mosmsg=Error+uploading.+-+Directory+problem%3A+
path: /administrator/components/com_docman/admin.docman.php
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): /home/betobloc/public_html/administrator/components/com_docman/classes/DOCMAN_config.class.php, line 119

I have absolutely no idea what this all means.
Can anyone help me?

Title: Re: Problem with DocMan
Post by: datahell on August 31, 2007, 23:44:37
I think the error message tells you exactly what happens. File administrator/components/com_docman/docman.config.php either does not exist or you have no access to open it. Change mode docman.config.php to 666 and/or enable FTP access over files from the Elxis global configuration page.
Title: Re: Problem with DocMan
Post by: gzamba on September 01, 2007, 21:49:05
Thank you for your help.
I changed the permissions in the relevant file and the initial error was corrected but I still could not upload anything.
I kept getting a "directory error" when I tried to upload anything...
The component was looking for a dmdocuments directory, which did not exist, so I created it manually via ftp, bur still it did not work
I tried to see if the FTP option was off and if the username/password was correct, but again it did not work, and additionally, although the configuration file was writable, it would not be saved.
I then changed the permissions of the installation directory with CHMOD, but STILL it did not work, but at least I could now change and save the configuration.

Finally I unistalled and reinstalled the docman component and IT WORKED...

I thought only windows had such problems...
Title: Re: Problem with DocMan
Post by: datahell on September 01, 2007, 22:48:46
No these are not problems. This is Linux! You have nt set permissions right.