click counter not working on php5 server?

Post your Click counter digestion problems here
Post Reply
alphp
Posts: 1
Joined: Sun Jan 28, 2007 6:23 pm

click counter not working on php5 server?

Post by alphp »

Script URL:click counter
Version of script: 1.1
Hosting company:1and1.co.uk
URL of phpinfo.php:?
URL of session_test.php:?
What terms did you try when SEARCHING for a solution: various php errors and probs

Write your message below:
Hi. I have been using click counter on one hosting server with no problems but my new host is using php5. Here's what they have posted on their FAQ :
"This article is for 1&1 Linux WebHosting only

By default .php files are parsed as php5 on 1&1 Servers.

However there are still a lot of .php3 & php4 scripts out there which dont work. What you
need to do is either create a new .htaccess file or edit an existing one.

Create a ".htaccess" file containing the following line:
AddType x-mapp-php4 .php

Upload this file into into the root of your domain. The changes take effect
immediatly. This also solves the problem with phpMySQL asking for magic quotes to be turned on."

I have tried putting up this .htaccess file but to no effect. What I need is a patch? to get click counter 1.1 to work in this php5 environment ( I think ). I'm running OS10.4.8 with Fetch as my ftp software.
bigalbaird
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I don't see why CCount wouldn't work in PHP 5 and what the htaccess file has to do with it.

Maybe if you gave a little more details (URL of your script, WHAT doesn't work) I could help. Also upload the phpinfo file, you will find it in the topic titled "READ THIS BEFORE POSTING A NEW QUESTION!!" :roll:
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
MoshinInvader
Posts: 1
Joined: Thu Apr 05, 2012 6:20 pm

Re: click counter not working on php5 server?

Post by MoshinInvader »

.
I'm having the same problem with CCount not running on php5. Worked like a charm on php4, however when I change the PHP Settings in cPanel to PHP 5 CCount no longers runs at all. I get the dreaded 500 ISE...

500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

I have AddType x-mapp-php4 .php in my .htaccess file as described but, just as described, it has no effect.

Has there been a solution to this? Is there an update planned for CCount?

Thanks. :)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: click counter not working on php5 server?

Post by Klemen »

CCount is 100% compatible with PHP 5 - hey, even the demo (phpjunkyard website) runs on PHP 5.

Your problem is elsewhere - on the server side. Try a clean installation in a different folder without any htaccess files inside.
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