Community Support for OpenDocMan (Deprecated)

Full Version: Can't Add Documents
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We have everything up and running and everything seems to be fine, except for the fact that we can not Add documents.

we go through the Add a Document settings and when we click on "Add Document" at the very bottom it simply goes to a IE cannot display this page error, and the documents aren't added.

I'm not sure exactly what we need to do here. Any pointers would be very appreciated!

Thanks!
Can you check your web server error log and see if anything is showing up there?

Also, verify that your base_url setting is configured properly in opendocman.
I can't add documents too. Look: <!-- w --><a class="postlink" href="http://www.testes.edmarrp.org/opendocman">www.testes.edmarrp.org/opendocman</a><!-- w -->
edmarpp: It looks like your configuration is not correct, or your permissions are wrong for your dataDir. I would like to fix your issue because the program should have complained to you that your permissions were wrong when you installed. Can you answer a couple of questions?

1) What operating system is ODM running on?
2) What does the dataDir show in your config.php
3) What permissions do you have set for you dataDir?
Stephen Wrote:Can you check your web server error log and see if anything is showing up there?

Also, verify that your base_url setting is configured properly in opendocman.


the base_url setting was correct and everything seemed to have been configured properly. But, the issue was that I was using a "empty" file to upload to test. Apparently, ODM doesn't look those files. I simply (eventually) picked a different file with text in it and it worked fine. Thanks for the help.
I'm sorry if I double posted this.

I am having the same problem. When I select a file and click "Add Document" the browser tries to find "http://add.php/".

I've tried different file types with the same results.

I think I have the config_local.php setting correct.

Here they are without the specific host name:

$GLOBALS['CONFIG']['base_url'] = 'http://www.???files.com/';
$GLOBALS['CONFIG']['dataDir'] = '/home/???files/private/files/';

This is from the web log:

? - - [03/Jun/2010:11:46:35 -0400] "GET //add.php HTTP/1.1" 200 17951 "http://www.???files.com/out.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)"
? - - [03/Jun/2010:11:51:00 -0400] "GET //add.php HTTP/1.1" 200 17965 "http://www.???files.com/out.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)"


Any thoughts on what might be wrong?
Follow up -

I added this to the config.php file:

'base_url' => 'http://www.???files.com'

It still had the default setting. As per instructions I had only edited config_local.php but those settings were not copied to config.php.

At any rate, by editing config.php with my settings everything worked fine.
Can you verify the permissions of the config_local.php file for me? I am wondering if maybe the web server did not have access to that file.