Page 1 of 1

500 Internal Server Error

Posted: Sun Jul 23, 2006 4:44 pm
by Designlad
Script URL: http://www.designlad.com/index2.php?des ... affiliates
Version of script: 1.1
Version of PHP: 4.4.2
Hosting company: n/a
Have you searched THIS FORUM for your problem: yup!
(if not please do before posting)
If so, what terms did you try: internal server error

Write your message below:

Everything seems to be running ok, i can get into the admin panel and add links, im even displaying how many times the link has been clicked on below the image. However when you actually click on the link i get this 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@designlad.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.


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

Apache/1.3.36 Server at www.designlad.com Port 80


does anyone know what the problem could be?

Posted: Mon Jul 24, 2006 9:54 am
by Klemen
I get a "page not found" error while trying to open
http://www.designlad.com/index2.php?des ... affiliates

As for the 500 error, this error is common for CGI scripts, not PHP. There can be anything wrong, check:

- that click.php has same CHMOD settings as admin.php
- look inside your server error logs for more details about the problem
- have you been editing clicks.php in any way?

500 Internal Server Error

Posted: Sat Jul 29, 2006 12:26 am
by mrginever
I experienced the same problem as designlad. As far as I could tell I had configured everything OK: I could get in the admin panel and add links. I had made sure the CHMOD settings were set to 666. It wasn't until I checked the error log on my host server I found it wasn't working because "others could write to the file" so I chaneg the CHMOD setting to 644 (rw r r) on the click.php file and now it works just fine.

Hope this helps

mrginever

Posted: Wed Feb 21, 2007 7:16 pm
by krazymike
Script URL: http://www.deadcell.clanservers.com/ccount
Version of script: 1.1
Version of PHP: 4.4.3
Hosting company: clanservers.com
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: internal server error500

Write your message below:

I have this exact same error.

http://deadcell.clanservers.com/phpinfo.php
http://deadcell.clanservers.com/session_test.php
http://deadcell.clanservers.com/session_test2.php

Posted: Thu Feb 22, 2007 11:29 am
by Klemen
Hi,

Not sure what the problem is, but PHP seems to work fine on your server.

1. Have you been editing index.php file? If yes try with the original one.

2. have you CHMOD the index.php file? If yes try deleting the file from the server, uploading it again (make sure it is ASCII mode!!) and do NOT chmod any .php files!

Other than that I can't really say, would have to get more info about the error.

Posted: Thu Feb 22, 2007 11:29 am
by Klemen
Oh, I just noticed it works again?

Posted: Thu Feb 22, 2007 3:45 pm
by krazymike
Wow. I don't know what happened, but yeah, it's working.

Here's my question. The "link" I want to track is actually a form button. It's a Paypal donation block, and I want to be able to tell the difference between the number of clicks and the actual number of donations. Before I alter the form code, will ccount work for this?

http://deadcell.clanservers.com

Posted: Thu Feb 22, 2007 6:13 pm
by Klemen
Won't work with a form, because CCount can't handle the POST http method.

Would work if you used PayPal e-mail payment URL for the link rather then a form.