Page 1 of 1
Blank page or Server Error
Posted: Thu Nov 10, 2005 8:31 am
by grover06
Script URL:
http://69.139.95.131/ccount/testvote.htm
Version of script: 1.1
Version of PHP: 5.0
Hosting company: My own server
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: blank page, server error
Write your message below:
Hello, I am trying to get this to work, the counter displays properly and counts properly, but my problem is when you click on the link to be counted it will not load the redirection page. Either i get a server error or a blank page. I have been trying for a week to figure out what could be wrong. Thanks for any help anyone can give me.
Posted: Thu Nov 10, 2005 11:30 am
by Klemen
Hi,
Not sure what's wrong but click.php seems to work fine as you get the correct error if you try to count a non-existing ID.
What message do you get with this file?
http://www.phpjunkyard.com/extras/click_test.zip
Also have you tried the alternative click.php?
http://www.phpjunkyard.com/extras/ccoun ... _click.zip
Regards,
Server Error or Blank page
Posted: Thu Nov 10, 2005 3:03 pm
by grover06
Ok, this is what i get with the the click_test file:
Header sent: Location:
http://69.139.95.131/ccount/test2.htm
And this is what i get with the count alternate click:
Redirecting to
http://69.139.95.131/ccount/test2.htm
This one does not actually go there unless i click on the link. I am not sure if that is what it was meant to do?
Thank you for helping me!!!! Hopefully we can figure out my problem.
Cliff
Server Error or Blank page
Posted: Thu Nov 10, 2005 3:07 pm
by grover06
Sorry the redirect does eventually go to the link, so what can i do to make it go straight to the link instead of the redirecting page first?
Thank You
Cliff
Server Error or Blank page
Posted: Thu Nov 10, 2005 3:15 pm
by grover06
Oh, i also noticed that when i click on the Kim link it still gives the header page, but the Anndee link does the redirect
http://69.139.95.131/ccount/testvote.htm
Not sure if this is what was supposed to happen or not.
Thanks Again
Cliff
Posted: Thu Nov 10, 2005 4:55 pm
by Klemen
CCount works fine on your server, PHP is having problems with redirects. You should check that. I'm not sure how and where as I'm not a server guy, but CCound does send all the correct headers so it must be something wrong with your server or PHP setup

Posted: Fri Nov 11, 2005 6:08 am
by grover06
Thank You for checking it out for me. You wouldn't happen to know a good forum for PHP questions would you? You made a nice pruduct here and I hope I can get it working to its full ability.
Thanks again
Cliff
Posted: Fri Nov 11, 2005 10:42 pm
by Klemen
Try
www.tektips.com , just find the PHP forum there.
Good luck!
Regards