Page 1 of 1

Count not displaying

Posted: Mon Nov 30, 2009 1:50 pm
by vk2qh
Script URL: http://www.unitedpagans.org.au/dload.php
Version of script: 1.2
Hosting company: Nightwalker.biz
URL of phpinfo.php: all other PHP working
URL of session_test.php: all other PHO working
What terms did you try when SEARCHING for a solution: Looked through forum for display issues

Write your message below:

I have ccount running on another website hosted on the same server, so I know it works on this hosting server, but when I added it to the above site it will not display the count on the download page. (the above page is a test page as the proper download page is a dynamic page. the above is hard coded test page to be sure the fault wasn't in the dynamic page creation).

The count increments when you click a link, but the count doesn't show on the download page. I have re-uploaded everything and tried this several times, but so far no luck.

HELP!!

Thanks.

Posted: Mon Nov 30, 2009 5:55 pm
by Klemen
Download your clicks.txt file, delete all empty lines then upload it again, clear browser cache and try again.

Posted: Mon Nov 30, 2009 5:56 pm
by Henrie
Haha Klemen,
You were 1 minute quicker than me. While i tried the solution on my localhost, you wrote the solution.

Greetings,
Henrie

Posted: Tue Dec 01, 2009 2:51 am
by vk2qh
Klemen wrote:Download your clicks.txt file, delete all empty lines then upload it again, clear browser cache and try again.
OK, thanks.. Seeing as I didn't edit the clicks.txt myself, so the empty lines had to have been added by the admin panel, I never thought that would be the problem!

Thanks again. Is this a common issue that will require a manual edit after every link addition, or is there a simple solution?

Posted: Tue Dec 01, 2009 6:41 am
by Henrie
I never had a problem with it myself.
Maybe you did not set the $settings['system']=?; in the settings.php correctly?

Greetings,
Henrie

Posted: Tue Dec 01, 2009 1:51 pm
by vk2qh
Henrie wrote:I never had a problem with it myself.
Maybe you did not set the $settings['system']=?; in the settings.php correctly?

Greetings,
Henrie
There is no $settings['system']=?; in the ver.1.2 settings.php file, and no mention of it in the Readme file either.

Posted: Tue Dec 01, 2009 4:13 pm
by Klemen
Yes, the system setting has been removed. Not sure how the extra lines got there, but will add some extra trimming functions to the next version to avoid any similar problems in the future.

Posted: Tue Dec 01, 2009 4:41 pm
by Henrie
I just looked and indeed, i am still using version 1.1, i was not aware there was a new version.
I will use the new version when i need in the future.

EDIT:
I just downloaded en tested version 1.2 on my localhost (WinXP SP3 running Abyss Web Server) and i got no extra lines.

Greetings,
henrie