Forum OpenACS Q&A: Response to Error: can't read "query" no such variable while....

Pol, that looks fine assuming Oracle is installed on the same machine as your AOLserver.
What happens when you type the following from your unix prompt?
sqlplus polv/polvpw
followed by
select sysdate from dual;
Are there any errors in your AOLserver error log?