Closed (fixed)
Project:
Drupal for Facebook
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2007 at 08:53 UTC
Updated:
10 Apr 2008 at 00:41 UTC
i got this error on facebook after upgrading to the latest version
Fatal error: require_once() [function.require]: Failed opening required 'simplexml44-0_4_4/class/IsterXmlSimpleXMLImpl.php' (include_path='.:/usr/local/php5/lib/php') in /home/wogooh/public_html/sites/all/modules/fb/facebook-platform/php4client/facebookapi_php4_restlib.php on line 34
Comments
Comment #1
Dave Cohen commentedSee the updated README.txt.
In order to fix the problem with uncaught exceptions, I had to force the use of facebook's PHP4 client, even when running on PHP5. You need to follow facebook's instructions and download simplexml.
If you find this objectionable, you can set
in your settings.php. But if you do, the slightest misconfiguration will lead to uncaught exceptions.
Ideally, we would use the PHP5 client. But until drupal updates to PHP5, it will be difficult for us. We'd have to put try-catch clauses all over the place.
Comment #2
abqaria commentedthank you
Comment #3
worldcoast commentedcheck your directory structure.
http://drupal.org/node/193047
Comment #4
Dave Cohen commentedRecent versions of facebook_platform have changed their include paths. If you see something like :
in facebook-platform/client/facebook.php, change it to something like:
Look for the right line, depending on whether you're using php4 or php5 (php4 is used by default).
See modules/fb/README.txt for more.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.