+ Reply to Thread
Results 1 to 5 of 5

Thread: GeIP Script Help

  1. #1
    cybahq is offline x10Hosting Member cybahq is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    30

    GeIP Script Help

    trying to install this GeIP script but i keep getting theses errors

    Warning
    : fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Warning: fseek(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 387

    Warning: fread(): supplied argument is not a valid stream resource in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 389

    Fatal error: error traversing database - perhaps it is corrupt? in /home/cybahq/public_html/ak/stats/Stats_International/geoip.phps on line 411
    Listeners; UID Host Agent Connected Underrun

  2. #2
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: GeIP Script Help

    upgrade your PHP level to intermediate at:

    http://www.x10hosting.com/login
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  3. #3
    tnl2k7 is offline Banned tnl2k7 is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    #offtopic ;)
    Posts
    3,131

    Re: GeIP Script Help

    Quote Originally Posted by leafypiggy View Post
    upgrade your PHP level to intermediate at:

    http://www.x10hosting.com/login
    It's got nothing to do with PHP version, that's caused by a script not working properly and passing bad variables to PHP's functions. the script may have been wirtten for PHP4, and not work with PHP5.

    -Luke.

  4. #4
    woiwky is offline x10 Lieutenant woiwky is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    390

    Re: GeIP Script Help

    Upgrading is actually the same advice he got in this topic :P

    I agree, though, that his php level *might* not be the cause. It looks like the fopen() function failed somewhere, but I don't see that in the errors. If errors are being suppressed on it, then it's possible there was a "function disabled" error which we aren't seeing. Or it could even be that fopen() isn't being called.

    Pasting/attaching the file would be helpful in sorting this out. You might as well try upgrading too.
    "But you have access to the greatest source of knowledge in the universe."
    "Well I do talk to myself sometimes, yes."

    "I'm back, and I'm bad! Obviously within certain, sensible, preset parameters"

  5. #5
    cybahq is offline x10Hosting Member cybahq is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    30

    Re: GeIP Script Help

    i have upgraded the php but im still getting the same errors
    hear is the script

    <?

    # name of station
    $streamname = "Urban1"; #Put your stream name here
    # number of songs to show.
    $songhistorylimit = 10;

    # Top n Countries 15 works best
    $countrylimit = 15;

    # path of GeoIP.dat
    $geoip_path = ".";

    # sort floating nav menu
    # 0 = OFF, 1 = sort by current listener and max slot
    $sort_navmenu = 1;

    # server config; you can add as many servers as you want in following format

    $serv["name"][] = "Server Name Goes Here"; # short nickname of server. Keep it very short or the table on the eleft will over ride your main display
    $serv["host"][] = "IP Address Goes Here"; # host address
    $serv["port"][] = portgoeshere; # port number NO QUOTES!!!!
    $serv["passwd"][] = "Password Goes Here"; # admin password

    $serv["name"][] = "Server Name Goes Here"; # short nickname of server. Keep it very short or the table on the eleft will over ride your main display
    $serv["host"][] = "IP Address Goes Here"; # host address
    $serv["port"][] = portgoeshere; # port number NO QUOTES!!!!
    $serv["passwd"][] = "Password Goes Here"; # admin password

    ?>

    if someone could help me to get this running id be your friend forever lol

+ Reply to Thread

Similar Threads

  1. GeIP Script Help
    By cybahq in forum Free Hosting
    Replies: 4
    Last Post: 07-30-2008, 05:08 AM
  2. Access to 300+ PHP scripts (2500 credits)
    By jonathanyaniv in forum The Marketplace
    Replies: 11
    Last Post: 06-03-2008, 10:58 PM
  3. Replies: 8
    Last Post: 12-03-2007, 04:12 PM
  4. [OFF] Script Instillations (Now Accepting)
    By kryptonyte in forum The Marketplace
    Replies: 0
    Last Post: 08-02-2006, 02:15 AM
  5. Server UP time Script
    By dharmil in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 04-03-2006, 04:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers