prpblem

Post your Click counter digestion problems here
namednad
Posts: 4
Joined: Sun Apr 13, 2008 3:08 am

Post by namednad »

Thanks for the rapid respsonse Klemen!!!

I tried both changes to code you suggested using Notepad, with the same results. I use WS_FTP Pro for transfer of the files. I assume the two files INDEX_DEBUG.ZIP & INDEX.ZIP I saw mentioned in earlier posts did basically the same things you had me to try with my index.php file.

When this is resolved, I'll definitely buy you a beer.

Thanks again!!!

Respectfully,
dan
namednad
Posts: 4
Joined: Sun Apr 13, 2008 3:08 am

Post by namednad »

I thought I had posted this response an hour or so ago, but when I checked the posts again, it seems the Cyber-Gremlins have been busy today or else I had one of my brain-farcts.

After I unsuccessfully tried the code you sent, I slowed down enough to actually read the code you sent and realized there was no "tmp" folder in my son's "cgi-bin" folder. I created a "tmp" folder and the script works perfectly now. Thanks!!!

I have bought you a beer.

Thanks again!!!
Respectfully,
dan
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Yes, I should have mentioned you should check if tmp is there or not. You're welcome and thanks for the beer :wink:
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
netven
Posts: 1
Joined: Sun Apr 20, 2008 1:29 pm

Same Problem

Post by netven »

Hi Klemen,

I'm having the same problem. The message is simply:

An error occured:
You are not authorized to view this page!
Back to the previous page

I've changed the index.php as previously recommended, and I have a tmp folder in the cgi-bin.

I, too, am on iPower. The problem seems to have begun after I loaded version 1.2 but I can't be certain because I hadn't added any links since February.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

The code that was posted before should work for you too, but you need to change

Code: Select all

home/users/web/b2291/ipw.drkellog/public_html/cgi-bin/tmp
to YOUR path. "b2291/ipw.drkellog" will probably be different in your account. You can find the correct path if you upload phpinfo to your server:
http://www.phpjunkyard.com/extras/phpinfo.zip
Then open phpinfo.php in your browser and scroll down to "PHP Variables" and you will see the correct path at _SERVER["DOCUMENT_ROOT"]
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
Ayesha
Posts: 2
Joined: Sun May 25, 2008 3:25 pm

please help

Post by Ayesha »

Hello,

script is installed ok but when i add the link and submit it gets me to the page which shows me following:

Fatal error: Call to undefined function: file_get_contents() in /home/www/kr-hcy/countd/index.php on line 301

someone can help plz
Post Reply