<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title></title>
        <link>https://interactivetools.com/forum/forum-search.php?k=user%3Apgplast</link>
        <description></description>
        <pubDate>Tue, 14 Apr 2026 01:08:48 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Apgplast&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Update to CMSB v. 8 from 3.56</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248402#post2248402</link>
          <description><![CDATA[<p>Thanks very much, Dave. I've done a good number of updates for this site and others in the past. Was just wondering if there were bigtime issues going to PHP 8 or with plugins on which we depend.</p>]]></description>
          <pubDate>Fri, 10 Apr 2026 14:34:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248402#post2248402</guid>
        </item>
                <item>
          <title>Re: Help - Simplest approach to displaying video within CMS Builder</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248399#post2248399</link>
          <description><![CDATA[<p>For companies that wish to produce proprietary content for non-public audiences, I have found Vimeo to be superior to YouTube.</p>
<p>The folks at vimeo do not place the same restrictions upon content that YouTube does, and you can simply place the vimeo url for the video in your code and enjoy excellent streaming video that is scaled to the user's available bandwidth.</p>]]></description>
          <pubDate>Thu, 09 Apr 2026 03:33:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248399#post2248399</guid>
        </item>
                <item>
          <title>Double Login with websiteMembership</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248398#post2248398</link>
          <description><![CDATA[<p>Thanks, Tim.</p>]]></description>
          <pubDate>Wed, 08 Apr 2026 14:38:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248398#post2248398</guid>
        </item>
                <item>
          <title>Double Login with websiteMembership</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248396#post2248396</link>
          <description><![CDATA[<p>I set it to false and that has eliminated the second login.&nbsp;</p>
<p>I guess I have been misunderstanding the setting itself. For what purpose do folks use the "true" setting of&nbsp; $GLOBALS['WSM_SEPARATE_LOGIN'] ?</p>]]></description>
          <pubDate>Wed, 08 Apr 2026 14:15:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248396#post2248396</guid>
        </item>
                <item>
          <title>Double Login with websiteMembership</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248395#post2248395</link>
          <description><![CDATA[<p>Yes, Tim. You have it correct. Are you saying that setting $GLOBALS['WSM_SEPARATE_LOGIN'] = false;&nbsp; will allow a logged in backend user to avoid a second login on a websiteMembership protected page?</p>]]></description>
          <pubDate>Wed, 08 Apr 2026 14:10:50 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248395#post2248395</guid>
        </item>
                <item>
          <title>Double Login with websiteMembership</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248392#post2248392</link>
          <description><![CDATA[<p>I have a CMSB-based application that uses websiteMembership. It is set to allow both admin login and separate user log in.</p>
<p>Users of the backend login to perform their admin duties, one of which involves selecting a menu item that is a link to another page outside of the background interface that also requires login.</p>
<p>That page is protect like this:</p>
<p>i$libraryPath = 'xxxxxxx/lib/viewer_functions.php';<br />$dirsToCheck = ['','../','../../','../../../','../../../../'];<br />foreach ($dirsToCheck as $dir) {<br />if (@include_once("$dir$libraryPath")) { break; }<br />}<br />if (!function_exists('getRecords')) {<br />die("Couldn't load viewer library.");<br />}<br />if (!$CURRENT_USER) { websiteLogin_redirectToLogin(); }<br />if(!$CURRENT_USER['isCME_director'] &amp;&amp; !$CURRENT_USER['isCME_staff'] &amp;&amp; !$CURRENT_USER['isAdmin']) {<br />redirectBrowserToUrl("access_denied.php?msg=This feature is for administrators only."); <br />exit; <br />}</p>
<p>The problem I am having is that the logged in user who clicks the link taking him to this page is then presented with the login form once again and must log in a second time.</p>
<p>Has anyone encountered this behavior?</p>
<p>CMSB v. 3.56</p>
<p>websiteManagement v. 1.13</p>]]></description>
          <pubDate>Wed, 08 Apr 2026 12:00:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248392#post2248392</guid>
        </item>
                <item>
          <title>Update to CMSB v. 8 from 3.56</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248389#post2248389</link>
          <description><![CDATA[<p>I am going to have to update an old, complex application for a medical institution from v. 3.56 to the most current 3.8 version. Part of the change needed on the server is to move from PHP 7.4 to 8.1.</p>
<p>Also, the site depends upon a number of plugins to include createPDF, csvImport, formGenerator, newsletterBuilder, QRCode Generator, reportBuilder, showHideDependedentFieldsPlus, showHideFieldsForUsers, and websiteMembership. Can anyone share any problems they may have encountered with similar upgrades?</p>
<p>The hospital using this application depends upon it daily, and I will need to accomplish the change over a weekend and have a working version on the following Monday. I confess to being a bit nervous.</p>]]></description>
          <pubDate>Tue, 07 Apr 2026 13:19:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248389#post2248389</guid>
        </item>
                <item>
          <title>google-robot-captcha</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247561#post2247561</link>
          <description><![CDATA[<p>Dave. You were correct, as I generated v2 keys and things now work.</p>
<p>Thanks so much.</p>]]></description>
          <pubDate>Mon, 07 Oct 2024 13:26:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247561#post2247561</guid>
        </item>
                <item>
          <title>google-robot-captcha</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247552#post2247552</link>
          <description><![CDATA[<p>I tried to implement a WebsiteMemberManagement signup page employing the code provided some time ago in Dave's </p>
<p>sample-user-signup-form-with-google-robot-captcha.php code.</p>
<p>The Captcha checkbox from Google draws on the page, but has the error:</p>
<p>ERROR for site owner: Invalid key type</p>
<p>I have new v3 keys and had understood that this code worked with v3. Am I mistaken about this?</p>
<p>Feedback from anyone else who has used this is appreciated.</p>]]></description>
          <pubDate>Sat, 05 Oct 2024 07:11:07 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247552#post2247552</guid>
        </item>
                <item>
          <title>Pagination , filtered lists and page number links</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247547#post2247547</link>
          <description><![CDATA[<p>Hi, Dave. Thanks for thw reply, but I have to confess I remain confused.</p>
<p>The code you proposed would go where, exactly?</p>
<p>I have:</p>
<p>&lt;?php<br />if (@!$_GET['page']): $current_page = "1";<br />else: $current_page = $_GET['page'];<br />endif; ?&gt;<br />&lt;?php foreach (range(1,$music_videosMetaData['totalPages']) as $page): ?&gt;<br />&lt;?php if ($page == $current_page): ?&gt;<br />&lt;strong&gt;&lt;?php echo $page; ?&gt;&lt;/strong&gt;<br />&lt;?php else: ?&gt; <br />&lt;a href="?page=&lt;?php echo $page; ?&gt;"&gt;&lt;?php echo $page; ?&gt;&lt;/a&gt; <br />&lt;?php endif ?&gt;<br />&lt;?php endforeach; ?&gt;</p>
<p>Would this become:</p>
<p>if (@!$_GET['page']): $current_page = "1";<br />else: $current_page = $_GET['page'];<br />endif; ?&gt;<br />&lt;?php foreach (range(1,$music_videosMetaData['totalPages']) as $page): ?&gt;<br />&lt;?php if ($page == $current_page): ?&gt;<br />&lt;strong&gt;&lt;?php echo $page; ?&gt;&lt;/strong&gt;<br />&lt;?php else: ?&gt;</p>
<p>&lt;?php $params = array_merge($_REQUEST ?? [], ['page' =&gt; $page]);<br />$pageLink = "?" . http_build_query($params, '', '&amp;amp;');?&gt;<br />&lt;a href="&lt;?php echo $pageLink?&gt;"&gt;&lt;?php echo $page; ?&gt;&lt;/a&gt; <br />&lt;?php endif ?&gt;<br />&lt;?php endforeach; ?&gt;</p>
<p>?</p>
<p>Also, I don't see how I work in the other parameter regarding the category. To add $cat to the $params, I have to get the value from somewhere, but from where does it come?</p>
<p>Sorry for being so dull.</p>]]></description>
          <pubDate>Tue, 01 Oct 2024 13:59:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247547#post2247547</guid>
        </item>
                <item>
          <title>Pagination , filtered lists and page number links</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247546#post2247546</link>
          <description><![CDATA[<p>Thanks, Tim.</p>
<p>And yes, that is what I had assumed. I have a &lt;select&gt; field called "music_category_match" on the page that supplies the "nums" from a table called music_category, a la:</p>
<p>&lt;select name="music_category_match"&gt;<br />&lt;option value=""&gt;Category&lt;/option&gt;<br />&lt;?php foreach ($music_categoryRecords as $music_categoryRecord): ?&gt;<br />&lt;option value="&lt;?php echo $music_categoryRecord['num'] ?&gt;"&gt;&lt;?php echo $music_categoryRecord['category'] ?&gt;&lt;/option&gt;<br />&lt;?php endforeach ?&gt;<br />&lt;/select&gt;</p>
<p>When the user makes a selection and resubmits the page, a shorter list is returned as expected. However, the querystring  of the page does not show any $category value.</p>
<p>If I try to change the number links provided on the response page by adding a music_category (or Music_category_match) to the querystring nothing happens. e.g. </p>
<p>&lt;p&gt;<br />&lt;?php<br />if (@!$_GET['page']): $current_page = "1";<br />else: $current_page = $_GET['page'];<br />endif; ?&gt;<br />&lt;?php foreach (range(1,$music_videosMetaData['totalPages']) as $page): ?&gt;<br />&lt;?php if ($page == $current_page): ?&gt;<br />&lt;strong&gt;&lt;?php echo $page; ?&gt;&lt;/strong&gt;<br />&lt;?php else: ?&gt;<br />&lt;?php if(@!$_GET['music_category_match']) { ?&gt; <br />&lt;a href="?page=&lt;?php echo $page; ?&gt;"&gt;&lt;?php echo $page; ?&gt;&lt;/a&gt;<br />&lt;?php } else { ?&gt;<br />&lt;?php $cat = $_GET['music_category_match'];?&gt; <br />&lt;a href="?page=&lt;?php echo $page; ?&gt;&amp;music_category_match=&lt;?php echo $cat?&gt;"&gt;&lt;?php echo $page; ?&gt;&lt;/a&gt;<br />&lt;?php } // end if ?&gt; <br />&lt;?php endif ?&gt;<br />&lt;?php endforeach; ?&gt;<br />&lt;/p&gt;</p>
<p>I changed the head code to take into account the category value being sent in the querystring. but this never appears to happen</p>

<p>if(!isset($_GET['music_category_match'])) {<br />// load records from 'childers_videos'<br />list($music_videosRecords, $music_videosMetaData) = getRecords(array(<br />'tableName' =&gt; 'music_videos',<br />'perPage' =&gt; '3',<br />'loadUploads' =&gt; true,<br />'allowSearch' =&gt; true,<br />'orderBy' =&gt; 'title',<br />));</p>
<p><br />list($menu_listRecords, $menu_listMetaData) = getRecords(array(<br />'tableName' =&gt; 'music_videos',<br />'orderBy' =&gt; 'title',<br />'loadUploads' =&gt; false,<br />'allowSearch' =&gt; true,<br />));<br /><br />} else {</p>
<p><br />$cat = $_GET['music_category_match'];</p>
<p><br />list($music_videosRecords, $music_videosMetaData) = getRecords(array(<br />'tableName' =&gt; 'music_videos',<br />'perPage' =&gt; '3',<br />'loadUploads' =&gt; true,<br />'allowSearch' =&gt; true,<br />'orderBy' =&gt; 'title',<br />'where' =&gt; 'music_category='.$cat, <br />));</p>
<p><br />list($menu_listRecords, $menu_listMetaData) = getRecords(array(<br />'tableName' =&gt; 'music_videos',<br />'orderBy' =&gt; 'title',<br />'loadUploads' =&gt; false,<br />'allowSearch' =&gt; true,<br />'where' =&gt; 'music_category='.$cat,<br />));<br /><br />}</p>
<p>It appears that the music_category_match value never appears in a querystring. I am obviously not understanding this!</p>]]></description>
          <pubDate>Tue, 01 Oct 2024 13:25:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247546#post2247546</guid>
        </item>
                <item>
          <title>Pagination , filtered lists and page number links</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247543#post2247543</link>
          <description><![CDATA[<p>I have a number sections that present pagination that can be in large numbers. When I use a perPage value of 3-5 to preserve design, many of my sections may require dozens of pages to show all the content. Because the standard pagination code for page bottom just provides prev and next links, the user may need to click "next" many, many times to go through the actual list.</p>
<p>In order to provide the user some greater control, I incorporated code that creates number links for all of the pages (as long ago suggested on your site):</p>
<p>---------------</p>
<p>&lt;?php<br />if (@!$_GET['page']): $current_page = "1";<br />else: $current_page = $_GET['page'];<br />endif; ?&gt;<br />&lt;?php foreach (range(1,$music_videosMetaData['totalPages']) as $page): ?&gt;<br />&lt;?php if ($page == $current_page): ?&gt;<br />&lt;strong&gt;&lt;?php echo $page; ?&gt;&lt;/strong&gt;<br />&lt;?php else: ?&gt;<br />&lt;a href="?page=&lt;?php echo $page; ?&gt;"&gt;&lt;?php echo $page; ?&gt;&lt;/a&gt;<br />&lt;?php endif ?&gt;<br />&lt;?php endforeach; ?&gt;<br />&lt;/p&gt; <br />&lt;p&gt; <br />&lt;?php if ($music_videosMetaData['prevPage']): ?&gt;<br />&lt;a href="<a href="https://avisitwithjesus.com/" rel="nofollow">https://avisitwithjesus.com/</a>&lt;?php echo $music_videosMetaData['prevPageLink'] ?&gt;"&gt;&lt;span class="fa-solid fa-hand-point-left avwj_color"&gt;&lt;/span&gt;&lt;/a&gt;<br />&lt;?php else: ?&gt;<br />&lt;span class="fa-solid fa-hand-point-left"&gt;&lt;/span&gt;<br /><br />&lt;?php endif ?&gt;</p>
<p>&lt;?php if ($music_videosMetaData['nextPage']): ?&gt;<br />&lt;a href="<a href="https://avisitwithjesus.com/" rel="nofollow">https://avisitwithjesus.com/</a>&lt;?php echo $music_videosMetaData['nextPageLink'] ?&gt;"&gt;&lt;span class="fa-solid fa-hand-point-right avwj_color"&gt;&lt;/span&gt;&lt;/a&gt;<br />&lt;?php else: ?&gt;<br />&lt;span class="fa-solid fa-hand-point-right"&gt;&lt;/span&gt; <br />&lt;/p&gt; <br />&lt;?php endif ?&gt;</p>
<p>This code works fine in the basic situation. However, if one is also providing users search tools at the page top to filter the list, the numbering system breaks down.</p>
<p>If I allow a user to choose, for example, "category" from a dropdown and filter the list based upon this, a much smaller number of records is returned, along with the correspondingly diminished number of page links. However, these page links don't take the user to the indicated page number from among the filtered records, but rather the page number for the entire unfiltered list.</p>
<p>Does anyone have a suggestion as to how to modify the above code to take into account the filter criteria of the search?</p>]]></description>
          <pubDate>Mon, 30 Sep 2024 13:28:28 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247543#post2247543</guid>
        </item>
                <item>
          <title>downloadEmail error on Save</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247524#post2247524</link>
          <description><![CDATA[<p>Thanks very much, Tim.</p>
<p>Dave had earlier provided a similar solution.</p>

<p>Appreciate the followup.</p>

<p>Philip</p>]]></description>
          <pubDate>Fri, 20 Sep 2024 12:26:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247524#post2247524</guid>
        </item>
                <item>
          <title>downloadEmail error on Save</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247457#post2247457</link>
          <description><![CDATA[<p>I have encountered a new error with downloadEmail plugin.</p>
<p>After configuration, it worked well for a day or so. However, that was soon replaced by its downloading messages more than a dozen times.</p>
<p>After that, it has been failing each time, retrieving nothing and generating the error:</p>
<p>_mb_is_valid_encoding(): Argument #1 ($encoding) must be of type string, null given, called in /chroot/home/avisitwj/avisitwithjesus.com/html/cmsCSoft/plugins/downloadMail/downloadMail.php on line 473.</p>
<p>The full error message received by email is:</p>
<p style="text-decoration:none;color:#000000;">The following Scheduled Task did not complete successfully:</p>
<p>Date/Time: 2024-08-25 11:00:01Activity: Download MailSummary: Returned errorsCompleted: 0Function: downloadMail_startTaskOutput: Checking mail account: xxxxxxxx@example.com<br />Connecting to IMAP host: cloudvpstemplate.xxxx.example.com<br />Downloading 4 of 4 new messages<br />Downloading message #1 - UID: 102 - Message-Id: &lt;945705112.1573113.1724580058952@nvirginia-se-email-delivery-5f58bbb4b8-phlbn&gt;<br />_mb_is_valid_encoding(): Argument #1 ($encoding) must be of type string, null given, called in /chroot/home/user/example.com/html/cmsCSoft/plugins/downloadMail/downloadMail.php on line 473 in /chroot/home/user/example.com/html/cmsCSoft/plugins/downloadMail/downloadMail.php on line 473</p>

<p>Line 473 references the function...</p>
<p>472     function _mb_convert_to_utf8($string, $fromEncoding, $defaultEncoding = 'UTF-8') {<br /><strong>473.    $encoding = _mb_is_valid_encoding($fromEncoding) ? $fromEncoding : $defaultEncoding;</strong><br />474.     return mb_convert_encoding($string, 'UTF-8', $encoding);<br />            }</p>

<p>Has anyone else encountered this behavior?</p>]]></description>
          <pubDate>Sun, 25 Aug 2024 11:35:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247457#post2247457</guid>
        </item>
                <item>
          <title>downloadEmail error on Save</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247455#post2247455</link>
          <description><![CDATA[<p>I have just installed downloadEmail plugin fir first time. Its purpose for this site is to allow us to create a section editor based upon the _incoming_mail table from which site users can access submitted email content.</p>
<p>It works fine in that regard.</p>
<p>However, I would like to control postings going live on the site until an admin has ruled them publish-worthy. As I have often done for other similar situations, I created a "Publish" checkbox in the _incoming_mail table so that my query can limit results to only those set to publish. However, when I check the "Publish" box and attempt to save the record, I receive a forbidden error, (see attachment).</p>
<p>Is the _incoming_mail table configured in such a way as to disallow what I am trying to do?</p>
<p>Thanks.</p>]]></description>
          <pubDate>Fri, 23 Aug 2024 06:28:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247455#post2247455</guid>
        </item>
                <item>
          <title>Zickey Calendar</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247454#post2247454</link>
          <description><![CDATA[<p>Thanks very much, Deborah!</p>]]></description>
          <pubDate>Fri, 23 Aug 2024 02:16:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247454#post2247454</guid>
        </item>
                <item>
          <title>Zickey Calendar</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247448#post2247448</link>
          <description><![CDATA[<p>There was an archived thread about Zickey Calendar and whether it worked with CMSB beyond 3.65 and PHP 8.</p>
<p>Has this been answered?</p>
<p>I have an install in a 3.65 CMSB and am about to update to 3.7 and PHP 8.</p>
<p>Need to know.</p>
<p>Thanks.</p>]]></description>
          <pubDate>Wed, 21 Aug 2024 15:04:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247448#post2247448</guid>
        </item>
                <item>
          <title>Imagick trouble in CMSB 3.70</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247429#post2247429</link>
          <description><![CDATA[<p>I was able to get the host to update Imagick 6 to 7 and this solved the issue.</p>
<p>Thanks, Dave!</p>]]></description>
          <pubDate>Thu, 15 Aug 2024 04:52:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247429#post2247429</guid>
        </item>
                <item>
          <title>Imagick trouble in CMSB 3.70</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247423#post2247423</link>
          <description><![CDATA[<p>I have an install of CMSB 3.70 and it seems that uploading of images works fine for webP, png etc, but fails for jpegs.</p>
<p>One get the error within the cmsb backend</p>
<p>ted error occurred: #2533)<br />[DISPLAYED FOR ADMIN LOGINS ONLY] Error: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/581</p>
<p>and the logs show</p>
<p><span style="color:#000000;">#2533 - no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/581</span><br style="color:#000000;" /><span style="color:#000000;">/chroot/home/example.com/html/cmsCSoft/lib/image_functions.php on line 181</span></p>
<p><span style="color:#000000;">Line 181 in the images_functions.php file is a call to create a new instance of Imagick. I am guessing that Imagick has no code for dealing with jpg format?</span></p>
<p><span style="color:#000000;">I'm sure it has been able to in the past. Is this something in CMSB or a setting that needs changing by the host on the server?</span></p>
<p><span style="color:#000000;">Thanks.</span></p>]]></description>
          <pubDate>Tue, 13 Aug 2024 12:42:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247423#post2247423</guid>
        </item>
                <item>
          <title>createPDF v. 1.10 failing on new install</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247400#post2247400</link>
          <description><![CDATA[<p>Dave:</p>
<p>Thanks so much. You solved it, (as expected).</p>
<p>You guys provide the best support ever!</p>

]]></description>
          <pubDate>Wed, 24 Jul 2024 04:16:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247400#post2247400</guid>
        </item>
                <item>
          <title>createPDF v. 1.10 failing on new install</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247396#post2247396</link>
          <description><![CDATA[<p>Thanks for the reply, Tim.</p>
<p>Al the pages that give access to these functions require user authentication. I will open a secod. level request so I can share credentials.</p>
<p>I have tried this with both v 1.09 and v 1.10 of createPDF and both fail.</p>
<p>Interestingly, v. 1.09 continues to work flawlessly on our old,server, and the pages that work there are the same ones that fail on the new server. I didn't change any of the code, so it would seem to suggests a difference in server setting.</p>
<p>I have been over it with the web host, (LiquidWeb), but no joy.</p>
<p>Hope you'll be able to see something when I submit for 2nd level.... and thanks.</p>]]></description>
          <pubDate>Tue, 23 Jul 2024 13:43:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247396#post2247396</guid>
        </item>
                <item>
          <title>createPDF v. 1.10 failing on new install</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247393#post2247393</link>
          <description><![CDATA[<p>Thanks Tim:</p>
<p>I don't think calls via relative urls is the issue, as a have a page with none at all that also fails. The code below.</p>
<p>Any thoughts about what could be different on this server. If I had a notion I could approach the server admins with a request.</p>
<p>Thanks.</p>
<p>-----------</p>
<p>&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br />&lt;?php<br />if(!isset($_GET['dos'])) {<br />die("No date specified!"); <br />} else {<br />$dos = $_GET['dos']; <br />$dos_for_header = date("M d, Y",strtotime($dos."+ 7 days")); <br />$dos_for_PDF = date("m_d_Y",strtotime($dos)); <br />$dos_for_labs = date("M d, Y",strtotime($dos)); <br />}<br /><br />if(!isset($_GET['facility'])) {<br />die("No facility specified!"); <br />} else {<br />$facility_num = $_GET['facility']; <br />}<br /><br />// load viewer library<br />$libraryPath = 'cmsCSoft/lib/viewer_functions.php';<br />$dirsToCheck = ['','../','../../','../../../','../../../../']; // add if needed: '/home/mdwoundconsult/public_html/'<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>############Limit logged in users to only their facilities ##### <br />///make sure logged in<br />if (!$CURRENT_USER) { websiteLogin_redirectToLogin(); }<br />///now keep out anyone who might get to this by changing querystring value if he doesn't belong wirth this facility<br />$facilities_list = $CURRENT_USER['facilities'];<br />$cleanedValue = trim($facilities_list,"\t");<br />$facility_array = explode("\t",$cleanedValue);<br />if(!in_array($facility_num,$facility_array)) {<br />die("You do not have access to this area!");<br />} // end if<br />#####################</p>
<p><br />// load records from 'patients' who are active and from this facility<br />list($patientsRecords, $patientsMetaData) = getRecords(array(<br />'tableName' =&gt; 'patients',<br />'loadUploads' =&gt; false,<br />'allowSearch' =&gt; false,<br />'where' =&gt; 'active =1 AND facility ='.$facility_num,<br />));<br /><br /><br />// load records from 'visits' for the facility and dos passed in the querystring<br />// from this we will get the numbers of the patients and the visit type (new or followup)<br />list($visitsRecords, $visitsMetaData) = getRecords(array(<br />'tableName' =&gt; 'visits',<br />'loadUploads' =&gt; false,<br />'allowSearch' =&gt; false,<br />'orderBy' =&gt; 'room_number ASC',<br />'where' =&gt; "facility='".$facility_num."' AND date_of_service='".$dos."' AND followup !='1'",<br />));<br /><br /><br />/// pmg slim down the facilities table<br />$facility_query = "SELECT num, name FROM cmsb_facilities WHERE num=".$facility_num;<br />$facilitiesRecords= mysql_select_query($facility_query, $indexedArray = false);<br />// load records from 'facilities' to get the name<br />/*list($facilitiesRecords, $facilitiesMetaData) = getRecords(array(<br />'tableName' =&gt; 'facilities',<br />'loadUploads' =&gt; false,<br />'allowSearch' =&gt; false,<br />'where' =&gt; 'num='.$facility_num,<br />));*/<br />$facilitiesRecord = @$facilitiesRecords[0];<br />$facility_name = $facilitiesRecord['name'];<br /><br />// load records from 'labs' for this particular date check for particualr patient below<br />list($labsRecords, $labsMetaData) = getRecords(array(<br />'tableName' =&gt; 'labs',<br />'loadUploads' =&gt; false,<br />'allowSearch' =&gt; false,<br /><br />));<br /><br />if (@$_REQUEST['pdf']) {<br />createPDF_fromOutput('attachment', 'Rounding_List_'.$dos_for_PDF.'.pdf'); <br />}<br /><br />?&gt;<br />&lt;!doctype html&gt;<br />&lt;html&gt;<br />&lt;head&gt;<br />&lt;meta charset="UTF-8"&gt;<br />&lt;title&gt;Create Rounding List&lt;/title&gt;</p>
<p>&lt;style media="all"&gt;<br />body {<br />font-family:Verdana,Arial, sans-serif;<br />font-size:9px;<br />margin:0; <br />padding:0px;<br />}<br />.bold_it{<br />font-weight:bold;<br />}<br />table {<br />margin:5px;<br />padding:0px; <br />}</p>
<p>&lt;/style&gt;<br />&lt;/head&gt;<br />&lt;body&gt;</p>
<p>&lt;div &lt;!--class="Section1"--&gt;&gt;</p>
<p>&lt;h3&gt;Nursing Home: &lt;?php echo $facility_name; ?&gt;- &lt;?php echo $dos_for_header; ?&gt;&lt;/h3&gt;<br />&lt;?php $patient_num = 1; ?&gt;<br />&lt;table width="100%" border="1" cellpadding="2" cellspacing="0"&gt;<br />&lt;tr class="bold_it"&gt;<br />&lt;td&gt;Number&lt;/td&gt;<br />&lt;td&gt;Patient Name&lt;/td&gt;<br />&lt;td&gt;Room/Bed&lt;/td&gt;<br />&lt;td&gt;Allergies&lt;/td&gt;<br />&lt;td&gt;Medications&lt;/td&gt;<br />&lt;td&gt;PMH&lt;/td&gt;<br />&lt;td&gt;Tests/Consults&lt;/td&gt;<br />&lt;/tr&gt;<br />&lt;?php $patients_formerly_seen_array=array();?&gt;<br />&lt;?php foreach($visitsRecords as $visitsRecord) {<br /><br />$visit_type = $visitsRecord['visit_type:label'];<br /><br />$patient_number = $visitsRecord['patient'];<br />array_push($patients_formerly_seen_array,$patient_number);<br /><br />//$check_next_visit = $visitsRecord['check_next_visit'];<br />$recommended_tests = join(', ', $visitsRecord['recommended_tests:labels']);<br />$recommended_consults = join(', ', $visitsRecord['recommended_consults:labels']);<br /><br />foreach($patientsRecords as $patientsRecord) {<br />if($patientsRecord['num']==$patient_number) {<br />$allergies = join(', ', $patientsRecord['medicine_allergies:labels']);<br />if($patientsRecord['medicine_allergy_other']) {<br />$allergies .= " ".$patientsRecord['medicine_allergy_other'];<br />}<br />$patient_name = $patientsRecord['last_name'].", ".$patientsRecord['first_name'];<br />$room_bed = $patientsRecord['room_bed'];<br />$medications = $patientsRecord['medications'];<br />$pmh = $patientsRecord['pmh'];<br />/// pmg add test results for rounding sheet<br /><br />///now get MOLST info<br />$molst = "";<br />if($patientsRecord['dnr']) {$molst .= "&amp;nbsp;DNR"; }<br />if($patientsRecord['dni']) {$molst .= "&amp;nbsp;DNI"; }<br />if($patientsRecord['dnh']) {$molst .= "&amp;nbsp;DNH"; }<br />if($patientsRecord['no_iv']) {$molst .= "&amp;nbsp;No IV"; }<br />if($patientsRecord['no_feeding_tube']) {$molst .= "&amp;nbsp;No Feeding Tube"; }<br />if($patientsRecord['comfort_only']) {$molst .= "&amp;nbsp;Comfort Only"; }<br /><br /><br />$test_results = "";<br /><br />/// are there labs for this day?? If so, check for this patient and then gather<br />if($labsRecords) {<br />foreach($labsRecords as $labsRecord) {<br />$dos_for_this_lab = date("M d, Y",strtotime($labsRecord['exam_date'])); <br />if($labsRecord['patient'] == $patient_number &amp;&amp; $dos_for_this_lab ==$dos_for_labs) {<br />if($labsRecord['abpi']) {<br />$test_results .= "ABPI: ".$labsRecord['abpi']."&lt;br&gt;";<br />}<br />if($labsRecord['arterial_doppler']) {<br />$test_results .= "Art. Doppler: ".$labsRecord['arterial_doppler']."&lt;br&gt;";<br />}<br />if($labsRecord['venous_doppler']) {<br />$test_results .= "Ven. Doppler: ".$labsRecord['venous_doppler']."&lt;br&gt;";<br />}<br />if($labsRecord['xrays']) {<br />$test_results .= "XRay: ".$labsRecord['xrays']."&lt;br&gt;";<br />}<br />if($labsRecord['mri']) {<br />$test_results .= "MRI: ".$labsRecord['mri']."&lt;br&gt;";<br />}<br />if($labsRecord['bone_scan']) {<br />$test_results .= "Bone scan: ".$labsRecord['bone_scan']."&lt;br&gt;";<br />}<br />} // end if<br /><br />}// end foreach labrecord<br /><br />} // end if labRecords<br /><br />break;<br />}// end if $patientsRecord['num']<br />} // end foreach($patientsRecords)<br /><br /><br /><br />/// now build the table<br />?&gt;<br />&lt;tr&gt;<br />&lt;td width="5%"&gt;&lt;?php echo $patient_num;?&gt;&lt;/td&gt;<br />&lt;td width="15%"&gt;&lt;span class="bold_it"&gt;&lt;?php echo $patient_name;?&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style='font-size:0.6em;font-weight:bold;'&gt;&lt;?php echo $molst;?&gt;&lt;/span&gt;&lt;/td&gt;<br />&lt;td width="5%"&gt;&lt;?php echo $room_bed;?&gt;&lt;/td&gt;<br />&lt;td width="10%"&gt;&lt;?php echo $allergies;?&gt;&lt;/td&gt;<br />&lt;td width="20%"&gt;&lt;?php echo $medications; ?&gt;&lt;/td&gt;<br />&lt;td width="25%"&gt;&lt;?php echo $pmh; ?&gt;&lt;/td&gt;<br />&lt;td width="20%"&gt;&lt;?php if(!empty($recommended_tests)) {?&gt;&lt;span style="font-size:10px;"&gt;Rec. Tests: &lt;?php echo $recommended_tests; ?&gt;&lt;/span&gt;&lt;br /&gt;&lt;?php }?&gt;<br />&lt;?php if(!empty($recommended_consults)) {?&gt;&lt;span style="font-size:10px;"&gt;Rec. Consults: &lt;?php echo $recommended_consults; ?&gt;&lt;/span&gt;&lt;?php }?&gt;<br />&lt;!-- pmg add --&gt;<br />&lt;?php if(!empty($test_results)) {?&gt;<br />&lt;br&gt;&lt;span style="font-size:10px;"&gt;Results: &lt;?php echo $test_results; ?&gt;&lt;/span&gt;<br />&lt;?php } ?&gt;<br />&lt;/tr&gt;<br /><br />&lt;?php //if(!empty($check_next_visit)) {?&gt;<br />&lt;!-- &lt;tr&gt;&lt;td colspan="7" height="20" class="text10_bold"&gt;Check &gt;&gt; &lt;?php //echo $check_next_visit;?&gt;&lt;/td&gt;&lt;/tr&gt;--&gt;<br />&lt;?php //}?&gt;<br />&lt;tr&gt;&lt;td colspan="7" height="20"&gt;&lt;span class="bold_it"&gt;Home | Hosp | Visit | Exp &lt;/span&gt; -- Summary:&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;<br /><br />&lt;?php<br />$patient_num++;<br />} // end foreach $visitsRecords ?&gt;<br />&lt;/table&gt;<br />&lt;?php /*Now add list of those patients not seen last time*/?&gt;<br />&lt;?php<br />$more_patients = false;<br />$more_patients_array = array();<br />foreach($patientsRecords as $patientsRecord) {<br />///if the patient number is not in the formerly seen group and the patient has no PMH or Medications<br />///he must be new since nurses can't enter those values<br />if(!in_array($patientsRecord['num'],$patients_formerly_seen_array) &amp;&amp; !$patientsRecord['pmh']) {<br />$more_patients = true;<br />$temp_array=array($patientsRecord['room_bed'],$patientsRecord['last_name'],$patientsRecord['first_name']);<br />array_push($more_patients_array,$temp_array);<br />}<br />} // end foreach($patientsRecords as $patientsRecord)<br />if($more_patients) { ?&gt;<br />&lt;h3&gt;New Patients Since Last Rounds&lt;/h3&gt;<br />&lt;table width="100%" border="1" cellpadding="2" cellspacing="0"&gt;<br />&lt;tr&gt;&lt;td&gt;Number&lt;/td&gt;&lt;td&gt;Patient Name&lt;/td&gt;&lt;td&gt;Room/Bed&lt;/td&gt;&lt;/tr&gt;<br />&lt;?php $more_patient_num=1;?&gt;<br />&lt;?php foreach($more_patients_array as $more_patient) {<br />echo "&lt;tr&gt;&lt;td width='10%'&gt;".$more_patient_num."&lt;/td&gt;&lt;td width='20%'&gt;".$more_patient[1].", ".$more_patient[2]."&lt;/td&gt;&lt;td width='70%'&gt;".$more_patient[0]."&lt;/td&gt;&lt;/tr&gt;";<br />$more_patient_num++;<br />}<br />?&gt;<br />&lt;/table&gt; <br />&lt;?php } // end if($more_patients)<br />?&gt; <br /><br />&lt;/div&gt;<br />&lt;/body&gt; <br />&lt;/html&gt;</p>]]></description>
          <pubDate>Tue, 23 Jul 2024 04:43:26 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247393#post2247393</guid>
        </item>
                <item>
          <title>createPDF v. 1.10 failing on new install</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247389#post2247389</link>
          <description><![CDATA[<p>Sorry. Realized I should have posted this in the plugins forum!</p>
<p>I have read about this error and have removed relative p[aths from my html but this has not solved anything.</p>
<p>Has anyone else encountered this issue?</p>]]></description>
          <pubDate>Mon, 22 Jul 2024 06:40:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247389#post2247389</guid>
        </item>
                <item>
          <title>createPDF v. 1.10 failing on new install</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247388#post2247388</link>
          <description><![CDATA[<p>I have migrated a previously existing website to a new server. Our use of the createPDF plugin on the old site worked well.</p>
<p>When it failed on the new server, I installed the latest version of the plugin, downloaded the available binaries and then specified the best one at the top of createPDF.php</p>
<p>$GLOBALS['CREATEPDF_BINARY_FILE'] = 'wkhtmltopdf-0.12.6-1.debian9_stretch_amd64';</p>
<p>After this, running the test within the plugin comes up green everywhere, suggesting that all should be well.</p>
<p>However, all my calls to the plugin in my application fail with the error:</p>
<p>"Exit with code 1 due to network error: ContentNotFoundErrorError executing wkhtmltopdf! (Exit code: 1)&lt;br&gt;"</p>
<p>My web host is uninterested in helping with software issues, so I was wondering if anyone has any insight into this problem?</p>
]]></description>
          <pubDate>Mon, 22 Jul 2024 04:51:22 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247388#post2247388</guid>
        </item>
                <item>
          <title>v3.69 No _CSRFToken exists in session</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247237#post2247237</link>
          <description><![CDATA[<p>Hi:</p>
<p>I'm having the same issue with new installs of 3.69.</p>
<p>Is the only solution to this the use of a beta?</p>

]]></description>
          <pubDate>Mon, 03 Jun 2024 06:14:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247237#post2247237</guid>
        </item>
              </channel>
    </rss>
  