Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Errors: "The file does not exist"  (Read 306 times)
0 Members and 1 Guest are viewing this topic.
frimpme
Guest
« on: June 02, 2005, 07:01:00 PM »

Receiving many of these these errors when running debug.pl.

•The file does not exist
/cgi-bin/calendarscript/calendars.txt

Have set the $BASE_DIR line correctly.  Still getting errors.  Install was successful:

ftp> dir calendars.txt
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rwxrwxrwx   1 atucker  psacln         67 Jun  2 23:03 calendars.txt
226 Transfer complete.


Also getting 500 error when trying to run calendar_admin.pl

help?

thanks  

frimpme

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: June 02, 2005, 11:59:00 PM »

** Receiving many of these these errors when running debug.pl.
•The file does not exist /cgi-bin/calendarscript/calendars.txt **

I wouldn't think the debug should check for the existance of the exact same file mutilple times. I don't know what would cause it to.

** /cgi-bin/calendarscript/calendars.txt **

That path doesn't look correct for being on a web server. What *exactly* have you set the $BASE_DIR variabe to??

Dan O.


[This message has been edited by DanO (edited June 03, 2005).]

Logged
frimpme
Guest
« Reply #2 on: June 03, 2005, 12:30:00 AM »

It's not the same message over and over again -- it throws that message once for each file that the debug.pl checks for.

Having said that, my provider has set my home directory as a virtual root; therefore, when I FTP to my account on my webserver, it dumps me at "/" and to get to my CGI directory, it's "/cgi-bin/".  My httpdocs folder is exactly that, "/httpdocs/".

So I made the installation in the folder "/cgi-bin/", and I can successfully browse to "http://www.domain.com/cgi-bin/" and it throws a 500 error, instead of a "file not found" error.  But debug.pl reports those files missing, and i can browse to that directory with my FTP client and visually verifiy that they exist.

Thus my boggle.  

ftp> dir
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rwxr-xr-x   1 atucker  psacln      29966 Jun  2 23:56 calendar.pl
-rwxr-xr-x   1 atucker  psacln      48988 Jun  2 23:56 calendar_admin.pl
drwxrwxrwx   8 atucker  psacln       4096 Jun  2 23:31 calendarscript
-rwxr-xr-x   1 atucker  psacln      20317 Jun  2 23:56 debug.pl
-rw-r--r--   1 atucker  psacln       4694 Jun  2 23:03 history.txt
-rw-r--r--   1 atucker  psacln        996 Jun  2 23:03 readme.txt
226 Transfer complete.
ftp: 413 bytes received in 0.06Seconds 6.88Kbytes/sec.
ftp> pwd
257 "/cgi-bin" is current directory.

Thanks  

frimpme

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: June 03, 2005, 12:57:00 PM »

**  I can successfully browse to "http://www.domain.com/cgi-bin/" and it throws a 500 error **

That could be caused by as simple of incorrect file or directory permissions. It might also be generated if 'directory browsing' is turned off. Check with your host.

** when I FTP to my account on my webserver, it dumps me at "/" **

That doesn't mean that's what the file system's directory structure actually is. Check your host's CGI FAQs (or with their support) for what the absolute path to that directory is and use that as the value for the $BASE_DIR variable.

JMO

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: