500 Internal Server Error

Post your Click counter digestion problems here
Post Reply
Designlad
Posts: 1
Joined: Sun Jul 23, 2006 4:38 pm

500 Internal Server Error

Post 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?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
mrginever
Posts: 1
Joined: Sat Jul 29, 2006 12:07 am

500 Internal Server Error

Post 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
krazymike
Posts: 2
Joined: Wed Feb 21, 2007 7:08 pm

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Oh, I just noticed it works again?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
krazymike
Posts: 2
Joined: Wed Feb 21, 2007 7:08 pm

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply