<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Error with Website Membership plugin</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Error-with-Website-Membership-plugin-82223</link>
        <description></description>
        <pubDate>Mon, 20 Apr 2026 05:27:33 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Error-with-Website-Membership-plugin-82223" rel="self" type="application/rss+xml" />

                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244757#post2244757</link>
          <description><![CDATA[<p>Hi Daniel,</p>
<p>It worked!! You cannot imagine how long I tried in vain to find a solution. You are really great. You and your company give meaning to the word professionalism. I wish I would be such good in my job as you are in yours.</p>
<p>I am really glad to have met Interactivetools.com and to have been working with you. </p>
<p>My best regards,</p>
<p>Andreas</p>]]></description>
          <pubDate>Sat, 30 May 2020 09:23:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244757#post2244757</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244755#post2244755</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>A quick look makes me think that this line could be an issue:</p>
<pre class="language-php"><code>if (!getPrefixedCookie('lastUrl')) { setPrefixedCookie('lastUrl', @$_SERVER['HTTP_REFERER'] ); }</code></pre>
<p>You can try commenting it out and see if that works. This line is responsible for redirecting a user back to their previous page after logging in; without it, they should instead be directed to the "WEBSITE_LOGIN_POST_LOGIN_URL" setting in websiteMembership.php</p>
<p>Let me know how that works, or if you find anything else.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Fri, 29 May 2020 11:49:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244755#post2244755</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244754#post2244754</link>
          <description><![CDATA[<p>Hi Daniel</p>
<p>Thank you again. The problem was solved for most of the php scripts!!  </p>
<p>Unfortunately, I cannot make it work when a use a login php script (login to CMSB). I use the following code:</p>
<pre class="language-php"><code>&lt;?php
  
  // load viewer library
  $libraryPath = 'registry/lib/viewer_functions.php';
  $dirsToCheck = array('/var/www/vhosts/<a href="vascularregistry.gr/httpdocs/','','../','../../','../../../">vascularregistry.gr/httpdocs/','','../','../../','../../../</a>');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }
  if (!@$GLOBALS['WEBSITE_MEMBERSHIP_PLUGIN']) { die("You must activate the Website Membership plugin before you can access this page."); }

  // error checking
  $errorsAndAlerts = alert();
  if (@$CURRENT_USER)                                { $errorsAndAlerts .= "You are already logged in! &lt;a href='{$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL']}'&gt;Click here to continue&lt;/a&gt; or &lt;a href='?action=logoff'&gt;Logoff&lt;/a&gt;.&lt;br/&gt;\n"; }
  if (!@$CURRENT_USER &amp;&amp; @$_REQUEST['loginRequired']) { $errorsAndAlerts .= "Please login to continue.&lt;br/&gt;\n"; }

  // save url of referring page so we can redirect user there after login
   if (!getPrefixedCookie('lastUrl')) { setPrefixedCookie('lastUrl', @$_SERVER['HTTP_REFERER'] ); }
$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = PREFIX_URL.'/registry/';
?&gt;


&lt;h3&gt;Login to HEVAR Portal&lt;/h3&gt; 
&lt;!-- USER LOGIN FORM --&gt;
  &lt;?php if (@$errorsAndAlerts): ?&gt;
    &lt;div style="color: #C00; font-weight: bold; font-size: 13px;"&gt;
      &lt;?php echo $errorsAndAlerts; ?&gt;&lt;br/&gt;
    &lt;/div&gt;
  &lt;?php endif ?&gt;

&lt;?php if (!@$CURRENT_USER): ?&gt;
  &lt;form action="?" method="post"&gt;
  &lt;input type="hidden" name="action" value="login" /&gt;

  &lt;table border="0" cellspacing="0" cellpadding="2"&gt;
   &lt;tr&gt;
    &lt;!-- &lt;td&gt;Username&lt;/td&gt; --&gt;
    &lt;td&gt;&lt;input type="text" name="username" value="&lt;?php echo htmlencode(@$_REQUEST['username']); ?&gt;" size="30" placeholder="Username or Email&amp;hellip;" autocomplete="on" /&gt;&lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
  &lt;!-- &lt;td&gt;Password&lt;/td&gt; --&gt;
    &lt;td&gt;&lt;input type="password" name="password" value="&lt;?php echo htmlencode(@$_REQUEST['password']); ?&gt;" size="30" placeholder="Password&amp;hellip;" autocomplete="on" /&gt;&lt;/td&gt;
   &lt;/tr&gt;

   &lt;tr&gt;
    &lt;td style="<a>text-align:left</a>"&gt;
      &lt;br/&gt;&lt;input type="submit" name="submit" value="Login" /&gt;
      &lt;a href="<a href="https://vascularregistry.gr/registration/" rel="nofollow">https://vascularregistry.gr/registration/</a>" target=_parent&gt;or sign-up&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;
      
      &lt;?php if (function_exists('fbl_login')): // NOTE: This feature requires the Facebook Login v2+ plugin! ?&gt;
        &lt;?php fbl_loginForm_javascript(); ?&gt;
        &lt;a href="#" onclick="fbl_login(); return false;"&gt;Login with Facebook&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;
      &lt;?php endif; ?&gt;
      
      &lt;?php if (@$GLOBALS['TWITTERAPI_ENABLE_LOGIN']): ?&gt;
        &lt;a href="&lt;?php echo twitterLogin_getTwitterLoginUrl();?&gt;"
        onclick="&lt;?php echo twitterLogin_getTwitterLoginUrl_popupOnClick(); ?&gt;"&gt;Login with Twitter&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;
      &lt;?php endif ?&gt;

      &lt;a href="<a href="https://vascularregistry.gr/registry/admin.php?menu=forgotPassword" rel="nofollow">https://vascularregistry.gr/registry/admin.php?menu=forgotPassword</a>"&gt;Forgot your password?&lt;/a&gt; 

    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/form&gt;
&lt;?php endif ?&gt;
&lt;!-- /USER LOGIN FORM --&gt;</code></pre>
<p>I will try to play a bit with it later on and let you know how it is getting on.</p>
<p>Thank you again for your great assistance</p>
<p>Regards</p>
<p>Andreas</p>]]></description>
          <pubDate>Thu, 28 May 2020 21:25:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244754#post2244754</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244753#post2244753</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>The second part should go at the top of any WordPress page where you want to use the CMSB functions. It will display an error if the viewer library doesn't load properly for any reason; it's technically optional, but useful to have.</p>
<p>Cheers,</p>]]></description>
          <pubDate>Thu, 28 May 2020 14:03:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244753#post2244753</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244752#post2244752</link>
          <description><![CDATA[<p>Hi Daniel</p>
<p>Short question: I am trying to follow your second suggestion. I put the first part in the end of the functions.php file of the WP theme I am using. I do not know where should I place the second part</p>
<pre class="language-php"><code>&lt;?php 

  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }
  
?&gt;</code></pre>
<p>Where exactly should I place it? Inside the functions.php file again or in somewhere else?</p>

<p>Regards</p>
<p>Andreas</p>]]></description>
          <pubDate>Thu, 28 May 2020 12:00:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244752#post2244752</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244751#post2244751</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>Thanks for the follow-up. It does confirm my thought that the issue is caused at the point where the viewer library is included.</p>
<blockquote>
<p><span>1. I have not made yet the changes you mentioned for the second of my examples. I will give you my feedback when i will have done it.</span></p>
</blockquote>
<p><span>Yes - let me know how this goes. I think this is the best initial direction for getting the issue resolved.</span></p>
<blockquote>
<p><span>2. Just to underline that this problem appeared suddenly out of the blue, after it had worked flawlessly with the same WP theme for quite a long time.</span></p>
</blockquote>
<p><span>This part is a bit more difficult to figure out, though there are many things that can change on a website or its server that can impact seemingly unrelated functions. I think ultimately it'll be most efficient to focus on how to get it working from here, rather than trying to narrow down why it started happening.</span></p>
<p><span>Cheers,<br />Daniel</span></p>]]></description>
          <pubDate>Thu, 28 May 2020 10:49:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244751#post2244751</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244750#post2244750</link>
          <description><![CDATA[<p>Hello Daniel</p>
<p>Thank you for your quick reply. I checked the solution on the first example and unfortunately it caused the same problem again.</p>
<p>I played a bit with the php script and this is what i found. </p>
<p>1. When I insert a simple php script like the following, there is no problem. </p>
<blockquote>
<p>&lt;?php<br />echo "Hello world";<br />?&gt;</p>
</blockquote>
<p>2. When I insert a php script with just the viewer library part of the script (as it follows) the problem comes up again. </p>
<blockquote>
<p>&lt;?php<br />// load viewer library<br />$libraryPath = 'registry/lib/viewer_functions.php';<br />$dirsToCheck = ['','../','../../','../../../','../../../../'];<br />foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }<br />?&gt;</p>
</blockquote>
<p>3. When the php contains only the first part (as seen below) of the script, again there is no problem. </p>
<blockquote>
<p>&lt;?php<br />// load viewer library<br />$libraryPath = 'registry/lib/viewer_functions.php';<br />$dirsToCheck = ['','../','../../','../../../','../../../../'];<br />?&gt;</p>
</blockquote>
<p>4. As a conclusion, I think that the conflict exists with the following part of the code. </p>
<blockquote>
<p>foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }</p>
</blockquote>
<p>I do not know if this makes any sense, but I hope that it might help you a bit.</p>
<p>Regards,</p>
<p>Andreas</p>
<p>PS.</p>
<p>1. I have not made yet the changes you mentioned for the second of my examples. I will give you my feedback when i will have done it.</p>
<p>2. Just to underline that this problem appeared suddenly out of the blue, after it had worked flawlessly with the same WP theme for quite a long time.</p>]]></description>
          <pubDate>Wed, 27 May 2020 13:37:55 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244750#post2244750</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244749#post2244749</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>Thanks for those examples - I think I see that the issue is, essentially, that there is page output before the viewer library is being loaded.</p>
<p>For your first example, you may be able to fix this by placing the viewer library portion above your HTML:</p>
<pre class="language-php"><code>&lt;?php
// load viewer library
$libraryPath = 'registry/lib/viewer_functions.php';
$dirsToCheck = ['','../','../../','../../../','../../../../'];
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }
?&gt;
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;meta charset="UTF-8"&gt;
&lt;title&gt;Number of cases&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;font color=#000000&gt;
Currently, &lt;b&gt;
&lt;?php
...</code></pre>
<p>For the second example, I assume that this is contained in a WP template that loads within the page's body and has header HTML above it. Even though your WP and CMSB folders are separated, if WP is printing any HTML to the page before CMSB tries to load it can cause this issue. We haven't done much testing in the way of integrating WP and CMSB, but I have come up with a quick solution that may help in your case. In your theme's functions.php file, add the following (make sure to change the $libraryPath variable to match your installation):</p>
<pre class="language-php"><code>add_action('init', 'cmsb_load_viewer');
function cmsb_load_viewer() {
  
  // load viewer library
  $libraryPath = 'path/to/your/cmsb/lib/viewer_functions.php';
  $dirsToCheck = array('','../','../../','../../../', '../../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}

}</code></pre>
<p>The above should make the viewer library available on all front-end WP pages. Then, in your WP template, place this line to make sure CMSB is loaded:</p>
<pre class="language-php"><code>&lt;?php 

  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }
  
?&gt;</code></pre>
<p>Though, be aware that any direct modification to theme files can be overwritten by updates if you're not using a child/custom theme.</p>
<p>I hope the above is helpful - let me know if you make any progress or if you have any more questions.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Tue, 26 May 2020 15:21:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244749#post2244749</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244748#post2244748</link>
          <description><![CDATA[<p>Hi Daniel</p>
<p>Thank you for your reply. PhP example that triggers the error:</p>
<blockquote>
<p>&lt;!DOCTYPE html&gt;<br />&lt;html lang="en"&gt;<br />&lt;head&gt;<br />&lt;meta charset="UTF-8"&gt;<br />&lt;title&gt;Number of cases&lt;/title&gt;<br />&lt;/head&gt;<br />&lt;body&gt;</p>
<p>&lt;font color=#000000&gt;<br />Currently, &lt;b&gt;<br />&lt;?php</p>
<p>// load viewer library<br />$libraryPath = 'registry/lib/viewer_functions.php';<br />$dirsToCheck = ['','../','../../','../../../','../../../../'];<br />foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }</p>
<p>$aorticAneurysm = mysql_count('aortic_aneurysm_disease'); <br />$carotidArtery = mysql_count('carotid_artery_disease'); <br />$lowerLimb = mysql_count('lower_limb_ischemia');</p>
<p>$total = $aorticAneurysm + $carotidArtery + $lowerLimb;</p>
<p>echo mysql_count('hospitals', ['participating_in_hevar' =&gt; "Yes"]);<br />?&gt;&lt;/b&gt; hospitals participating,</p>
<p>&lt;b&gt;<br />&lt;?php<br />// echo $physicians = mysql_count('accounts', ['treating_physician' =&gt; "Yes"]);<br />// $hospitals = mysql_count('accounts', 'hospital');<br />// $hospitals = mysql_count('accounts', 'SELECT COUNT(DISTINCT hospital)');<br />$countWhere = 'hospital != ""';<br />echo mysql_count('accounts', $countWhere);</p>
<p>?&gt; &lt;/b&gt;physicians registered, <br />&lt;b&gt;&lt;?php</p>
<p>echo $total;<br />?&gt;&lt;/b&gt; cases recorded.</p>
<p><br />&lt;/font&gt;</p>
<p>&lt;/body&gt;<br />&lt;/html&gt;</p>
</blockquote>

<p>It is not the only one. Another example:<br /><br /></p>
<blockquote>
<p>&lt;?php<br /><br />// load viewer library<br />$libraryPath = 'registry/lib/viewer_functions.php';<br />$dirsToCheck = array('/var/www/vhosts/vascularregistry.gr/httpdocs/','','../','../../','../../../');<br />foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }<br />if (!@$GLOBALS['WEBSITE_MEMBERSHIP_PLUGIN']) { die("You must activate the Website Membership plugin before you can access this page."); }</p>
<p>// error checking<br />$errorsAndAlerts = alert();<br />if (@$CURRENT_USER) { $errorsAndAlerts .= "You are already logged in! &lt;a href='{$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL']}'&gt;Click here to continue&lt;/a&gt; or &lt;a href='?action=logoff'&gt;Logoff&lt;/a&gt;.&lt;br/&gt;\n"; }<br />if (!@$CURRENT_USER &amp;&amp; @$_REQUEST['loginRequired']) { $errorsAndAlerts .= "Please login to continue.&lt;br/&gt;\n"; }</p>
<p>// save url of referring page so we can redirect user there after login<br />if (!getPrefixedCookie('lastUrl')) { setPrefixedCookie('lastUrl', @$_SERVER['HTTP_REFERER'] ); }<br />$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = PREFIX_URL.'/registry/';<br />?&gt;</p>
<p><br />&lt;h3&gt;Login to HEVAR Portal&lt;/h3&gt; <br />&lt;!-- USER LOGIN FORM --&gt;<br />&lt;?php if (@$errorsAndAlerts): ?&gt;<br />&lt;div style="color: #C00; font-weight: bold; font-size: 13px;"&gt;<br />&lt;?php echo $errorsAndAlerts; ?&gt;&lt;br/&gt;<br />&lt;/div&gt;<br />&lt;?php endif ?&gt;</p>
<p>&lt;?php if (!@$CURRENT_USER): ?&gt;<br />&lt;form action="?" method="post"&gt;<br />&lt;input type="hidden" name="action" value="login" /&gt;</p>
<p>&lt;table border="0" cellspacing="0" cellpadding="2"&gt;<br />&lt;tr&gt;<br />&lt;!-- &lt;td&gt;Username&lt;/td&gt; --&gt;<br />&lt;td&gt;&lt;input type="text" name="username" value="&lt;?php echo htmlencode(@$_REQUEST['username']); ?&gt;" size="30" placeholder="Username or Email&amp;hellip;" autocomplete="on" /&gt;&lt;/td&gt;<br />&lt;/tr&gt;<br />&lt;tr&gt;<br />&lt;!-- &lt;td&gt;Password&lt;/td&gt; --&gt;<br />&lt;td&gt;&lt;input type="password" name="password" value="&lt;?php echo htmlencode(@$_REQUEST['password']); ?&gt;" size="30" placeholder="Password&amp;hellip;" autocomplete="on" /&gt;&lt;/td&gt;<br />&lt;/tr&gt;</p>
<p>&lt;tr&gt;<br />&lt;td style="text-align:left"&gt;<br />&lt;br/&gt;&lt;input type="submit" name="submit" value="Login" /&gt;<br />&lt;a href="<a href="https://vascularregistry.gr/registration/" rel="nofollow">https://vascularregistry.gr/registration/</a>" target=_parent&gt;or sign-up&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;<br /><br />&lt;?php if (function_exists('fbl_login')): // NOTE: This feature requires the Facebook Login v2+ plugin! ?&gt;<br />&lt;?php fbl_loginForm_javascript(); ?&gt;<br />&lt;a href="#" onclick="fbl_login(); return false;"&gt;Login with Facebook&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;<br />&lt;?php endif; ?&gt;<br /><br />&lt;?php if (@$GLOBALS['TWITTERAPI_ENABLE_LOGIN']): ?&gt;<br />&lt;a href="&lt;?php echo twitterLogin_getTwitterLoginUrl();?&gt;"<br />onclick="&lt;?php echo twitterLogin_getTwitterLoginUrl_popupOnClick(); ?&gt;"&gt;Login with Twitter&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;<br />&lt;?php endif ?&gt;</p>
<p>&lt;a href="<a href="https://vascularregistry.gr/registry/admin.php?menu=forgotPassword" rel="nofollow">https://vascularregistry.gr/registry/admin.php?menu=forgotPassword</a>"&gt;Forgot your password?&lt;/a&gt;</p>
<p>&lt;/td&gt;<br />&lt;/tr&gt;<br />&lt;/table&gt;<br />&lt;/form&gt;<br />&lt;?php endif ?&gt;<br />&lt;!-- /USER LOGIN FORM --&gt;</p>
</blockquote>

<p>Thanks, </p>

<p>Andreas</p>
]]></description>
          <pubDate>Tue, 26 May 2020 12:18:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244748#post2244748</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244747#post2244747</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>I'm sorry to hear that this issue keeps troubling you.</p>
<blockquote>
<p><span>the same message appears when I am logged in CMSB and at the same time I call a webpage from the WP website that contains any php script:</span></p>
</blockquote>
<p><span>Could you give me an example of the PHP script on a page that triggers the error?</span></p>
<p><span>Thanks,</span></p>]]></description>
          <pubDate>Tue, 26 May 2020 10:39:36 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244747#post2244747</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244746#post2244746</link>
          <description><![CDATA[<p>Hi again,</p>
<p>I have been trying to solve this issue using all the tricks I have read in the Forum and have been told by the 2nd level support. The final one was to change the "Output buffering" in .user.ini and php.ini files from "Off" to "4096", but again the same message appears when I am logged in CMSB and at the same time I call a webpage from the WP website that contains any php script:</p>
<blockquote>
<p><span>E_USER_ERROR: setPrefixedCookie: Can't set cookie(loginsession, ==Qf1UDN4ATNwkTNxojIzNXZjNWQ0NXYsJCLiMWYlVzN3ATY5czM1UDMzADNwMmN4ITYyIDNlNDMkZTN4MTY0MWMkdDJxEGazRiI6ICazFGSkJ3b3N3chBnIsICbtNXYlJHZuFmI6ISZtFmbyV2c1Jye), headers already sent! Output started in /var/www/vhosts/vascularregistry.gr/httpdocs/wp-includes/class.wp-styles.php line 287.</span><br /><span>/var/www/vhosts/vascularregistry.gr/httpdocs/registry/lib/common.php (line 742)</span><br /><span><a href="https://vascularregistry.gr/dashboard/" rel="nofollow">https://vascularregistry.gr/dashboard/</a></span></p>
</blockquote>
<p><span>It is really quite annoying as the page freezes and I am able to do nothing at all. Is there anything else I could do? </span></p>
<p><span>Regards</span></p>
<p><span>Andreas</span></p>]]></description>
          <pubDate>Tue, 26 May 2020 10:10:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244746#post2244746</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244620#post2244620</link>
          <description><![CDATA[<p>Hi Daniel</p>
<p>To avoid malfunction of the website as long as you are having a look at it at the 2nd level support, I have created a new webpage (<a href="https://vascularregistry.gr/login-page-2/" rel="nofollow">https://vascularregistry.gr/login-page-2/</a>) that demonstrates the problem. </p>
<p>Regards</p>
<p>Andreas</p>]]></description>
          <pubDate>Wed, 08 Apr 2020 21:55:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244620#post2244620</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244617#post2244617</link>
          <description><![CDATA[<p>Hi Daniel</p>
<p>Thank you for your quick response. I have sent a 2nd level support request.</p>

<p>Regards</p>
<p>Andreas</p>]]></description>
          <pubDate>Wed, 08 Apr 2020 14:01:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244617#post2244617</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244616#post2244616</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>That's a very curious issue - could you send a 2nd level support request (<a href="https://www.interactivetools.com/support/request/" rel="nofollow">https://www.interactivetools.com/support/request/</a>) with the CMS/FTP details as well as a user login that can be used to demonstrate the issue? As we haven't seen a lot of interaction between WP and CMSB before, I think it would be easier to troubleshoot this first-hand.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Wed, 08 Apr 2020 10:30:50 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244616#post2244616</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244614#post2244614</link>
          <description><![CDATA[<p>Hi Daniel,</p>
<p>The website is in WP. The CMSB is in a different folder and there is no direct connection between these two. I just run the two php files (user-login.php and user-signup.php) from two different pages of the WP website.</p>
<p>Thanks,</p>
<p>Andreas </p>]]></description>
          <pubDate>Tue, 07 Apr 2020 22:41:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244614#post2244614</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244610#post2244610</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>This portion of the error leads me to believe that some portion of WordPress is being loaded and outputting page content before CMSB is loaded:</p>
<blockquote>
<p><span>Output started in /var/www/vhosts/vascularregistry.gr/httpdocs/wp-includes/class.wp-styles.php line 287</span></p>
</blockquote>
<p>CMSB can't set the user's session after page output has started, so if WP is loading first then that will cause issues. I'm not entirely sure why this would have worked for a time, but I do know some server settings can mitigate this issue but not prevent it completely.</p>
<p>Given this, my first thing to look at would be how you are including CMSB on the website - are you using CMSB on WP pages or vice-versa?</p>
<p>Thanks,</p>]]></description>
          <pubDate>Tue, 07 Apr 2020 15:14:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244610#post2244610</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244598#post2244598</link>
          <description><![CDATA[<p>A short followup</p>
<p>I deactivated all the plugins from the wordpress website, and the problem comes back whenever i want to run a .php file (eg /user-login.php) from within the website. </p>
<p>Regards</p>
<p>Andreas</p>]]></description>
          <pubDate>Sun, 05 Apr 2020 08:41:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244598#post2244598</guid>
        </item>
                <item>
          <title>Error with Website Membership plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244597#post2244597</link>
          <description><![CDATA[<p>Hi</p>
<p>I have a website built in Wordpress. I also use the CMSB to run a database on a different folder of the website. I have been using the Website Membership plugin (WMP) to let users signup and log in the database, for more than one year now. Up to a couple months ago, everything ran smoothly. Nevertheless, the last few weeks I have come across a serious problem. If a user is logged in the database and tries to open any page of the website, the website freezes and the following message appears:</p>
<blockquote>
<p>Currently, Fatal error: setPrefixedCookie: Can't set cookie(loginsession, ==QfxIzM3kDM2gTNxojIzNXZjNWQ0NXYsJCLiMWYlVzN3ATY5czM1UDMzADNwMmN4ITYyIDNlNDMkZTN4MTY0MWMkdDJxEGazRiI6ICazFGSkJ3b3N3chBnIsICbtNXYlJHZuFmI6ISZtFmbyV2c1Jye), headers already sent! Output started in /var/www/vhosts/vascularregistry.gr/httpdocs/wp-includes/class.wp-styles.php line 287. in /var/www/vhosts/vascularregistry.gr/httpdocs/registry/lib/common.php on line 742</p>
</blockquote>
<p>When the user logs off everything runs again well. </p>
<p>Similarly, when I deactivate the WMP both CMSB and the website run well. However, this way, users cannot sign up or log in the database through the website as they used to do previously. </p>
<p>The versions of CMSB and PhP are 3.50 and 7.3.16, respectively.</p>
<p>I have seen some similar topics in the Forum but I have not managed to sort it out. </p>
<p>Any help would be much appreciated. </p>
<p>Kind regards,</p>
<p>Andreas Lazaris</p>]]></description>
          <pubDate>Sun, 05 Apr 2020 08:32:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244597#post2244597</guid>
        </item>
              </channel>
    </rss>
  