Page 1 of 1

Working but not showing graphs

Posted: Tue Jan 06, 2009 7:48 pm
by Bolas
Script URL: PHP graphical hit counter (PHPGcount)
Version of script: 1.1 from 26th October 2007
Hosting company: Debian etch
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:


Hy, i have instaled this on my page, which is on my web server,
the thing is its working fine when i see the file index.txt it is counting,
but on the browser doesn't show the graphics, when i left click it and see image, it comes with the message :
Not Found

The requested URL /var/www/count/styles/computer/3.gif was not found on this server.
Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch13 mod_perl/2.0.2 Perl/v5.8.8 Server at 192.168.1.35 Port 80

The files where transfered in binary via ftp.
I dont undestand this

Posted: Tue Jan 06, 2009 8:07 pm
by Klemen
What's the URL of your script so we can check it ourselves?

I see you use style "computer", make sure you have a folder named "computer" in your "count/styles" folder and make sure the "computers" folder has GIF images with names 0.gif, 1.gif, ..., 9.gif. Double-check letter case because file names on Linux are CaSe SeNSiTiVe!

Posted: Tue Jan 06, 2009 8:37 pm
by Bolas
The URL is :
http://85.197.206.202/www.ripice.org/

I have made some progress, i fixed the program location and when i now
click see image it opens it but blank, maybe the file got broken.

Posted: Tue Jan 06, 2009 9:01 pm
by Bolas
What is the chmod necessary to the gif files and folder ???

Posted: Wed Jan 07, 2009 4:04 pm
by Klemen
That URL requires a password.

No special CHMOD is neccessary, just leave it as it is when uploaded (normally 755 for folders and 644 for images)

Posted: Thu Jan 08, 2009 12:22 am
by Bolas
Sorry i took out the password now.

Posted: Thu Jan 08, 2009 6:29 am
by Henrie
Hello Bolas,

The path to your pictures is now

Code: Select all

http://85.197.206.202/var/www/www.ripice.org/scripts/counter/styles/web1/1.gif
and it should be

Code: Select all

http://85.197.206.202/www.ripice.org/scripts/counter/styles/web1/1.gif
. When you change this path, it should be okay.

Greetings,
Henrie

Posted: Thu Jan 08, 2009 4:16 pm
by Bolas
SUCCESS :)
Thank you very much.
Great and simple to configure counter, congrats.