3.2.0

Generated program does not run on Unix - Apache chokes

If I use the generated grid.js (all on one line) I get an error on Unix under Apache. The error is -

[Wed Jul 27 10:36:05 2005] [error] (8)Exec format error: exec of /foo/cgi-bin/runtime/lib/grid.js failed
[Wed Jul 27 10:36:05 2005] [error] [client 10.216.62.37] Premature end of script
headers: /foo/cgi-bin/runtime/lib/grid.js
[Wed Jul 27 10:36:05 2005] [error] (8)Exec format error: exec of /foo/cgi-bin/runtime/styles/xp/grid.css failed
[Wed Jul 27 10:36:05 2005] [error] [client 10.216.62.37] Premature end of script
headers: /foo/cgi-bin/runtime/styles/xp/grid.css
Anthony M.
July 27,
lol not supprised if apache is trying to execute it

make sure it's not in you cgi-bin or perl-bin folder
July 27,
Yes, that turned out to be the problem. I moved it out of the cgi-bin directory and moved it up one level. I also ran it thru dos2unix to strip out the ^M's at the end of each line. Seems to work OK now. Having a slight problem using multiple grids. See my comment "These settings are a bit flakey".
Anthony M.
July 30,

This topic is archived.

See also:


Back to support forum