Working but not showing graphs

In case you have problems with some other PHPJunkyard script (not that there are THAT many).
Post Reply
Bolas
Posts: 5
Joined: Tue Jan 06, 2009 7:38 pm

Working but not showing graphs

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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!
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
Bolas
Posts: 5
Joined: Tue Jan 06, 2009 7:38 pm

Post 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.
Bolas
Posts: 5
Joined: Tue Jan 06, 2009 7:38 pm

Post by Bolas »

What is the chmod necessary to the gif files and folder ???
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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)
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
Bolas
Posts: 5
Joined: Tue Jan 06, 2009 7:38 pm

Post by Bolas »

Sorry i took out the password now.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
Bolas
Posts: 5
Joined: Tue Jan 06, 2009 7:38 pm

Post by Bolas »

SUCCESS :)
Thank you very much.
Great and simple to configure counter, congrats.
Post Reply