Forum OpenACS Q&A: Re: Errors are seen by everybody

Collapse
Posted by Brian Fenton on
Does /global/nfound.html exist and has it read permission?

I'm not sure I fully understand what your problem is - what error are people seeing? There probably shouldn't be errors coming up on a fresh install, unless you missed something during the installation.

Brian

Collapse
Posted by unuser u on
Yes, the file exists and has read permission.

The problems are two:

1.- 'RestrictErrorsToAdminsP' in kernel config set to '1'

Problem: When a query fails, whatever the reason, all the users can see the debug error. For example: 'db_0or1row' failed to... etc.

In the same server i have some other openacs working fine. When a error appears only the admins can see it. The normal users cant see it. They receive a generic programming error 'we are investigating it', etc .

2.- I think it can be related with the first one: When i set a error page, the system cant reach it, whatever the name i set, whatever the route to the file. Openacs always shows the system error problem.

Collapse
Posted by Brian Fenton on
Can you open that error page yourself in your own browser?
Collapse
Posted by unuser u on
Yes i can:

[31/Aug/2009:11:42:33 +0200] "GET /global/nfound.html HTTP/1.1" 200 15