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 
Acess Data 1.12 will work on one server Not another  XML
Forum Index » Support Forum
Author Message
Beth
Newbie

Joined: 07/04/2003 15:55:44
Messages: 2
Offline

I've got the counter script working with one ISP with advanced Perl features, but not another. Both utilize unix servers. Second ISP requires .cgi extension to be recognized. If I use .pl extension, I get the written script when I access the stat.pl page. I've got the script loaded, and the graphic shows, but the logfiles aren't being written to. Paths are correct. I'm perplexed, any insights?
Dr. DK
Beginner

Joined: 07/03/2003 18:16:07
Messages: 10
Offline

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.
Beth
Newbie

Joined: 07/04/2003 15:55:44
Messages: 2
Offline

Hi Dr. K: CHMOD was already set to 777 on files and 755 on the .cgi scripts. This one has got me baffled.

http://www.healingjourneys.org/cgi-bin/stats/stat.cgi
http://www.healingjourneys.org/stats/



Beth
Dr. DK
Beginner

Joined: 07/03/2003 18:16:07
Messages: 10
Offline

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!
Anonymous



Hello Dr. K.

Thanks for hanging in there with me. I've tried your suggestion, stat file does not show. I do believe it is a problem with the unix server configuration at the web host. I ran a simple hello.cgi script and it wouldn't work either-gave me a 500 server error. The last script (properly coded and chmoded) required a call and it magically worked. This host (small) is new to me. I can only surmise they must give permission on a script basis. I've got an inquiry in and should get a reply soon. Will keep you posted!

Beth

PS. Didn't realize logfiles had a text file in it. My other ISP, the script created a new one.
Dr. DK
Beginner

Joined: 07/03/2003 18:16:07
Messages: 10
Offline

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...
Anonymous



Dr. K:
Dr. K:

Thanks for hanging in there with me. Got Access Data 1.12 to work. Turns out that the "experts" at tech support gave me the wrong absolute path (it's true). I happend upon a script called testbin.cgi (also envhtml.cgi) that I uploaded and ran and lo and behold the path came out different than the one I was emailed by tech support. Am thrilled this fine program is working for me and learned MUCH in that process. Your insights were helpful, especially the one about uploading the textfile into logfiles!

Next project: a guestbook. Any ideas?

Thanks again for your support

Beth
Dr. DK
Beginner

Joined: 07/03/2003 18:16:07
Messages: 10
Offline

You are welcome.

What is the problem on the guestbook?
Anonymous



Hey Doc:

Guestbook PHP style won't work with the ISP where I have just installed access-data 1.12. They don't offer PHP nor do they offer MySql.

I have yet another Access Data challenge with a different ISP (another non-profit client). Again the logfiles can't be written to. This time, being more organized, I ran the testbin.cgi and got the proper path. Config'd stat.pl and log.pl (ASCII mode) and added Javascript to html page. Graphic shows but again log isn't written to. So I made sure I uploaded the text file to the logfiles folder and low and behold, this text file still doesn't show. I know there have to be 3 hits,I even changed to code to do only 1 hit before it shows and still nothing. I used the input http://www.csomaonline.org/cgi-bin/stat.cgi?action=eval&id=02-2001.txt and I get the following message: Content-type: text/html Cannot Open Log File! Logfiles folder is CHMOD'd to 777. IF you input http://www.csomaonline.org/cgi-bin/log.cgi you will see the logfiles folder and inside the folder the 02-2001.txt--but this doesn't show under the graphic. Do we have a problem with .txt files here? Can you assist one more time?

Beth

I'm learning server configuration stuff the hard way! Hope you had a happy easter!
Dr. DK
Beginner

Joined: 07/03/2003 18:16:07
Messages: 10
Offline

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?
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum