App not launching

Luckily this is on our test environment.

Browser says:
Internal Server Error

Console reports:
[Fri Mar 04 13:07:02 2016] [error] [client 174.20.122.87] Can’t use an undefined value as a symbol reference at /Library/Server/Web/Data/CGI-Executables/test/testadmin/testadmin.cgi line 118.
[Fri Mar 04 13:07:02 2016] [error] [client 174.20.122.87] Premature end of script headers: testadmin.cgi

I have double checked permissions.

Another piece of information: If I reboot the server, it launches successfully.

You may want to make sure your app is not already running when you upload a new version.

See http://www.dev.1701software.com/blog/2013/09/08/upgrading-xojo-cgi-apps