Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Dec 12, 2001, 01:54 AM
krsd krsd is offline
New Member
 
Member Since: Dec 2001
Location: AZ
Posts: 3
I keep getting the following error when I try to run the script:

It looks like there was an error:
Your script produced this error: (Maybe you didn't strip carriage returns after a network transfer?)

I have checked the finle and don't see any problems there, and have reposted it several times. The error still comes up.


advertisement
  #2  
Old Dec 17, 2001, 07:26 PM
DocJohn's Avatar
DocJohn DocJohn is online now
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,793
Have you uploaded other scripts to your server and run them without trouble?

__________________
Don't throw away your shot.
  #3  
Old Dec 18, 2001, 03:18 AM
krsd krsd is offline
New Member
 
Member Since: Dec 2001
Location: AZ
Posts: 3
Actually this was my first attempt, as I am new to perl and CGI.
The page is on tripod:
http://knightshadowdancer.tripod.com/
and I am pretty much trying to just stick with the default locations for things to try to keep them simple. I will look it over again tomorrow after I get done teaching though.

  #4  
Old Dec 18, 2001, 10:47 PM
splash's Avatar
splash splash is offline
Member
 
Member Since: May 2001
Location: Massachusetts, USA
Posts: 176
hi krsd,
did you transfer/upload the files in ASCII (text) mode?

splash

  #5  
Old Dec 19, 2001, 12:52 AM
krsd krsd is offline
New Member
 
Member Since: Dec 2001
Location: AZ
Posts: 3
Thanks! That was it! Well, in part anyhow. I had my transfer set to auto, and it wasn't recognizing the cgi file types.

It looks like the script is executing now, but I am still getting an error:

CGI ERROR
==========================================
Error Message : unable to open directory in auth_cleanup: /cgi-bin/oj/ojauth. Reason: No such file or directory
Perl Version : 5.00404
Setup File : default.cfg

Form Variables
-------------------------------------------
pw :
userid :

Environment Variables
-------------------------------------------
CONTENT_LENGTH :
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, application/pdf, */*
HTTP_ACCEPT_CHARSET :
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION :
HTTP_COOKIE : CookieStatus=COOKIE_OK; MEMBER_PAGE=knightshadowdancer/html/mythoughts2.html; REFERRER=(null)
HTTP_HOST : bos-cgi-int.tripod.com
HTTP_PRAGMA :
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
QUERY_STRING :
REMOTE_ADDR : 10.10.17.199
REMOTE_HOST :
REMOTE_USER :
REQUEST_METHOD : GET
REQUEST_URI : /knightshadowdancer/cgi-bin/oj.cgi
SCRIPT_NAME : /knightshadowdancer/cgi-bin/oj.cgi
SERVER_ADMIN : ops@tripod.com
SERVER_NAME : cgi.tripod.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
TZ : US/Eastern

I've set the permissions for all the files and directories to 777, and still get the error. Does the file have to be there for the script to work? I thought it would generate it, but obviously it is having a problem there.

Also, how do I use the script? Do I just go to the cgi file in the browser, or do I access it through a form? I know normally cgi is called from the form, but since this one has templates and seems to do a lot of stuff on its own... I am left wondering.

  #6  
Old Dec 23, 2001, 09:32 AM
splash's Avatar
splash splash is offline
Member
 
Member Since: May 2001
Location: Massachusetts, USA
Posts: 176
hey! how's it going?

i'm not familiar enough with these scripts to offer specific feedback, but i did come across a couple other threads that had the same error message:

http://forums.grohol.com/showthreade...=&vc=1#Post539

http://forums.grohol.com/showthreade...=&vc=1#Post468

best wishes,

splash

Reply
Views: 452

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a problem... Christina86 Psychotherapy 34 Apr 22, 2007 11:45 AM
i have a problem carole_1 Other Mental Health Discussion 8 May 26, 2006 03:53 AM
Is there a problem? MacD Other Mental Health Discussion 4 Jul 13, 2005 04:42 PM
Is this a problem? Teardrop822005 Eating Disorders 11 Jun 19, 2005 11:17 PM


All times are GMT -5. The time now is 01:11 PM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.