Re: Why does it stop working?

From: Date: Wed, 22 Feb 2006 06:43:13 +0000
Subject: Re: Why does it stop working?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-230882@lists.php.net to get a copy of this message
pine oil wrote:
On 2/22/06, Chris <dmagick@gmail.com> wrote:
pine oil wrote:
I've used the following counter for some time, but I don't seem to have it work now after I have moved the directory of the files. They used to be in /var/www/html, but moved to /home/webroot/test. Do you think the relocation of the files has something to do with my problem?
It could be a permissions thing (it can't read/write the counter.txt file). If you could narrow down what's going wrong a bit it'd help. View the counter only in your browser - does that give an error?
I changed the permission to read/write for the owner and group. That did not help. I am sorry I don't know how to view the counter in my browswer. The counter did not show if I open the index.php when I access the page through the apache server.
<img src="counter.php" /> Instead of going to index.php, go to counter.php That will run just the counter script and (hopefully) show an error.

« previous php.general (#230882) next »