Forum OpenACS Development: Re: xql files don't work

Collapse
9: Re: xql files don't work (response to 1)
Posted by Torben Brosten on
Iuri, for completeness:

Verify that the file permissions are consistent with other xql files that are working.

Sometimes an xql file will not load, for example if there is an error in the form of the file.

Remove any tabs in the xql file. xql files do not like tabs. Results can seem unpredictable. Also check for other problematic invisible characters.

Check for the existence of the query name used elsewhere in the xql file or another xql file in the same directory.

I've been frustrated with nonpredictable xql problems. Most have been caused by one of these.

Hope this helps,

Torben

Collapse
10: Re: xql files don't work (response to 9)
Posted by Iuri Sampaio on
Thanks Torben, Thanks to every feedback
The solution was right in front i haven't seen it.

File permission was the problem.
it was only with r permission
I set them to 755 now
thanks

The debuging list example in this thread is saved for future use now

I will debug notes application to learn some more code standards.