Forum OpenACS Q&A: Re: files not found in package

Collapse
Posted by Dave Bauer on
Assuming you either restarted aolserver, or clicked reload and watch this file in the APM you should check the aolserver error log for problems while loading the tcl file.

If that doesn't work, check to make sure you don't have any typos in your code.

Collapse
Posted by Matthew Smith on
I have moved everything back into the www directory and am trying to get it to work from there.

I am trying the absolute path method.

I have tried both of these without success:
var/lib/aolserver/dodss-cleat/packages/usace-rest/www/classrequestvalidator.tcl
/var/lib/aolserver/dodss-cleat/packages/usace-rest/www/classrequestvalidator.tcl

Collapse
Posted by Dave Bauer on
If you get file not found with the full absolute path ie:
/var/lib/aolserver/dodss-cleat/packages/usace-rest/www/classrequestvalidator.tcl
assuming the path is typed correctly, and the file exists, if it is still not found, you should check the file permissions to make sure the AOLserver can read it.
Collapse
Posted by Matthew Smith on
I have it working with the absolute path:
/var/lib/aolserver/dodss-cleat/packages/usace-rest/www/xmlconverter/classrequestvalidator.tcl

Any guess as to why just the file name will not work, and why having the whole absolute path does work?

My thanks to everyone for all the help, especially how fast everyone responded.