I just signed up for a server with HostPro, with plans to move my
current site to this new server. I need to get my counter working first.
They server I am using now had it installed for me when I ordered, but
HostPro doesn’t.
I am trying to get the popular WWW Homepage Access Counter by Muhammad A
Muquit (http://muquit.com/muquit/software/Count/Count.html). I believe I
am doing everything correctly, but apparently not. I compile and
everything, but then I try to call the counter I get a nice big red X
broken image, and “Premature end of script headers” in my error log.
I really don’t understand what is going on. Has anyone installed this
successfully and would be willing to try helping me?
Are you editing the script with a plain text editor? Your editor may be
adding cr/lf to your text document. Also, remember to upload images in
binary mode, and text/html/cgi scripts in ASCII. I suggest you edit your
script using wordpad in text only mode, then upload the data in ASCII.
If your images are broken then you may have sent them as ASCII instead
of binary.
The thing here is that I really didn’t edit anything. I downloaded the
gzip file to my computer, uploaded it to the server, expended it and
started running the commands to compile it. The .gz file was uploaded
as binary.
I didn’t open any files in a text editor through telnet, nor did I do any
editing in notepad on my computer.
Virtualis Systems: <a href="http://www.hostvs.com/">http://www.hostvs.com</a> $15/yr domain registration and
parking Web hosting packages from $19.95/mo
“JD” <jd@alegate.com> wrote in message news:9bj5mu$r6s$1@constitution.worldwebserver.com… > Are you editing the script with a plain text editor? Your editor may be > adding cr/lf to your text document. Also, remember to upload images in > binary mode, and text/html/cgi scripts in ASCII. I suggest you edit your > script using wordpad in text only mode, then upload the data in ASCII. > If your images are broken then you may have sent them as ASCII instead > of binary. > > JD
Adam Gordon wrote: > > The thing here is that I really didn’t edit anything. I downloaded the > gzip file to my computer, uploaded it to the server, expended it and > started running the commands to compile it. The .gz file was uploaded > as binary. > > I didn’t open any files in a text editor through telnet, nor did I do > any editing in notepad on my computer.
Write to my fiance about this. He’s installed this counter for us
many times.
Try to run the perl script from the shell. Does it run? Change its
permissions to 755. Does it run? Some servers require permissions 750,
check if that’s your case.
“Adam Gordon” <ajgordon@eden.rutgers.edu> wrote in message news:9bj3lt$qh7$1@constitution.worldwebserver.com… > Hi, > > I just signed up for a server with HostPro, with plans to move my > current site to this new server. I need to get my counter working first. > They server I am using now had it installed for me when I ordered, but > HostPro doesn’t. > > I am trying to get the popular WWW Homepage Access Counter by Muhammad A > Muquit (http://muquit.com/muquit/software/Count/Count.html). I believe I
am > doing everything correctly, but apparently not. I compile and > everything, but then I try to call the counter I get a nice big red X > broken image,
and > “Premature end of script headers” in my error log. > > I really don’t understand what is going on. Has anyone installed this > successfully and would be willing to try helping me? > > – > Adam Gordon SBA Design - web site and graphic design > http://www.sbadesign.comadam@sbadesign.com
On Wed, 18 Apr 2001 12:38:11 -0700 Leonid S. Knyshov at work said…
> I can help you with this stuff. > > Try to run the perl script from the shell. Does it run? Change its > permissions to 755. Does it run? Some servers require permissions 750, > check if that’s your case.
“John R. Marshall” <john@jrmstudios.com> wrote in message news:MPG.1547b83633df965f98974e@news.worldwebserver.com… > On Wed, 18 Apr 2001 12:38:11 -0700 Leonid S. Knyshov at work said… > > > I can help you with this stuff. > > > > Try to run the perl script from the shell. Does it run? Change its > > permissions to 755. Does it run? Some servers require permissions 750, > > check if that’s your case. > > It’s not a perl script… it’s in written in C. > > – > John R. Marshall JRM Studios.com - http://www.jrmstudios.com The > Hotrodding Network - http://www.hotrodding.net
Well I joined the mailing list for the counter program. I tried using the
2,6 beta version. I can get that to work fine for the ‘old way’ of using
data files for each counter. This new version uses a database if you want.
So it works fine w/ the old way (which I couldn’t get to work in the older
versions), and I guess I will just have to be happy about that.
One other cool thing about this 2.6 version is the ability to use true
type fonts instead of gif images. So you can just upload a font and use
that. Only problem I have with this is when you tell it what colors you
want (say red - ff0000) it will produce a result of 00ffff…total
opposite of what it whoudl be. The auther says it’s fine on his though.
Virtualis Systems: <a href="http://www.hostvs.com/">http://www.hostvs.com</a> $15/yr domain registration and
parking Web hosting packages from $19.95/mo