Instead of showing random websites, this script shows my site over and over again

Discussion in 'PHP' started by crumblepie, Jul 27, 2008.

  1. #1
    I'm having problems with my script for surfsieve.com (traffic exchange site).

    When a member starts browsing, it loads surfsieve.com over and over again rather than showing the websites in the members list.

    Any idea what may be causing this problem? The site uses PHP and MYSQL.
     
    crumblepie, Jul 27, 2008 IP
  2. pwaring

    pwaring Well-Known Member

    Messages:
    846
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Either the randomising algorithm is picking the same site each time (e.g. using the same seed), or the members list isn't being loaded somehow and it defaults to surfsieve.com.

    Any chance that you show us the code? It's a bit difficult to debug without it... :)
     
    pwaring, Jul 27, 2008 IP
    crumblepie likes this.
  3. atlantaazfinest

    atlantaazfinest Peon

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I can diagnose your problem and fix it for a low price if need be. PM me.
     
    atlantaazfinest, Jul 27, 2008 IP
  4. crumblepie

    crumblepie Well-Known Member

    Messages:
    2,612
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    160
    #4
    It's definitely the second, because surfsieve.com is not even on the members list :) Now I just have to figure out why the members list isn't being loaded.

    I suspect it's a database problem. I'll get back to you guys shortly :)
     
    crumblepie, Jul 27, 2008 IP