WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Simple Facebook Connect] Plugin Activation incompatible with WordPress 2.9.2 (minor) (31 posts)

  1. hakre
    Member
    Posted 4 years ago #

    Doing the remote install via the Admin GUI (Add New, Search "Simple Facebook Connect", then Install) will offer (after downloading and unpacking) a link to activate the plugin.

    This is WordPress Installation API.

    The activation link does not work: It will display an error message to first enable some base plugin.

    I know that this is type of a borderline error report, but the plugin should successfully handle the activation of the base plugin then with that activation link.

    I think that should be possible. Thanks so far for the plug.

    http://wordpress.org/extend/plugins/simple-facebook-connect/

    UPDATE:

    Related Report:
    http://wordpress.org/support/topic/371598?replies=2

    Error Message is:
    "The base SFC plugin must be activated before this plugin will run."

    Additional Info:
    I am unable to locate the "base SFC plugin" right away after installing the plugin. Maybe I'm just dumb today, but I think it's worth the feedback. Searching for "base" on the backends plugin page (the long listing) does not reveal anything related to SFC.

  2. hakre
    Member
    Posted 4 years ago #

    To solve this Problem look for the Plugin Named "Plugin Name: Simple Facebook Connect" (Full Plugin Name) and activate it.

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    Yes, you have to enable the main plugin before you can enable the sub-plugins.

    Read the readme.txt file.

    Also, I can't fix what the Admin GUI does. This is a multiple-plugin plugin, and that thing activates the wrong one. No way for me to fix that.

  4. ccarras
    Member
    Posted 4 years ago #

    I'm running 2.9.2 on PHP5 and I receive a fatal error message when I try to activate the "Simple Facebook Connect" base plugin. It says there was a parse error on line 207 of sfc.php.

  5. ccarras
    Member
    Posted 4 years ago #

    Parse error: parse error, unexpected '{'

  6. schuss
    Member
    Posted 4 years ago #

    Yup, i get the same error on line 207 trying to activate the base plugin.

  7. manuelfarelo
    Member
    Posted 4 years ago #

    I have the same problem. This plugin was working fine when I designed the wordpress blog in my localhost, but when I upload the complete new blog to my server (a hosting server), this pluging give many problems. I deleted and then reinstall. Now I can't activate becouse I have this error "Parse error: syntax error, unexpected '{' in /usr/home/xxxxx/www/wp-content/plugins/simple-facebook-connect/sfc.php on line 207"

    I have install BNS SMF Feed and it doesn't work in my hosting server (it worked fine in my localhost installation). Could be the same problem?... I tested the curl extension, and it is install in the server.....

  8. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    If you get the error on line 207, then you are not running PHP 5.

    It's that simple, really. PHP 5 supports the try/catch mechanism, which is what is on line 207. So, you get that error because your PHP (which is NOT version 5) doesn't understand it.

    Please read the requirements here. PHP 5 is not optional.

  9. Nile Flores
    Member
    Posted 4 years ago #

    I am running this plugin on my server for a client as well as a side project and it works wonderfully! I did a review for it on WPAddict.net. Thank you Otto!

  10. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    With regards to this, I've implemented a solution that will be in version 0.21 (or whatever number I come up with). It'll now tell you if you're not running PHP 5 instead of giving you that weird error.

  11. bruteprop
    Member
    Posted 4 years ago #

    I have PHP 5 but cannot instal the plug-in. I am getting the same fatal error message but with reference to Line 210.

  12. bruteprop
    Member
    Posted 4 years ago #

    Sorry, that should read 'I can install but cannot activate it'.

  13. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    If you get the error with reference to line 210, then you are not running PHP 5.

    It's that simple.

    The next version has a better check for this, so that it will not only tell you that it's not going to work because you lack PHP 5, but it will tell you exactly what version of PHP you do have.

  14. hakre
    Member
    Posted 4 years ago #

    Otto, just some more background info: I did know that I had to activate the base/main plugin but my problem was to locate it :D. So I needed to actually find out the correct name to search for it with the built-in search function in my browser.

  15. Nile Flores
    Member
    Posted 4 years ago #

    @Hakre - I just installed this on a 4th client's site without a problem....using the one-click install in the WordPress admin panel. This is the second outside my own server.

    Should not be a problem unless you have some conflicting plugins or as Otto has said, your server is not geared for WordPress or this plugin properly.

  16. nheasley
    Member
    Posted 4 years ago #

    I'm wondering if this is the problem I'm having, or perhaps it's another. I'm running a pretty fresh install of 2.9.2 with BuddyPress. When I installed SFC I did get the error message described, but the base module and all the optional modules do appear in my plugin list. I activated just two - the Base module plus the Login and the Register ones, and nothing seems to appear on my site. Maybe I'm missing something, and I admit to being a noob about wordpress and buddypress, but it just doesn't seem to work. Is my problem an older version of PHP? Or is it BuddyPress? Or is it PEBCAK?

  17. tintedhalo
    Member
    Posted 4 years ago #

    I'm battling with the same problem.. it keeps saying that I don't run on PHP5 when clearly the cPanel says I am: http://i46.tinypic.com/9igv0m.jpg I've managed to install the plugin AND activate the base part. Now I'm trying to activate the SFC Login and I get "Plugin could not be activated because it triggered a fatal error. Parse error: syntax error, unexpected '{' in /xxxxxxx/wp-content/plugins/simple-facebook-connect/sfc-login.php on line 210". The funny thing is that first it said I'm running on PHP 4.9. but after trying to install it again for few times, it DID let me install it. But now I'm back to this problem. So is the problem on plugin side or host side?

  18. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    Okay, let me make this perfectly clear:

    The plugin CANNOT be mistaken about what version of PHP you are running.

    If you are getting a syntax error, unexpected '{' type of thing, then YOU ARE NOT RUNNING PHP 5.

    This is not debatable. It's not wrong. PHP itself is telling the plugin what version it is, and if you somehow manage to bypass the checks and activate the plugin anyway, then IT WILL NOT WORK.

    I don't care what cPanel says. PHP itself is telling the plugin what its version is. It can't be wrong.

    BTW, that syntax error? You're getting it because you're running PHP 4, which doesn't understand "try" statements. Those are a feature that was added in PHP 5.

    Version 0.21 of the plugin adds a much better check and message for this. When you try to activate the base plugin, it checks the version. If it's not PHP 5, it'll give you a really good error message, telling you what version you're actually running. If that message says you're running 4.9, then you're running 4.9. End of debate. Talk to your host and tell them to fix it. You can't use this plugin if you're not running PHP 5 or higher. Stop trying.

  19. MotoM
    Member
    Posted 4 years ago #

    I can't get this thing to work, none of the links in the setup instructions work. I have no idea how to create a FB App or get the FB API key, etc,

  20. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    MotoM: This is because large portions of Facebook are currently down. Nobody can access those links.

    The links are still correct, Facebook is just broken right now.

  21. MotoM
    Member
    Posted 4 years ago #

    Gotcha! ok thanks!

  22. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    If and when Facebook fixes their site, you should be able to go to http://www.facebook.com/developers/ in order to create your application.

  23. Khaled Hakim
    Member
    Posted 4 years ago #

    I am getting the same error. I host using GoDaddy. So when I read above that the problem was with my server running on PHP v.4.x... I figured that that was the problem.

    I currently am upgrading my hosting server to be able to run PHP v.5.x applications. If you are on GoDaddy hosting, here's how you can upgrade to PHP v.5x

    http://www.wpsecuritylock.com/how-to-upgrade-from-php-4-x-to-php-5-x-at-godaddy/

    The change could up to 24hours and that is why I am waiting before I confirm (which I'm sure I will -thanks to Otto's reassurances!) that it works after I enabled PHP v.5.x.

    I will come back here to confirm later.
    Cheers.

  24. Khaled Hakim
    Member
    Posted 4 years ago #

    As a follow up to my previos comment above:

    Confirmed.. website is now working.

    Cheers.

  25. baldeagle7
    Member
    Posted 3 years ago #

    Hey guys, I'm new to this Forum. Just registered. I need some help!
    I'v just installed a plugin "FB box..", a Facebook box that was supposed to appear under every post. As soon as I installed it, I was not able to log/in to my Admin site to do anything. Here is what I'm getting when I try to sign in:

    ?>
    Warning: Cannot modify header information - headers already sent by (output started at /home/borlova1/public_html/wp-content/plugins/fb-like-box/fb-like-box.php:58) in /home/borlova1/public_html/wp-login.php on line 337

    Warning: Cannot modify header information - headers already sent by (output started at /home/borlova1/public_html/wp-content/plugins/fb-like-box/fb-like-box.php:58) in /home/borlova1/public_html/wp-login.php on line 349

    Warning: Cannot modify header information - headers already sent by (output started at /home/borlova1/public_html/wp-content/plugins/fb-like-box/fb-like-box.php:58) in /home/borlova1/public_html/wp-includes/pluggable.php on line 690

    Warning: Cannot modify header information - headers already sent by (output started at /home/borlova1/public_html/wp-content/plugins/fb-like-box/fb-like-box.php:58) in /home/borlova1/public_html/wp-includes/pluggable.php on line 691

    Warning: Cannot modify header information - headers already sent by (output started at /home/borlova1/public_html/wp-content/plugins/fb-like-box/fb-like-box.php:58) in /home/borlova1/public_html/wp-includes/pluggable.php on line 692

    Warning: Cannot modify header information - headers already sent by (output started at /home/borlova1/public_html/wp-content/plugins/fb-like-box/fb-like-box.php:58) in /home/borlova1/public_html/wp-includes/pluggable.php on line 890

    Can you help me and tell me how to fix this?

    Thanks.

  26. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    Connect to your site manually via FTP and delete the offending plugin.

  27. baldeagle7
    Member
    Posted 3 years ago #

    Thanks Otto. It worked perfectly! I appreciate your help.

    Thank you very much!

  28. Graham Stoney
    Member
    Posted 3 years ago #

    This problem is a bit ugly. Perhaps the fix is to use an add-in architecture similar to MailPress. It's add-ins are just like WordPress plug-ins, but they're added via a separate menu. I know you're stuck with the limitations of the WordPress Admin GUI, but I really don't like it when I new plugin I'm trying for the first time gives an error on activation.

    Cheers, Graham

  29. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    Version 1.0 will not have all the separate plugins. People just don't get it, sort of thing.

  30. Steviebabes
    Member
    Posted 3 years ago #

    Hi Otto,
    I got everything working last night which I was dead chuffed about :)
    Everything's been fine today but then I suddenly got the
    Parse error: syntax error, unexpected '{' in /...../plugins/simple-facebook-connect/sfc-login.php on line 210

    I'm running on oneandone.co.uk and I know there have been some issues with forcing your WP installation to use PHP 5

    Should I investigate that or could there be another issue???

Topic Closed

This topic has been closed to new replies.

About this Topic