GUI loading failed with fresh install of TPP

3 views
Skip to first unread message

Eliza

unread,
Oct 27, 2009, 9:24:47 AM10/27/09
to spctools-discuss
I noticed that after doing a fresh install of TPP the web interface
does not render properly, it seems that images and style sheets have
failed to load. On checking the web server's error log I noticed a
series of errors beginning with:

tpp_gui.pl: Use of uninitialized value in pattern match (m//) at /usr/
local/tpp/cgi-bin/tpp_gui.pl line 237.

Running version 4.3 on Debian Etch.

Eliza

unread,
Dec 15, 2009, 7:11:41 AM12/15/09
to spctools-discuss
My problem is now solved, but in case anybody else encounters the same
problem I've shared my answer.

Firstly, I was advised that the error tpp_gui.pl: "Use of
uninitialized value in pattern match (m//) at /usr/local/tpp/cgi-bin/
tpp_gui.pl line 237" is something that can be safely ignored and had
nothing to do with the web page failing to render. This error was
followed by: (8)Exec format error: exec of '/usr/local/tpp/cgi-bin/
tpp_gui.css' failed, referer: http://tpp-proteomics.btk.fi/tpp/cgi-bin/tpp_gui.pl

Secondly, in order to get the web pages to render properly I had to
add the following handler to the /usr/local/tpp/cgi-bin directory
directive:

<Directory "/usr/local/tpp/cgi-bin">
...
AddHandler cgi-script .cgi .pl
AddHandler default-
handler .jpg .png .css .ico .gif .js
...
</Directory>
Reply all
Reply to author
Forward
0 new messages