Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Some admin CGI scripts fail

open
nobody
None
5
2014-05-04
2001-12-22
Thomas Straub
No

After successfully installing OS-AllComerce by running the
"configure.pl" script, and successfully logging in to the
administrator login with the
URL:

http://your.domain.com/cgi-
bin/om/admin/login.cgi

Most of the HTML pages load fine, but
some don't (such as the 'Orders' menu option. When looking at the
Apache error logs, you notice a strange error message that looks
something like this:

Cannot find file ":

This can be caused
(especially on Windows 98 or NT) if there is one or more spaces at the
end of the "shebang" or first line in a Perl script. For example (do
not include the quote characters):

"#!/usr/bin/perl
"

Just remove the ending spaces from all *.cgi scripts under the
"/home/httpd/os_allcommerce/cgi-bin" directory and all
subdirectories using you favorite text editor.

This can also
be the problem if you can run the "configure.pl" script with the
command line:

$ perl configure.pl

But that the UNIX
command line below does NOT work:

$ ./configure.pl

Discussion