Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-11-2006, 11:51 AM   #1 (permalink)
 
Newb Techie

Join Date: Dec 2006

Posts: 23

wan_14my

Default PHP script problem

Hi all,

I'm trying to install a php script on my website. It's an autoresponder script. It's called unlimited autoresponder. However, when I'm trying to access the script from my browser, I get this error message

---------------------------------------------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, webmaster@chuangcomputer.com and
inform them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request."

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

Can somebody help me?
wan_14my is offline  
Old 12-11-2006, 12:30 PM   #2 (permalink)
 
True Techie

Join Date: Apr 2006

Posts: 195

johnyB_24

Default

Are you sure you typing the right address to the script?Also check that you have set the correct permissions to the script file.
johnyB_24 is offline  
Old 12-11-2006, 12:35 PM   #3 (permalink)
 
Newb Techie

Join Date: Dec 2006

Posts: 23

wan_14my

Default

I'm not so sure about the address/path however, I've checked the permission to the script file and the permission is right.

I've also contacted my hosting server and they said maybe the path is wrong.

I'll check the path again
wan_14my is offline  
Old 12-11-2006, 03:26 PM   #4 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

You can also try putting:
PHP Code:
<?php
phpinfo
();
exit;
?>
At the top of your script. If that loads up, then it's just a problem in the script.
__________________
Vormund is offline  
Old 12-11-2006, 03:37 PM   #5 (permalink)
 
Newb Techie

Join Date: Dec 2006

Posts: 23

wan_14my

Default

you mean before the #! usr/sbin/perl ?
wan_14my is offline  
Old 12-11-2006, 03:38 PM   #6 (permalink)
 
Newb Techie

Join Date: Dec 2006

Posts: 23

wan_14my

Default

My bad..it's a cgi script...sorry guys..But, still I don't know what's happening
wan_14my is offline  
Old 12-18-2006, 12:33 AM   #7 (permalink)
 
Newb Techie

Join Date: Dec 2006

Posts: 23

wan_14my

Default

It's ok now. The problem is the permission. The manual said set it to 777 but when I set it to 755, everything work fine. Darn manual
wan_14my is offline  
Old 01-04-2007, 04:44 PM   #8 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

777 doesn't work but 755 does? That seems a bit odd (but I've not done much with CGI either)... :rolleyes:
__________________
Vormund is offline  
Old 01-04-2007, 04:51 PM   #9 (permalink)
 
Newb Techie

Join Date: Dec 2006

Posts: 23

wan_14my

Default

yeah..It works. I don't know why. I reuploaded the script and set the permission to 755.
wan_14my is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On