<?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%3Adaniel</link>
        <description></description>
        <pubDate>Tue, 12 May 2026 14:29:33 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Adaniel&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Error when creating a List Page with Code Generator</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246226#post2246226</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>Apologies, try this instead:</p>
<pre class="language-php"><code>&lt;?php global $CURRENT_USER; ?&gt;
SELECT num, CONCAT_WS(", ", fullname, firstname)
FROM `&lt;?php echo $TABLE_PREFIX ?&gt;accounts`
WHERE hospital='&lt;?php echo $CURRENT_USER['hospital'] ; ?&gt;'
ORDER BY fullname</code></pre>
<p>Thanks,</p>]]></description>
          <pubDate>Tue, 11 Oct 2022 09:25:08 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246226#post2246226</guid>
        </item>
                <item>
          <title>Error when creating a List Page with Code Generator</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246223#post2246223</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>Try this:</p>
<pre class="language-markup"><code>global $CURRENT_USER;
SELECT num, CONCAT_WS(", ", fullname, firstname)
FROM `&lt;?php echo $TABLE_PREFIX ?&gt;accounts`
WHERE hospital='&lt;?php echo $CURRENT_USER['hospital'] ; ?&gt;'
ORDER BY fullname</code></pre>
<p>Note that this needs to be on a page where the user is required to be logged in, since it's using details from the current user's record.</p>
<p>Let me know if that works!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 10 Oct 2022 20:35:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246223#post2246223</guid>
        </item>
                <item>
          <title>Header Bar separators show weird characters in main browsers</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246221#post2246221</link>
          <description><![CDATA[<p>Hi pgplast,</p>
<p>What version of CMSB are you running? Also, what is the correct text that should be displayed in the header bar?</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 10 Oct 2022 19:24:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246221#post2246221</guid>
        </item>
                <item>
          <title>Error when creating a List Page with Code Generator</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246220#post2246220</link>
          <description><![CDATA[<p>Hi Andreas,</p>
<p>It looks like this is being triggered by an advanced list field, possibly due to an incorrect MySQL query. Can you check the list options for the "new_owner" field? If it's set up to generate the list from a MySQL query, that is probably generating the error. Feel free to copy the query here and I can try to troubleshoot the issue.</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 10 Oct 2022 19:22:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246220#post2246220</guid>
        </item>
                <item>
          <title>&quot;Save and Copy&quot; function for Email Templates</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246219#post2246219</link>
          <description><![CDATA[<p>Hey Codee,</p>
<p>That's a great idea - the Email Templates could definitely benefit from the Save &amp; Copy button. Here's a patch you can add to saveAndCopy.php to enable it; on line 21 change this:</p>
<pre class="language-php"><code>  $addButton = isset($menuType) &amp;&amp; ($menuType == 'multi' || $menuType == 'category') &amp;&amp; ($action == 'add' || $action == 'edit');</code></pre>
<p>To this:</p>
<pre class="language-php"><code>  $addButton = isset($menuType) &amp;&amp; ($menuType == 'multi' || $menuType == 'category' || $tableName == '_email_templates') &amp;&amp; ($action == 'add' || $action == 'edit');</code></pre>
<p>Try it out and let me know if you have any issues!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 10 Oct 2022 19:16:25 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246219#post2246219</guid>
        </item>
                <item>
          <title>Small suggestions for the future</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246218#post2246218</link>
          <description><![CDATA[<p>Hey Jerry,</p>
<p>Thanks for the suggestions!</p>
<p>For #1, that message is tied to all of the list pages in the CMS so it'd be non-trivial to change it just for the error log, but I can understand how the language feels a bit odd in that spot.</p>
<p>For #2, can you elaborate on the "login log" you're talking about? That sounds different from the built-in Audit Log; is it perhaps a customization or plugin?</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 10 Oct 2022 18:46:54 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246218#post2246218</guid>
        </item>
                <item>
          <title>PHP 8.1 Compatibility Plugin Updates</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246214#post2246214</link>
          <description><![CDATA[<p>Hi all,</p>
<p>We've just released a number of updates to address PHP 8.1 compatibility in some of our more popular plugins. These plugins are:</p>
<ul><li>Website Membership v1.14** (<a href="https://www.interactivetools.com/plugins/website-membership/" rel="nofollow">https://www.interactivetools.com/plugins/website-membership/</a>)</li>
<li>CSV Import v1.14 (<a href="https://www.interactivetools.com/plugins/csv-import/" rel="nofollow">https://www.interactivetools.com/plugins/csv-import/</a>)</li>
<li>CSV Export v1.05 (<a href="https://www.interactivetools.com/plugins/csv-export/" rel="nofollow">https://www.interactivetools.com/plugins/csv-export/</a>)</li>
<li>Download Mail v1.06 (<a href="https://www.interactivetools.com/plugins/download-mail/" rel="nofollow">https://www.interactivetools.com/plugins/download-mail/</a>)</li>
<li>Developer Console v1.07 (<a href="https://www.interactivetools.com/plugins/developer-console/" rel="nofollow">https://www.interactivetools.com/plugins/developer-console/</a>)</li>
<li>Newsletter Builder v3.06 (<a href="https://www.interactivetools.com/plugins/newsletter-builder/" rel="nofollow">https://www.interactivetools.com/plugins/newsletter-builder/</a>)</li>
<li>Outgoing SMS v1.07 (<a href="https://www.interactivetools.com/plugins/outgoing-sms/" rel="nofollow">https://www.interactivetools.com/plugins/outgoing-sms/</a>)</li>
</ul><p><strong>** Important note for Website Membership</strong>: If your front-end code was generated with WSM <span>v1.08 (released October 29, 2012) or earlier may not be compatible with PHP 8.1. Generated code does not automatically update through plugin updates, so you will need to re-generate and replace any non-compatible code manually.</span></p>
<p>Please let me know if you have any questions, or if you use any plugins that are not in this list and would like to confirm if they are PHP 8.1-ready.</p>
<p><span>Thanks!</span></p>]]></description>
          <pubDate>Wed, 05 Oct 2022 20:50:00 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246214#post2246214</guid>
        </item>
                <item>
          <title>Safe to clear out/delete the contents of the temp directory inside the data folder?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246212#post2246212</link>
          <description><![CDATA[<p>Hi Codee,</p>
<p>Without examining the site directly it's difficult to say that the files are 100% safe to delete, but I can say that I've never come across an issue caused by someone clearing their temp folder. The most common use for this folder is to temporarily store files as they're being uploaded or created, however, sometimes the "cleanup" process is interrupted or prevented for some reason, and the temporary file is not deleted automatically.</p>
<p>Can you tell me a few example filenames that are in your temp folder? If they end in ".tmp" then they are genuine temp files and can be deleted.</p>
<p>Thanks,</p>]]></description>
          <pubDate>Tue, 04 Oct 2022 15:38:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246212#post2246212</guid>
        </item>
                <item>
          <title>Safe to clear out/delete the contents of the temp directory inside the data folder?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246209#post2246209</link>
          <description><![CDATA[<p>Hi Codee,</p>
<p>Yes, the temp directory is intended for files that could be deleted at any time, so it should generally be safe to clear it out (except for the ".htaccess" and "index.html" files; these are important for security). It is possible that custom code could be using it for more "permanent" storage, but it would be irregular. As an extra precaution, you could skip deleting any recently created files which would reduce the chances of deleting something that's still in use.</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 03 Oct 2022 14:55:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246209#post2246209</guid>
        </item>
                <item>
          <title>403 error when embedding YouTube video</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246208#post2246208</link>
          <description><![CDATA[<p>Hi CommonSenseDesign,</p>
<p>403 errors are typically generated by the server refusing the request, and so are most commonly due to server configuration rather than the CMS itself. Here are two recent threads that dealt with 403 errors:</p>
<ul><li><a href="https://www.interactivetools.com/forum/forum-posts.php?postNum=2246151#post2246151" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?postNum=2246151#post2246151</a></li>
<li><a href="https://www.interactivetools.com/forum/forum-posts.php?postNum=2246041#post2246041" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?postNum=2246041#post2246041</a></li>
</ul><p>In one case it was caused by file permissions, and in the other, it was due to a ModSecurity rule. I would first check to see if you have ModSecurity enabled on the server and if yes, work with your webhost to find out if any rules are blocking the embed.</p>
<p>Let me know if you have any other questions!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 03 Oct 2022 14:46:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246208#post2246208</guid>
        </item>
                <item>
          <title>CMSB v3.57 Released (maintenance release)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246207#post2246207</link>
          <description><![CDATA[<p>Hi Greg,</p>
<p>We've been working on getting some of our more popular plugins updated for PHP 8.1; Website Membership being one of them. They should be getting an official release in the next few days, but let me know if there's anything you need to get updated ASAP and can provide a patch in the meantime.</p>
<blockquote>
<p><span>Also, is there a free scanner/script that can identify code that won't work with PHP 8 or is is just a case of upgrading and then manually testing everything?</span></p>
</blockquote>
<p><span>Nothing that we're aware of, yet. </span></p>
<p><span>I can let you know that the big culprit in PHP 8.1 is that a number of internal PHP functions no longer allow "null" to be used as an empty value (e.g., strlen() or str_replace() which expect strings), which can cause issues in places where "@" is used to silence notices for variables that may not exist if they then get passed to any of these functions. </span><span>This is a pattern that was used historically in our code, that now needs to be shifted away from. It's simple to fix, but if you have custom code that uses that pattern it increases the likelihood that you'll get errors in PHP 8.1. </span></p>
<p><span>Ideally, these sections should be rewritten to explicitly check whether or not the variable exists, but if you get an error like "<em>Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in ... on line ...</em>", it can be fixed in a pinch by changing this:</span></p>
<pre class="language-php"><code>strlen(@$_REQUEST['somevar']);</code></pre>
<p>To this:</p>
<pre class="language-php"><code>strlen($_REQUEST['somevar']??'');</code></pre>
<p>(Note that ??'' should be used when the function expects a string. You'd use ??0 if expecting an integer, ??false if expecting a boolean, etc.)</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 03 Oct 2022 14:35:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246207#post2246207</guid>
        </item>
                <item>
          <title>How to charge your client for PHP 8 updates (with example email)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246199#post2246199</link>
          <description><![CDATA[<p>Hi All, </p>
<p>As many of you may already know, PHP 7 will be discontinued at the end of November and will no longer be receiving security updates. As a result, we strongly recommend that everyone upgrade to PHP 8.0 or better.</p>
<p>We've written up a sample email below that you can resend to your clients explaining what's needed and why it's billable.  </p>
<p>You can perform these upgrades yourself by just upgrading CMS Builder and any plugins. We are also happy to offer assistance if you require any help making these upgrades.</p>
<p>Let me know if you have any questions about this or if we can be of any assistance.</p>
<blockquote>
<p><b>Subject:</b>Required Security Updates: PHP 8</p>
<p>Hello [CLIENT],</p>
<p>I wanted to let you know about some important security updates for your website and to schedule some time in the coming weeks to apply them. These updates will require some time to complete, but they are very important to maintain the security of your site.</p>
<p>We've had a number of clients ask about this so I've written up some additional details below if you’d like to know more.</p>
<p>Can you let me know a good time to discuss?</p>
<p><b>Ongoing security maintenance:</b></p>
<p>As part of maintaining an internet website, it's important to keep server software and code up to date. A standard website uses software from multiple 3rd parties such as Linux (operating system), Apache (web server), MySQL (database), PHP (programming language), and custom code that we've written specifically for your website.</p>
<p>These different vendors update their software when security issues are discovered and we periodically have those updates installed on the server. We don't charge for this and it often happens automatically. However, sometimes vendors introduce new versions that are not backwards compatible with existing website code which makes updating it necessary.</p>
<p><b>Upgrading to PHP 8</b></p>
<p>PHP is one of the most popular programming languages used today and what your website is programmed in. The developers of PHP have announced they're discontinuing PHP 7 and no longer providing security support for it. This means there won't be any way to prevent hackers or malicious users from using newly found security vulnerabilities to exploit websites running this version.</p>
<p>We've already made the required changes to the CMS (Content Management System) code and we can easily upload that, but we still need to review your website’s plugins and any custom code to ensure it will work with PHP 8.</p>
<p><b>Future updates</b></p>
<p>PHP versions are actively supported for up to 2 years after their release. So further updates will be required in future years. Usually, they will require minimal testing and changes, but like all internet developers, we need to work with what the vendors provide us with.</p>
<p>You can see a list of currently supported PHP versions and their supported dates <a>here:http://php.net/supported-versions.php</a></p>
<p>Additionally, other components on the server will require updating from time to time. Usually, we'll do this automatically but we'll let you know if anything extra is required.</p>
<p><b>Common Questions and Answers</b></p>
<p><b>Why didn’t you develop the website to support the latest version?<br /></b>Often the latest version either didn’t exist yet or was not mature enough to be used. Old unsupported software can contain security vulnerabilities, and brand new software can be buggy and unreliable. We try to take a conservative approach and target development at well-tested, supported software versions that are in common use.</p>
<p><b>What happens if I don’t upgrade?<br /></b>If you don’t upgrade your website then you’ll be vulnerable to security exploits and attacks that are discovered. Over the last three years, an average of 8 PHP vulnerabilities are discovered per year. You can find more information about PHP vulnerability trends <a>here:https://www.cvedetails.com/product/128/PHP-PHP.html?vendor_id=74</a></p>
<p><b>Should I be concerned about all these security issues?<br /></b>Actually, no. Part of maintaining an internet presence these days is making routine security updates. You've probably seen ongoing media stories about Apple and Microsoft constantly releasing updates and addressing security issues. It’s something everyone has to deal with but we’re happy to take care of it as part of the service we provide for you.</p>
<p><b>Are there other benefits of upgrading?<br /></b>Yes, there are. Updated software releases are often faster and more efficient, allowing your web server to respond more quickly and handle more requests. Additionally, programmers can develop software quicker when they’re able to use the latest features of a programming language.</p>
<p><b>Shouldn’t you provide these updates for free?<br /></b>Unfortunately, we can’t anticipate issues before they happen. As the internet evolves, unforeseen changes are sometimes required to maintain server security, to have your site work in the latest browsers, or even address newly introduced laws or regulations. Maintaining a modern internet presence requires that your website evolve as well. Sometimes there are years between these required changes, and sometimes they are more frequent. We stay current on these issues so we can advise you on the best way to address them.</p>
<p><b>Planned Updates</b></p>
<p>We’d propose the following process for updating the website for PHP 8:</p>
<ol><li>Backup the CMS database and website</li>
<li>Upgrade the CMS framework to the latest version (which supports PHP 8)</li>
<li>Upgrade any CMS plugins to the latest versions (which support PHP 8)</li>
<li>Manually review and update any website code</li>
<li>Switch the website over to PHP 8.0 or newer</li>
<li>Test and confirm no errors or issues</li>
</ol><p>Let me know if you’d like to go ahead with these updates and any questions.</p>
<p>Thank you!</p>
</blockquote>
<p><span>Hope that helps!  Let me know any questions.</span></p>]]></description>
          <pubDate>Wed, 28 Sep 2022 14:21:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246199#post2246199</guid>
        </item>
                <item>
          <title>E_NOTICE: Trying to access array offset on value of type null?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246194#post2246194</link>
          <description><![CDATA[<p>Hey Jerry,</p>
<p>Yes - I'll get that patch in the next CMSB release so you don't have to worry about it being overwritten in future updates.</p>
<p>I believe this specific error is new in PHP 7.4, so it likely worked to disable the search fields in this way when it was written. But it's not something we see commonly used, so the conditions for the error are pretty rare.</p>
<p>In any case, thanks for reporting this!</p>]]></description>
          <pubDate>Wed, 21 Sep 2022 14:16:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246194#post2246194</guid>
        </item>
                <item>
          <title>E_NOTICE: Trying to access array offset on value of type null?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246192#post2246192</link>
          <description><![CDATA[<p>Hey Jerry,</p>
<p>Apologies, I didn't realize at first this was happening on a CMSB admin page!</p>
<p>It looks like this error shows up if a section isn't configured with any search fields in the section editor (under the "Sorting" tab when editing a section). If you add any search field (or just "_all_"  to restore the default search bar) it should get rid of the errors.</p>
<p>From what I can see, your changes are probably sufficient, but here's a more "official" patch that should fix the errors in that section:</p>
<pre class="language-php"><code>      &lt;!-- simple search --&gt;
      &lt;?php $searchField = getSearchField($primarySearchRow, 'PRIMARY'); ?&gt;
      &lt;?php if (!empty($searchField)): ?&gt;
        &lt;?php if ($searchField['requiresLabel']): ?&gt;
          &lt;div class="row" style="margin-bottom: 5px;"&gt;
            &lt;div class="col-md-2"&gt;
              &lt;label class="control-label"&gt;
                &lt;?php echo $searchField['label'] ?&gt;
              &lt;/label&gt;
            &lt;/div&gt;
            &lt;div class="col-md-10"&gt;
              &lt;?php echo $searchField['html'] ?&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;?php else: ?&gt;
          &lt;div class="row" style="margin-bottom: 5px;"&gt;
            &lt;div class="col-md-12"&gt;
              &lt;?php echo $searchField['html'] ?&gt;
            &lt;/div&gt;
            &lt;?php if ($searchField['description']): ?&gt;
              &lt;div class="help-block col-md-12"&gt;
                &lt;?php echo $searchField['description']; ?&gt;
              &lt;/div&gt;
            &lt;?php endif; ?&gt;
          &lt;/div&gt;
        &lt;?php endif ?&gt;
      &lt;?php endif; ?&gt;</code></pre>
<p>This would replace lines 114-137 in /cmsb/lib/menus/list.php (the original version, before your changes)</p>
<p>Let me know if you have any other questions!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Wed, 21 Sep 2022 13:40:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246192#post2246192</guid>
        </item>
                <item>
          <title>Ordering Multiple Uploads</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246189#post2246189</link>
          <description><![CDATA[<p>Hey celuch,</p>
<p>There are a few options for ordering uploads. Here is a snippet that will make sure that uploads stay in the order that they were saved in:</p>
<pre class="language-php"><code>addAction('upload_saved', 'uploadOrder_setUploadOrderToUploadTime', null, 4);
function uploadOrder_setUploadOrderToUploadTime($tablename, $fieldname, $recordNum, $newUploadNum) {
  $uploadStartTime = substr(intval(floatval($_SERVER['REQUEST_TIME_FLOAT']) * 1000), 4);
  mysql_update('uploads', $newUploadNum, null, ['order' =&gt; $uploadStartTime ]);
}</code></pre>
<p>The main drawback here is that when images are uploaded in bulk, they can finish uploading in different orders, so it's not always fully accurate.</p>
<p>It's also possible to order the uploads when a record is saved, with something like this:</p>
<pre class="language-php"><code>addAction('record_postsave', 'uploadOrder_updateUploadsOrder', null, 4);
function uploadOrder_updateUploadsOrder($tableName, $isNewRecord, $oldRecord, $recordNum) {
  $schemaFields = getSchemaFields($tableName);
  foreach($schemaFields as $field) {
    if ($field['type'] == 'upload') {
      $uploads = mysql_select('uploads', mysql_escapef("`tableName` = ? AND `fieldName` = ? AND `recordNum` = ? ORDER BY filePath, num", $tableName, $field['name'], $recordNum ));
      if($uploads) {
        $order = 1;
        foreach($uploads as $upload) {
          mysql_update('uploads', $upload['num'], null, ['order' =&gt; $order]);
          $order++;
        }
      }
    }
  }
}</code></pre>
<p>This should automatically alphabetize the uploads in any record when it is saved. Note that it applies to all upload fields in all tables, but it could be customized to be a bit more specific. $tableName can be used to restrict which section(s) it applies to, and $field['name'] can apply to specific fields.</p>
<p>You can put either of these snippets into a plugin (CMSB comes with samplePlugin.php as a plugin template) to use them.</p>
<p>Let me know if you have any other questions!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Wed, 21 Sep 2022 11:52:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246189#post2246189</guid>
        </item>
                <item>
          <title>E_NOTICE: Trying to access array offset on value of type null?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246187#post2246187</link>
          <description><![CDATA[<p>Hey Jerry,</p>
<p>In this case, putting an @ in an if condition - when you're just checking for the existence of a value - is generally "safe" though it's no longer considered best practice. A fairly simple and better practice method to avoid the notice is with the empty() function, which checks "does this variable exist and contain a nonzero value?" So instead of this:</p>
<pre class="language-php"><code>&lt;?php if (@$searchField['requiresLabel']): ?&gt;</code></pre>
<p>You would use:</p>
<pre class="language-php"><code>&lt;?php if (!empty($searchField['requiresLabel'])): ?&gt;</code></pre>
<p>Let me know if that helps!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Wed, 21 Sep 2022 11:32:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246187#post2246187</guid>
        </item>
                <item>
          <title>Use of Date Picker inside a form</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246186#post2246186</link>
          <description><![CDATA[<p>Hey Andreas,</p>
<p>If you've created the form with Form Generator, you will probably have a section of code like this in the generated script:</p>
<pre class="language-php"><code>    if (fg_util_isPartialDate('examination_date'))       { $_REQUEST['examination_date'] = ''; } // clear invalid dates
    else                                     { $_REQUEST['examination_date'] = sprintf("%04d-%02d-%02d %02d:%02d:%02d", @$_REQUEST['examination_date:year'], @$_REQUEST['examination_date:mon'], @$_REQUEST['examination_date:day'], 0, 00, 00); }</code></pre>
<p>These lines are part of the date validation when a date field is being handled by the three dropdowns. Changing to a single input can cause some unexpected behaviour. Try commenting these lines, and let me know if that helps.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Wed, 21 Sep 2022 11:25:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246186#post2246186</guid>
        </item>
                <item>
          <title>On new install, cmsb shows php ver 7.3.33 but host cpanel shows 7.4</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246185#post2246185</link>
          <description><![CDATA[<p>Hi Codee,</p>
<p>I've attached a script that will output the server's PHP version without any extraneous code - can you try running this on your server? If it still reports the wrong PHP version, I would suggest reaching out to your hosting provider, as that would indicate a server configuration issue. You can show them this script to demonstrate that the version is incorrect.</p>
<p>I hope that helps!</p>]]></description>
          <pubDate>Wed, 21 Sep 2022 10:18:00 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246185#post2246185</guid>
        </item>
                <item>
          <title>Headers already sent errrors if not logged in.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246180#post2246180</link>
          <description><![CDATA[<p>Hey Jerry,</p>
<p>Yes, that formatting looks correct! There is one "?&gt;&lt;?php" remaining that you can remove, but it's pretty inconsequential.</p>
<blockquote>
<p>The confusing part is that I use the same _website_init file on many of my sites and never seemed to have the same issue.</p>
<p>Oh well, better go back and check all the other sites again...</p>
</blockquote>
<p>There is a setting that can help PHP ignore some premature output, but I've found it to not always be 100% reliable, and it can be site/server-dependent, so there may be some difference between this environment and other sites where it's been used. In any case, I find it best practice to just remove any unnecessary whitespace to keep code as portable as possible.</p>
<p>Let me know if you have any further issues!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 19 Sep 2022 16:12:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246180#post2246180</guid>
        </item>
                <item>
          <title>Question regarding limitations of WebP function in CMSB</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246176#post2246176</link>
          <description><![CDATA[<p>Hi Codee,</p>
<p>When testing locally using gd and a 30MB PNG, it works with a memory_limit of 512MB, so I'd suggest trying that out. You can change it in /cmsb/lib/init.php - there should be a line like this:</p>
<pre class="language-markup"><code>ini_set('memory_limit', '128M');</code></pre>
<p>You can change this to whatever value you need. Note that this value will be overwritten during CMS upgrades, so you should make a note of the change.</p>
<p>Your max_execution_time is 6 minutes which generally should be fine, though if the process hangs for exactly 6 minutes that could be a clue.</p>
<p>Let me know if this helps!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 19 Sep 2022 14:38:42 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246176#post2246176</guid>
        </item>
                <item>
          <title>Headers already sent errrors if not logged in.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246174#post2246174</link>
          <description><![CDATA[<p>Hey Jerry,</p>
<p>I can see that there's a space after the "?&gt; " on line 7 in provider_profile.php - whitespace will count as "output" and cause this error. To make things as simple as possible, I'd suggest moving the login check to be immediately after the include, like this:</p>
<pre class="language-php"><code>include ("_website_init.php"); 
if (!$CURRENT_USER) { websiteLogin_redirectToLogin(); }
?&gt;</code></pre>
<p>Also, PHP tags that look like this could be outputting a newline which I assume is also being counted as output:</p>
<pre class="language-php"><code>?&gt;
&lt;?php</code></pre>
<p>This shows up a number of times in _website_init.php starting on line 76-77, so I would suggest rewriting the whole file to exist in a single PHP block like this:</p>
<pre class="language-php"><code>//...

list($faqRecords, $faqMetaData) = getRecords(array(
    'tableName'   =&gt; 'faq',
    'loadUploads' =&gt; true,
    'allowSearch' =&gt; false,

  ));

$masterurl = $common_informationRecord['master_url'];

if ($image_libraryRecord['image_1']):
  foreach ($image_libraryRecord['image_1'] as $index =&gt; $upload):
    $image1 = $upload['thumbUrlPath2'];
  endforeach;
endif;

// etc, etc.</code></pre>
<p>or simply remove the newlines so there's no space between PHP tags, like this: "?&gt;&lt;?php"</p>
<p>Let me know if that helps, or if you have any further questions.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Mon, 19 Sep 2022 13:32:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246174#post2246174</guid>
        </item>
                <item>
          <title>Headers already sent errrors if not logged in.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246172#post2246172</link>
          <description><![CDATA[<p>Hi Jerry,</p>
<p>What is the code at line 77 of /home3/mrqsygmy/public_html/_website_init.php line 77? This is where the error indicates the early output is happening. </p>]]></description>
          <pubDate>Mon, 19 Sep 2022 11:37:09 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246172#post2246172</guid>
        </item>
                <item>
          <title>Question regarding limitations of WebP function in CMSB</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246171#post2246171</link>
          <description><![CDATA[<p>Hi Codee,</p>
<p>In that case, the PHP module for Imagick does not appear to be enabled. This is something that would need to be done on the server by the host, though not all hosts will support it. </p>
<p>Have you looked into the memory_limit and max_execution_time settings? You can find the current values for both of these settings on the General Settings page in CMSB, under Admin Menu.</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 19 Sep 2022 11:35:26 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246171#post2246171</guid>
        </item>
                <item>
          <title>createPDF SslHandshakeFailedError</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246166#post2246166</link>
          <description><![CDATA[<p>Hey Karls,</p>
<p>Sorry to hear you haven't had any luck yet.</p>
<p>I was able to extract this file from the RPM, I believe it should be the wkhtmltopdf binary for CentOS 7: <a href="https://interactivetools.com/uploads/wkhtmltox-0.12.6-1.centos7.x86_64" rel="nofollow">https://interactivetools.com/uploads/wkhtmltox-0.12.6-1.centos7.x86_64</a></p>
<p>Let me know if that helps!</p>
<p>Thanks,</p>
]]></description>
          <pubDate>Thu, 15 Sep 2022 17:25:25 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246166#post2246166</guid>
        </item>
                <item>
          <title>Question regarding limitations of WebP function in CMSB</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246161#post2246161</link>
          <description><![CDATA[<p>Hey Codee,</p>
<p>It sounds like it may already be enabled as a PHP module. If you go to the CMSB admin under Admin Settings &gt; General Settings, and check the "Server Info" section at the bottom, there should be a line that says "Image Modules" - if your server has Imagick enabled it should be listed here and not crossed out. If it's enabled then it should be used automatically by the system.</p>
<p>Let me know if you have any other questions!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Thu, 15 Sep 2022 12:00:58 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246161#post2246161</guid>
        </item>
              </channel>
    </rss>
  