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 
Messages posted by: Dr. DK
Forum Index » Profile for Dr. DK » Messages posted by Dr. DK
Author Message
Well it looks like this time you have done it right!
For me:
http://www.csomaonline.org/cgi-bin/stat.cgi?action=eval&id=04-2003.txt
works fine! I am able to access all the log files and also view the IP log list, and I was on there as well when I accessed the site, so yes it works and yes you got it!
For guestbook, you mean you don't have PHP nor MySQL on your host? server?
You are welcome.

What is the problem on the guestbook?
Hello,

Would anybody know how to specify width for a comment field in Perl, for Guestbook 1.5???
I've tryed my best, but no luck?!?!
Must be some of those s/\|//gi lines...
Somebody please help!
Thanks a lot!
No problem Beth...

It could be permission based, or it could be the first line of the CGI scripts:
#!/usr/bin/perl
or
#!/usr/local/bin/perl
That is just another shot around the bush...
Seems like the stat.pl is not writing to logfiles!
Try this:

Upload from the log file that came with the stat.zip, in logfiles folder into your logfiles, then, check your stat.pl it should display underneath it! Now if that works:
Re-upload all your pl files, using ASCII, into your cgi-stat or cgi-local directory, re-check in stat.pl that the path to logfiles is correct!
Visit the site, 3 visits are required for the stat to write the log in it! So ask some of your friends to visit the page, and then the log should be written to and displayed!
Hope this helps!
Found something but I don't like it much!

If I replace "top.document.refferer" with "top.main" then the error dissapears! But on the stats each visit is going to be "undefined"!!!

Does anyone know any other way around?

Thanks!
Is there any other code for Stats to replace:

top.document.referrer??? so it can work in Frame Redirect!
Well well well...
Let's see who would know his way around this little problem...
When using a domain name, in Frame Redirect, and adding a script on the page, which would be in cgi-stat folder, once domain name is accessed, upon loading everything, there would be an error saying "Access Denied" (and the script offcourse doesn't work)! Does anybody know how to get around this?

Thanks for any replys...
Well Beth,

If everything works but the files are not being written to, then I'd check the CHMODS!!!
See if you have CHMODED everything correctly, that could be the only thing if you say the paths are correct. I'd say check your logfiles folder and see if it's chmoded to 777!

Hope that helps.
Your problem might be:

To put COOKIE on top of everything else!

The script is PHP so you want to instert the cookie in TOP of all the <HTML> tag!!!

So it would start with

<?PHP
BLA BLA BLA
<HTML>
<BODY>

Hope that helps...
 
Forum Index » Profile for Dr. DK » Messages posted by Dr. DK
Go to:   
Based on the open source JForum