Kbailey Posted June 22, 2010 Posted June 22, 2010 The counter you provide does not work. It displays at the bottom of the page, but the box reports and error: 'cannot write to counter.dat'. Apparently you have a permission error in an area I cannot get at. Also the program I installed in my cgi-bin 'eraser.py' fails to execute, in spite of having the same shebang as the program I have which works, and having proper permissions. Can you advise me on this? Maybe take a peek? -Kirk
Byron Posted June 22, 2010 Posted June 22, 2010 The counter you provide does not work. It displays at the bottom of the page, but the box reports and error: 'cannot write to counter.dat'. Apparently you have a permission error in an area I cannot get at. You have to be careful when giving the counter a name. It can't have a space in the name. http://byrondallas.heliohost.org/ssi.shtml
Kbailey Posted June 24, 2010 Author Posted June 24, 2010 The counter you provide does not work. It displays at the bottom of the page, but the box reports and error: 'cannot write to counter.dat'. Apparently you have a permission error in an area I cannot get at. You have to be careful when giving the counter a name. It can't have a space in the name. http://byrondallas.heliohost.org/ssi.shtml The code in my page is: <img src="/cgi-sys/Count.cgi?df=Counter.dat|display=Counter|ft=6|md=6|frgb=139;139;0|dd=3"> There is no space in there, and it is the code provided by the firm. Please advise.
Byron Posted June 24, 2010 Posted June 24, 2010 The code in my page is: <img src="/cgi-sys/Count.cgi?df=Counter.dat|display=Counter|ft=6|md=6|frgb=139;139;0|dd=3"> There is no space in there, and it is the code provided by the firm. Please advise. Try making another counter and give it a totally different name and see if that works.
Kbailey Posted June 24, 2010 Author Posted June 24, 2010 What's "the firm"? Why, you 3 are! I thought that helioshost was seeking status as a 503 non profit corp! Therefore, are you not a not for profit business organization? Or at least an organization? Why are we quibbling about legal terms when part of the system is not working properly?
Byron Posted June 25, 2010 Posted June 25, 2010 Did you try creating a new counter with a new name to see if that corrects your problem? EDIT: Seems the Counter Manager doesn't like the name Counter as the data file, so anything that doesn't use Counter should be ok. As far as your python script, try adding these two lines to your root .htaccess file. AddHandler python-program py AddType application/python py
Kbailey Posted June 25, 2010 Author Posted June 25, 2010 Did you try creating a new counter with a new name to see if that corrects your problem? EDIT: Seems the Counter Manager doesn't like the name Counter as the data file, so anything that doesn't use Counter should be ok. As far as your python script, try adding these two lines to your root .htaccess file. AddHandler python-program py AddType application/python py ok, now it gives me the sourcecode of the file! Sheesh!
Byron Posted June 25, 2010 Posted June 25, 2010 ok, now it gives me the sourcecode of the file! Sheesh! I assume you mean the python file? What if anything were you seeing before and are your permissions 755?
Kbailey Posted June 25, 2010 Author Posted June 25, 2010 Did you try creating a new counter with a new name to see if that corrects your problem? EDIT: Seems the Counter Manager doesn't like the name Counter as the data file, so anything that doesn't use Counter should be ok. As far as your python script, try adding these two lines to your root .htaccess file. AddHandler python-program py AddType application/python py ok, now it gives me the sourcecode of the file! Sheesh! Also with this data:<img src="/cgi-sys/Count.cgi?df=prayerwheel.dat|display=Counter|ft=6|md=6|frgb=00;255;0|dd=3"> It still barks like a dog. I should solve the first issue with scripts not working, then write my own maybe? The code in my page is: <img src="/cgi-sys/Count.cgi?df=Counter.dat|display=Counter|ft=6|md=6|frgb=139;139;0|dd=3"> There is no space in there, and it is the code provided by the firm. Please advise. Try making another counter and give it a totally different name and see if that works. AND NOW the bloody counter works, automagically. This box is haunted. you need an exprcist? I have a nice new england witch on tap if you need one.
Byron Posted June 25, 2010 Posted June 25, 2010 AND NOW the bloody counter works, automagically. This box is haunted. you need an exprcist? I have a nice new england witch on tap if you need one. I imagine the old counter was in your cache.
Kbailey Posted June 25, 2010 Author Posted June 25, 2010 AND NOW the bloody counter works, automagically. This box is haunted. you need an exprcist? I have a nice new england witch on tap if you need one. I imagine the old counter was in your cache. Here's an idea; turn the cache off. Can we do that?
Byron Posted June 25, 2010 Posted June 25, 2010 I was referring to your browsers cache. You can add a no-cache meta tag to your page if you don't want to cache it.
Recommended Posts