A basic PHP question (i think)

Discussion in 'PHP' started by kostas11, Dec 12, 2007.

  1. #1
    Hi to all,

    I am trying to use a simple star rating system written in PHP. It works perfectly in one of my servers but I am trying to use the same in a new server and it does not. It is driving me crazy.

    Please have a look at it and tell me why you think it doesn't work.

    It works perfectly here---> www. webviewonline . co .uk/rater/voting1.php
    Here you can see the results (again it works)---> www. webviewonline . co .uk/rater/results.php

    But it doesn't work here (new server)---->www . panama66 . com/rater/voting1.php
    and ----> www . panama66 . com/rater/results.php

    It wont count the votes and doesn't display the results.

    Please have a look at it.
    Any help is greatly appreciated.
     
    kostas11, Dec 12, 2007 IP
  2. Colleen

    Colleen Illustrious Member

    Messages:
    6,777
    Likes Received:
    725
    Best Answers:
    1
    Trophy Points:
    430
    #2
    Did you remember to change the paths for the second instance of the script?

    BTW, both are working exactly the same for me.
     
    Colleen, Dec 12, 2007 IP
  3. kostas11

    kostas11 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi Colleen,

    Yes the paths are OK but still it does not work. You can tell because I have already voted many times (you may have as well) and the results are still 0 stars from 0 votes. I don't get any feedback when I vote and the results remain the same. Any ideas?

    Thanks for looking
     
    kostas11, Dec 12, 2007 IP
  4. Colleen

    Colleen Illustrious Member

    Messages:
    6,777
    Likes Received:
    725
    Best Answers:
    1
    Trophy Points:
    430
    #4
    Are the files all chmod the same?
     
    Colleen, Dec 12, 2007 IP
  5. kostas11

    kostas11 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That was so stupid of me not to check that... It works. Thank you very much, I really appreciate it
     
    kostas11, Dec 12, 2007 IP
  6. Colleen

    Colleen Illustrious Member

    Messages:
    6,777
    Likes Received:
    725
    Best Answers:
    1
    Trophy Points:
    430
    #6
    Glad to hear it. :)
     
    Colleen, Dec 12, 2007 IP