Page 2 of 2

Posted: Sun Apr 13, 2008 1:05 pm
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

Posted: Sun Apr 13, 2008 2:44 pm
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

Posted: Sun Apr 13, 2008 3:01 pm
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:

Same Problem

Posted: Sun Apr 20, 2008 1:37 pm
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.

Posted: Sun Apr 20, 2008 6:06 pm
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"]

please help

Posted: Sun May 25, 2008 3:29 pm
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