Announcement

Collapse
No announcement yet.

Can Facebook be disabled on certain Product addons.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Can Facebook be disabled on certain Product addons.

    Hi,

    Can Facebook be disabled on certain Product addons.

    If the 'enablefacebookconnect' is enabled it executes session_start();

    This is causing the Product addon to fail due to the addon needing to be able to execute its own session_start();

    This is only happening since upgrading to 4.1.7, as the previous versions didn't use session_start(); in the includes\facebook\facebook.php
    www.ezhost365.com

  • #2
    wont this help?
    PHP Code:
    <?php
       
    if (!isset ($_COOKIE[ini_get('session.name')])) {
         
    session_start();
       }
     
    ?>
    Then you only start session in your product if it has not been started before...

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X