Forum OpenACS Q&A: Help! I'm sitewide adm. and I can't get access to files in /users

Suddenly I can't get access to my files located in /users
from /homepage/index.tcl.
The log says:
Error: dbinit: db handle limit exceeded: thread already owns 1 handle
from pool 'main'
I've only been working with OpenACS for a couple of months, but I'm
already responsible for the site. Now the users can't access their
files - I just don't get it...
Are you suggesting you've not changed any code? What script is causing the error?

This error means that the thread has tried to do a ns_db gethandle twice on the same database pool. You can only do this once in a thread - this restriction avoids a common deadlock scenario.

You are allowed to grab more than one handle on that single call, or to grab handles from another pool. OpenACS 3.2.5 uses both methods, i.e.

set db_handle_list [ns_db gethandle main 2] # or is that 2 main?
set db [lindex $db_handle_list 0]
set db1 [lindex $db_handle_list 0]
or by grabbing a second handle from the "subquery" pool (typically used in library procs called by scripts).

We need more data - at least the URL that's causing the problem.

I did change some code...I use OpenACS 3.2.4 The URL is http://server.linuxlab.dk:8001/ (a danish site).

If you for instance click on the link "teater" in the menu-bar, you will see that the pictures don't load, because it can't access the jpg-files from one of the users.

The strange thing is that I can access my files in /users from /homepage/index.tcl, but not the other users files. My co-site-wide-adm. can't even access his own files...

You ask for the script, but I can't find the appropriate script, because it is situated in the virtual directory /users.

Example: I'm in /users/kenneth where I click on a file. Result: The requested URL was not found on this server.

Do you need further information?