Preview Button Warning: /init.php on line 356 Couldn't start session!

13 posts by 5 authors in: Forums > CMS Builder
Last Post: February 28, 2011   (RSS)

By sidcam - February 27, 2011

Just discovered that I'm getting the error message

/init.php on line 356 Couldn't start session!

on all my article pages (single record pages) when I have the Website Membership plug-in activated. And that would explain why I've had no traffic lately...

I'll go ahead and file this ticket now...

Sid

Re: [Djulia] Preview Button Warning: /init.php on line 356 Couldn't start session!

By Dave - February 28, 2011

Hi Djulia,

Can you try updating /lib/viewer_functions.php
- Search for 'getCurrentUserAndLogin' and add the code in red?
$CURRENT_USER = getCurrentUserAndLogin(false);
global $hasEditorAccess;
$hasEditorAccess = userHasSectionEditorAccess( $options['tableName'] );


Let me know if that fixes it for you. Thanks!
Dave Edis - Senior Developer
interactivetools.com