+ Reply to Thread
Results 1 to 3 of 3

Thread: Installation Issue

  1. Installation Issue

    I have installed the counter and associated files and am running into issues when I try to complete the configuration of the counter. When I run the counter.php in my browser all I get is the code of the file. I am using it in a web blog written in php and have selected to use the File DB. What have I done wrong during the installation process?

    thanks

  2. Join Date
    Aug 2004
    Posts
    781

    Installation Issue

    If you are seeing the code of the counter then it is likely that your website is not properly parsing php.

    Things to ensure:
    1) You didn't remove the <?php from the first line of the counter.php file.
    2) Your website is correctly handling php.

    You say you have a php web blog which of course requires php as well. Thus, I am not positive what may be your problem. If you could give me a link perhaps I could see about it myself?

  3. Installation Issue

    My blog can be found at www.entropyadvisor.com. I will double check to see if I have everything lined up like you suggested.

    thanks

    OK I reviewed all my code and corrected the PHP. I believe that I first opened the file in a word editor and not note pad..... by doing this it inserted line brakes in the code and it messed it all up. Now I have a new problem or a different one. When I run the counter.php I get a new error. Which again is probably something simple.

    Parse error: parse error in /home/entropya/public_html/counter/counter.php on line 1
    Any ideas,

    Ok I got it working after some reviewing of the code. I wanted to use file as a database and had it set to use MySQL. It is miss leading in the documentation, it states to use 0 for files and 1 for MySQL... I believe that is back wards. I am using files and have a 1 not a zero. Line 17 of the counter.php file.
    thanks

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts