Skip to:
Content
Pages
Categories
Search
Top
Bottom

XML=RPC for iPhone App


  • jamesyeah
    Participant

    @jamesyeah

    Hi,

    I’m currently working on an iPhone Client for BuddyPress, having a few problems with the BPDEV XML-RPC plugin though, keep getting this error can’t seem to find an explanation, does anyone have any idea what the problem might be?

    Warning: require_once(ABSPATHWPINC/class-IXR.php) [function.require-once]: failed to open stream: No such file or directory in /home/linqglo/public_html/yeahetc.com/wp-content/plugins/bpdev-xmlrpc/bpdev-xmlrpc-classes.php on line 19

    Fatal error: require_once() [function.require]: Failed opening required ‘ABSPATHWPINC/class-IXR.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/linqglo/public_html/yeahetc.com/wp-content/plugins/bpdev-xmlrpc/bpdev-xmlrpc-classes.php on line 19

    Cheers, James

Viewing 18 replies - 1 through 18 (of 18 total)

  • Jeff Sayre
    Participant

    @jeffsayre

    Have you posted in the http://BP-dev.org/ forums? This plugin is a 3rd-party plugin created by Nicola Greco. If you’ve posted there and received no response, you can PM him via BuddyPress.org.


    takuya
    Participant

    @takuya

    bpdev is not being updated for a few months. I think Nicola’s been busy.


    gpo1
    Participant

    @gpo1

    @jamesyeah, if you could get this feature to work on iphone,please remember android phones!

    Overall, a big step in the mobile apps ….


    jamesyeah
    Participant

    @jamesyeah

    Hey,

    Yeah I have looked in to Android, my priority is with the iPhone for the moment though, I think it would be really cool to get a customiseable client up, using some of the newly released Facebook three20 components from the facebook iPhone app.

    I have got connection functioning to the standard xml-rpc.php file but still having problems with that error on the buddypress one, I hope I can figure this out soon.

    James


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Looks to me like the file is just missing. Can you find where the file actually is and modfiy the bp-dev plugin to point to the correct location?


    jamesyeah
    Participant

    @jamesyeah

    Hey,

    Yes I’ve located the file it seems to be looking in the current code:

    require_once( ABSPATH . WPINC . ‘/class-IXR.php’ );

    I tried changing it to:

    require_once( ‘http://yeahetc.com/wp-includes/class-IXR.php’ );

    but that stopped the whole site from functioning, just appearing blank, the file definitely is there in that folder. I can’t figure it out!


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    You won’t be able to include a PHP through the uri, it will need to be done via the ABSPATH.

    If I’m reading the error correctly, it looks like it’s taking the

    require_once( ABSPATH . WPINC . "/class-IXR.php");…and turning it into a big long string. (unless that’s just how bbpress stripped it out…)


    gpo1
    Participant

    @gpo1

    @jamesyeah,

    What features would one expect from the iphone app?


    jamesyeah
    Participant

    @jamesyeah

    The plan is to make it pretty similar to the facebook app but on a more basic level.

    There will be three primary tabs, newsfeed, messaging/notifications and friends.

    It’s very frustrating though as I can’t get properly started until I resolve this XMLRPC error, still can’t figure it out, very frustrating!

    You have access to the globals in whichever scope you’re trying to use it in?


    jamesyeah
    Participant

    @jamesyeah

    Hi,

    I’m not really sure of what the access to globals is, however from what I can see it would appear that APPSPATH and WPINC components are not being rendered and are simply being printed.

    Here is the page where the error is happening if that helps:

    http://yeahetc.com/wp-content/plugins/bpdev-xmlrpc/bpdev-xmlrpc.php

    James


    jschires
    Participant

    @jschires

    It looks to me like it is looking in wp-inlcude and it shouldnt be there


    gpo1
    Participant

    @gpo1

    @jamesyeah,

    Can you upload or update your status with it when it works?

    Get Andy ideas on it…


    gpo1
    Participant

    @gpo1

    @jamesyeah,

    put it on the trac site..


    jamesyeah
    Participant

    @jamesyeah

    Thanks for your feedback, I have added this issue to Trac, so hopefully we will be able to find a resolution, I would like to get a beta preview out by the new year if possible.

    https://trac.buddypress.org/ticket/1355


    jamesyeah
    Participant

    @jamesyeah

    I have resolved this problem if anyone else is having it:

    These two lones were not correct at the top of bpdev-xml-rpc-classes.php, make sure it looks like this and you should be fine!

    require_once( ‘/yourpath/wp-includes/class-IXR.php’ );

    require_once( ‘/yourpath/wp-includes/plugin.php’ );

    Now I can really get stuck in to the iPhone app, yay!


    gpo1
    Participant

    @gpo1

    Any screen shots of this app?


    idotter
    Participant

    @idotter

    any news?

Viewing 18 replies - 1 through 18 (of 18 total)
  • The topic ‘XML=RPC for iPhone App’ is closed to new replies.
Skip to toolbar