Home > Cannot Redeclare > Cannot Redeclare Class Facebook Php

Cannot Redeclare Class Facebook Php

Log in or register to post comments Comment #3 phai CreditAttribution: phai commented April 29, 2010 at 12:08pm Version: 6.x-2.0-beta7 » 6.x-2.0-rc1 I forgot to write that I'm working on another Is adding the ‘tbl’ prefix to table names really a problem? About Blog Services Hosting Community Developers Download Log in Username or email Password Remember me RegisterLost password ActivityGroupsShowcasePluginsThemesDiscussionsElgg Blog DiscussionsElgg Technical SupportFacebook Connect fatal error Abayomi Oladipupo@VazebookLtd 0 likesFacebook Connect fatal share|improve this answer answered Sep 17 '14 at 8:26 Димо Стоянов 111 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google this contact form

do you include the sdk several times? –luschn Aug 13 '13 at 9:47 i am not sure for it's latest version or not because it's 2-3 month ago. –pov How to be Recommended to be a Sitecore MVP I just started my first real job, and have been asked to organize the office party. No point having the same source code in two different files. Browse other questions tagged php facebook symfony2 facebook-php-sdk or ask your own question. http://stackoverflow.com/questions/18205247/cannot-redeclare-class-facebook-with-facebook-php-sdk-master

Moving a member function from base class to derived class breaks the program for no obvious reason Is Area of a circle always irrational "Carrie has arrived at the airport for How to reset the WiFi configuration in Raspbian Is adding the ‘tbl’ prefix to table names really a problem? The package is called facebook/php-sdk. What's the name of style where GM assumes idiotic behaviour unless stated otherwise?

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Not the answer you're looking for? By continuing to use this site, you are agreeing to our use of cookies. Fatal error: Cannot redeclare class facebook in /home/XXXX/public_html/sites/all/libraries/OpenInviter/plugins/facebook.plg.php on line 258 What is causing this or what's the fix?

Would we find alien music meaningful? I've tried require_once, require, include, and include_once –Jason Lin Mar 26 '13 at 19:20 No, I said without –Crisp Mar 26 '13 at 19:21 Sorry I misunderstood Facebook Twitter Pre-Sales Questions Buy XenForo Now! http://stackoverflow.com/questions/15645436/error-cannot-redeclare-class-facebook asked 3 years ago viewed 918 times active 3 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Linked 1 How to use Facebook PHP SDK with Zend Framework

How to give Permission to create sandbox? SteveMoss April 2012 Yes, of course. S.Brady.Hussain@sz1hosting 0 likesBy S.Brady.Hussain 1072 days agooh wow you got a error on this? Join them; it only takes a minute: Sign up Error: Cannot redeclare class Facebook up vote 0 down vote favorite 1 Like many others, I'm getting the following error when using

plugin is conflicting with it. At the end I set to the folder the original name... I know that if both add-ons require the same paths (e.g. Browse other questions tagged facebook class or ask your own question.

The above suggestion doesn't work. weblink Have I missed something? I just renamed it to FacebookB and now it is working fine. Are there continuous functions for which the epsilon-delta property doesn't hold?

Cheers Chris D, Sep 14, 2012 #3 Chris D XenForo Developer Staff Member I got contacted by PM and someone suggested this, which works: Code: if(!class_exists('Facebook')) { require_once "library/FriendInviter/facebook/src/facebook.php";} Thank php.net/manual/en/function.include-once.php I dont know the plugins so i can only give you some generally tips. –Mic Nov 6 '12 at 22:29 want to be a freelancer on this job? AboutTermsPrivacyDomain policy About Blog Services Hosting Community Developers Download Log in Username or email Password Remember me RegisterLost password ActivityGroupsShowcasePluginsThemesDiscussionsElgg Blog DiscussionsElgg Technical SupportFacebook Connect plugin Cannot redeclare class Facebook in http://dekovsoft.com/cannot-redeclare/cannot-redeclare-class-facebook-line-93.html Skip to main content Skip to search Main Menu Drupal.org home Download & Extend Community Documentation Support Jobs Marketplace About Return to Content Search form Search Log in Create account Drupal

Learn More. Is it anti-pattern if a class property creates and returns a new instance of a class? Comments Comment #1 Dave Cohen CreditAttribution: Dave Cohen commented March 24, 2010 at 5:18am Category: bug » support It sounds like two copies of the facebook api installed.

AccessToken from CanvasHelper empty0How to post to facebook page directly from php sdk without login Hot Network Questions Mimsy were the Borograves - why "mimsy" is an adjective?

However I solved editing the facebook.php file. The OK or FAIL column Execute bash script from vim Antonym for Nourish It is possible to define metric spaces from pure topological concepts without the need to define a distance using an if statement to not require the file or declare the facebook variable if it already exists Research: How to use Facebook PHP SDK with Zend Framework 2 as well Style Default Style Contact Us Help Home Top RSS Terms and Rules Privacy Policy Forum software by XenForo™ ©2010-2016 XenForo Ltd.

Please help me out here Error: Fatal error: Cannot redeclare class Facebook in /var/application/modules/facebook/lib/facebook.php on line 25 Folder structure is simple modules/ ../classes/ ../../facebook.php ../config/ ../../facebook.php ../lib/ ../../base_facebook.php ../../facebook.php ../../fb_ca_chain_bundle.crt Here more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Why does the Minus World exist? http://dekovsoft.com/cannot-redeclare/cannot-redeclare-class-facebook-wordpress.html See the* License for the specific language governing permissions and limitations* under the License.*/require_once "base_facebook.php";/*** Extends the BaseFacebook class with the intent of using* PHP sessions to store user ids and

this is a workaround, not a solution to the problem.