If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Access stats error messages  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi,

I have been unsuccessful in getting Access Stats to work after trying for 3 or 4 days. I keep getting an "Internal Error Message" when I try view the cgi-bin/stat.pl file. Here is what I have done out so far:

I made sure that apache was set up for cgi-bin and wrote a little perl test script. Everything worked OK from a web browser. (ie apache, perl and cgi-bin are all set up and working correctly.)

Next I uploaded the stat.pl and log.pl files to the cgi-bin directory, and put the rest of the "stat" directory under my web server's document root (var/www). I changed the permissions on stat.pl and log.pl (chmod 755) and also changed the file locations within both as necessary (see below):



Also, I made sure that the files were uploaded in ASCII mode, and I changed the permissions (recursively) on the entire stat directory to 777.
I still got no where so I decided to check out the perl files like this:



I had no idea what "\h" is supposed to be. After some checking I discovered this is a new thing in Perl 5 - it is for horizontal whitespace (click HERE for more information). I AM using Perl 5 (5.8.4) so I don't know why it didn't recognise the \h. Anyway, I removed it just in case... still no luck.

I really don't know perl and am not sure what else to check. I am pretty sure that I have all the relevant files in the correct places, the permissions are correct and my server is set up correctly. Any advice on what else to check.

Also, what is the deal with the image call that is supposed to be placed in the index file. Is this a normal way to make a call to perl or cgi bin? I am talking about lines like:



How can I do this from the command line (to test it out without using a browser)? I tried the following but it didn't work:

perl -w log.pl ref=noscript

Any help or guidance would be much appreciated,

Craig
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum