It is currently Fri Sep 03, 2010 12:49
  • View your posts
  • FAQ
  • Register
  • Login

  • All times are UTC + 1 hour [ DST ]



    Post new topic Reply to topic  [ 3 posts ] 
    Author Message
     Post subject: Value Fetch - personal webspace update modification
    PostPosted: Sun Dec 21, 2008 16:42 
    Offline
    User avatar
     E-mail  WWW  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 26
    Location: Middlesbrough, England
    Download: value_fetch_pwu

    What does Value Fetch - 'personal webspace update version' do?
    Same thing as the original version does! It updates the values in your killboard for ships and faction items but it updates from your own domain rather than beanman's site.

    The reason I made this modification is because two other people I know, and myself, have issues with our hosting companies/ISPs who block our ability to use PHP in order to access remote information or download files on our domains. I had to grab files from beanman's site and upload them to my own webspace and modify the existing PHP code to import them into the MySQL database to get around this problem. This modification is a work-around to that problem and the end result is the same - updated values on your killboard. The only difference really is that you'll be importing the actual XML file from your own domain instead of directly from beanman's site every time you click the "Fetch" button. Saves on bandwidth of nothing else! :P

    If there are any errors found I apologise in advance. This modification of value_fetch has been tested and works perfectly on my own killboard installation. Please let me know if you find any errors and I will endeavour to correct them asap.

    If you find this modification usefull then a couple of hours on a Sunday afternoon have been very well spent. Enjoy! :)

    [edit] forgot to mention, view the readme.txt file included before you proceed with any uploading. ;)

    _________________
    Image


    Top
     
     Post subject: Re: Value Fetch - personal webspace update modification
    PostPosted: Fri Jan 02, 2009 17:50 
    Offline
     E-mail  Profile

    Joined: Fri Jan 02, 2009 17:44
    Posts: 1
    Very well done - i think :) Thanks for that mod!

    Think i have a problem :S Maybe it's a problem with the permissions i get from the provider?!
    So or so, if i wanna fetch, i get two errors:

    Code:
    Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /users/yuna-corp/www/html/yuna_killboard/mods/value_fetch/fetcher.php on line 46

    Warning: fopen(http://yuna-corp.bplaced.net/html/yuna_killboard/data/items.xml.gzphp) [function.fopen]: failed to open stream: no suitable wrapper could be found in /users/yuna-corp/www/html/yuna_killboard/mods/value_fetch/fetcher.php on line 46


    This mod is the only i installed myself. Hope it wasn't my fault. but on the other hand: hope it was my fault and i could get it run ;)
    Any idea?

    Greets
    nuk3r


    Top
     
     Post subject: Re: Value Fetch - personal webspace update modification
    PostPosted: Tue Jan 06, 2009 02:03 
    Offline
    User avatar
     E-mail  WWW  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 26
    Location: Middlesbrough, England
    In fetcher.php, instead of specifying;
    var $compfile = "http://yuna-corp.bplaced.net/html/yuna_killboard/data/items.xml.gzphp"
    as the path to the file, try this:
    var $compfile = "data/items.xml.gzphp"

    Are you only getting an error with items.xml.gzphp and not items.xml?

    Maybe, get in touch with your webhosts and send them the fopen() [function.fopen] error and see what they have to say? Either allow_url_fopen or allow_url_include has not been enabled in the php.ini configuration of your server, is my best guess without investigating further.

    _________________
    Image


    Top
     
    Display posts from previous:  Sort by  
    Post new topic Reply to topic  [ 3 posts ] 

    All times are UTC + 1 hour [ DST ]


    Who is online

    Users browsing this forum: underwoodr and 1 guest


    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum

    Search for:
    Jump to:  
    Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
    Style Designed By phpBBegypt