WPBook - canvas page reads "fatal error"

3 views
Skip to first unread message

MariaXM

unread,
Sep 30, 2009, 4:36:34 PM9/30/09
to ScholarPress Dev
Hey there,

I've just set up a new application in FB for my blog and also
installed and set up the WPBook plugin to go with it.

When I allow access to the app in FB, the canvas page shows this error
instead of the mirrored blog. Any ideas on if I'm missing anything
based on the following error?

Fatal error: Call to undefined function simplexml_load_string() in /
var/home/xxxxxxxx/xxxxxxxx.com/www/wp-content/plugins/wpbook/client/
facebookapi_php5_restlib.php on line 2668

Any help is appreciated. Thanks!

John Eckman

unread,
Oct 1, 2009, 8:23:06 AM10/1/09
to scholarp...@googlegroups.com
On Wed, Sep 30, 2009 at 4:36 PM, MariaXM <maria...@gmail.com> wrote:
 
When I allow access to the app in FB, the canvas page shows this error
instead of the mirrored blog. Any ideas on if I'm missing anything
based on the following error?

Fatal error: Call to undefined function simplexml_load_string() in /
var/home/xxxxxxxx/xxxxxxxx.com/www/wp-content/plugins/wpbook/client/
facebookapi_php5_restlib.php
on line 2668


Looks to me like your host does not have simplexml installed? It is generally provided along with PHP5, but some hosting providers will compile a version with simplexml disabled.

Unfortunately it's not really something optional - depended upon by the Facebook API client.

Can you get the output of phpinfo( ); for your host? Just create a simple test.php page on your hosting provider containing:

<?php

phpinfo( );

?>

and run it in your web browser
 

MariaXM

unread,
Oct 1, 2009, 12:28:28 PM10/1/09
to ScholarPress Dev
I think you're right. I ran that page you suggested and from what I
can tell simplexml is diasabled. (Listed in the section "Configure
Command")

Is that something that can be changed or am I stuck because of what
the hosting provider has set up?

Either way, thank you for your help!

On Oct 1, 8:23 am, John Eckman <eckman.j...@gmail.com> wrote:
> On Wed, Sep 30, 2009 at 4:36 PM, MariaXM <maria.m...@gmail.com> wrote:
> > When I allow access to the app in FB, the canvas page shows this error
> > instead of the mirrored blog. Any ideas on if I'm missing anything
> > based on the following error?
>
> > Fatal error: Call to undefined function simplexml_load_string() in /
> > var/home/xxxxxxxx/xxxxxxxx.com/www/wp-content/plugins/wpbook/client/
> > facebookapi_php5_restlib.php<http://xxxxxxxx.com/www/wp-content/plugins/wpbook/client/%0Afacebooka...>on line 2668

John Eckman

unread,
Oct 1, 2009, 12:48:31 PM10/1/09
to scholarp...@googlegroups.com
Well, you can ask your hosting provider - but I don't know of any
quick way to fix it otherwise.

MariaXM

unread,
Oct 1, 2009, 1:01:22 PM10/1/09
to ScholarPress Dev
Thank you John, I'll do that.

Looking forward to hopefully using your plug-in on other sites too.
Reply all
Reply to author
Forward
0 new messages