PDA

View Full Version : Errors, Errors, Errors!!!


jacy
31-May-2003, 11:44 AM
mate i'm about to scream!!!
For a week now i have been building my site adding products previewing etc. I start to upload and i get script errors.
I breathe really deeply and refresh the website. I get to merging incremental updates and get an error that tells me there is a server error (500 internal error)

i can go here http://www.jacyscomputers.com.au/acatalog and browse the products. If i go to the search page and try to search i get a script error.

but if i try to go to http://www.jacyscomputers.com.au and then click on the products button or the "checkout our products here" link i get nothing. I haven't even been able to view my checkout pages as yet

I have deleted everything from my ftp site and retried. I sent the text setup email to my ISP and all was ok. I just don't get it.

is my initial dirctory htdocs or htdocs/acatalog?

cheers

Jacy.

i have attached the screen dump for my settings and errors. mabey it will be obvious to someone.

NormanRouxel
31-May-2003, 04:21 PM
Your "Path from CGI-BIN to acatalog directory" looks suspect. Try ../acatalog/ instead of ./acatalog/

Norman

jacy
31-May-2003, 11:04 PM
Thanks Norman,
But i tried changing it to ../acatalog and i still get a "the CGI Scripts aren't executing on the server" error. and also the test script failed to execute on the server" I think i'm about to !!"Execute" someone!!

Cheers

Jacy

NormanRouxel
01-Jun-2003, 09:46 AM
OK. Try ../htdocs/acatalog/ in both the "Path from CGI-BIN to acatalog directory" and the "Path from CGI-BIN to acatalog directory as viewed by the FTP Server..."

If that doesn't help I'd double check with your ISP why you're using .cgi as the Perl script extension rather than the more usual .pl


Norman

jacy
01-Jun-2003, 10:06 AM
Hiya Norman,
Thanks,
I just tried that and still no good. It's my ISP for sure!! They are looking into it (and have been for a week!!)

I changed the extensions from pl to cgi because i wasn't getting anywhere with .pl i have changed them back to pl now though.

One thing i noticed. If i upload the scripts in Ascii using wsftp, after each script uploads i get a message saying error 550 no such file. I also then have to go into the cgi directory after all scripts are uploaded and manually set the permissions for each file to 755. They are only set to 644 when i first check. Does that mean the ISP people have set up something wrong?

Cheers and thanks for replying

Jacy

(P.S) I was kidding about the execution thing :D

jacy
01-Jun-2003, 10:11 AM
I just looked at all the files on ftp site and all of the permissions are set to 644. Should they all be 755?

Cheers,

Jacy

cdicken
02-Jun-2003, 12:46 PM
That could well be the problem.

All the *.pl files need to be 755 - but the *.pm files can stay as 644.

jacy
02-Jun-2003, 01:17 PM
Hiya Chris,
Thanks for replying. If the permissions were set incorrectly on the server even if i change them each time through an FTP program manually there would still be problems wouldn't there? It won't be fixed until my ISP sets the correct permissions, is that right?

Cheers,

Jacy

cdicken
03-Jun-2003, 01:42 PM
Actinic seems to be able upload them, but it just can't execute them. Changing the permissions on the files once they are uploaded will mean that they can then run correctly.

Actinic will not need to re-upload Perl files unless you make any changes to your network settings.