Can't run analog because the variable $analog was not set: read the setup instructions!
ANALOG C:\Program Files\analog 6.0\analog.exe
You probably need quotes around that path.
Also, make sure the path is correct and that analog work without the web interface first. Finally check that the analog.exe is allowed to be run by the user the web server is running under (Network Services on W2k3)
-- Jeremy Wadsack Seven Simple Machines
Matt at iprosper.net wrote:
I'm attempting to configure Analog 6.0 on a Windows 2003 server by using the web form to create the reports. I've successfully done this on a Windows 2000 server but am receiving errors on the 2003 server. I've confirmed that analog.exe and anlgform.exe are running from the cmd line. When I attempt to run the most basic form I receive the following:
Program Incorrectly Configured
Can't run analog because anlgform.pl not set up properly.
See the server's error log for more details. [Tue Mar 1 18:40:11 2005] F:\SITES\iprosper.net\cgi-bin\stats\anlgform.exe: Can't run analog because the variable $analog was not set: read the setup instructions! Died at anlgform.pl line 123.
I'm using the anlgform.exe for windows. I've confirmed that the anlgform.cfg has the following data:
# # Configuration file for Anlgform.exe Windows compiled form interface. # # Three command are available in this file. # ANALOG tells the location of the analog executable # FORBIDDEN a space separated list of commands (in upper case) # that cannot be used on the web. # CONFIGFILE Points to an Analog configuration file whose # contents will be read by Analog # # Lines beginning with '#' are ignored as comments #
# Put in here the location of your analog.exe # ANALOG C:\Downloads\analog\analog 532w32\analog 5.32\analog.exe
ANALOG C:\Program Files\analog 6.0\analog.exe
# The following forbidden commands should always be listed for security.
# You may also want to add LOGFILE and DOMAINSFILE. See docs/form.html
# for a complete discussion of security issues.
FORBIDDEN LOGFORMAT APACHELOGFORMAT DEFAULTLOGFORMAT APACHEDEFAULTLOGFORMAT HEADERFILE FOOTERFILE UNCOMPRESS OUTFILE CACHEOUTFILE LOCALCHARTDIR ERRFILE DNS CGI SETTINGS PROGRESSFREQ LANGFILE DESCFILE
# If you want to include an analog config file as the default, you # can specify it here. # CONFIGFILE C:\downloads\analog\analog 532w32\analog 5.32\analog.cfg
I'm going to set all config details via the form, thus the commenting out of the CONFIGFILE line. Also, I've attempted to run with versions 6.0 and 5.32 and receive the same error. Also, my servers event viewer has no info pertaining to this at all. I've checked all the online instructions, FAQ's, and searched the email archives and have not found any solutions.
I appreciate any help.
Matt
------------------------------------------------------------------------
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------
+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------

