<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>MySQL error message (Website membership add on)</title>
        <link>https://interactivetools.com/forum/forum-posts.php?MySQL-error-message-Website-membership-add-on-81401</link>
        <description></description>
        <pubDate>Tue, 14 Jul 2026 08:46:10 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;MySQL-error-message-Website-membership-add-on-81401" rel="self" type="application/rss+xml" />

                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242431#post2242431</link>
          <description><![CDATA[<p>Thank you, Daniel.</p>]]></description>
          <pubDate>Wed, 22 Aug 2018 09:18:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242431#post2242431</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242416#post2242416</link>
          <description><![CDATA[<p>Hello,</p>
<p>From the screenshot, it looks like your client has a browser plugin (LastPass) that is auto-filling the login info. I wouldn't recommend trying to override browser plugin behavior. The login page itself does not store/load any login details to/from the cache.</p>
<p>Thanks,</p>]]></description>
          <pubDate>Tue, 21 Aug 2018 11:09:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242416#post2242416</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242415#post2242415</link>
          <description><![CDATA[<p>Hi, Daniel.</p>
<p>My client has noticed another issue with the membership login page.</p>
<p>Is there a way of making sure the login fields aren't already populated with info when the user visits the login page? i.e. a way to set up the page so that the browser cache is cleared each time the user leaves and revisits the page? (See attachment 01-login.jpg)</p>
<p><a href="http://www.globalmedelite.com/" rel="nofollow">http://www.globalmedelite.com/</a></p>
<p>Thanks!</p>]]></description>
          <pubDate>Tue, 21 Aug 2018 10:15:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242415#post2242415</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242406#post2242406</link>
          <description><![CDATA[<p>That seems to have fixed everything, Daniel. Thank you so much for your patience and help.</p>]]></description>
          <pubDate>Mon, 20 Aug 2018 10:42:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242406#post2242406</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242404#post2242404</link>
          <description><![CDATA[<p>Hello,</p>
<p>I can see that there's some custom code in your login_functions.php file which is the source of both this and the previous error. At first glance, it looks like it tries to save the account's location based on its address, and prevent logins to that account if the user isn't close enough geographically.</p>
<p>Upgrading is one way to get rid of this error, as it would simply overwrite the custom code. Another simple option would be to modify lines 247-248 in that file from:</p>
<p><code>$isValidLocation=LocationCheck ();<br />$isValidLogin=$user&amp;&amp;$isValidPassword&amp;&amp;$isValidLocation;</code><br />To:</p>
<p><code>//$isValidLocation=LocationCheck ();<br />$isValidLogin=$user&amp;&amp;$isValidPassword;//&amp;&amp;$isValidLocation;</code></p>
<p>This would disable the custom code without removing it entirely.</p>
<p>If instead, you'd like to try to salvage this functionality, it would require a more hands-on look to determine what caused it to stop working in the first place.</p>
<p>Let me know if you have any more questions.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Mon, 20 Aug 2018 10:04:22 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242404#post2242404</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242403#post2242403</link>
          <description><![CDATA[<p>Hi, Daniel.</p>
<p>That seems to have worked, thank you. However, when I login, there's an error message that appears at the top of the page:</p>
<p><em>Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/globalmedelite/web/htdocs/cmsAdmin/lib/login_functions.php on line 153</em></p>
<p>This also appears on all the pages when the user has logged in to see the members-only pages.</p>
<p>Is there a way to stop that showing, please? Everything else seems to be working fine.</p>
<p>EDIT: We're using version 2.15 of the CMS (which was launched May 2012) and version 1.07 of the website membership add-on (launched January 2012), so it might be that an upgrade is in order.</p>]]></description>
          <pubDate>Sun, 19 Aug 2018 14:20:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242403#post2242403</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242384#post2242384</link>
          <description><![CDATA[<p>Hello,</p>
<p>The Geocoder plugin will automatically attempt to fill the latitude/longitude values when a record is saved in a table where they exist. If those fields are not being used by the user accounts at all, it should be safe to simply remove them to stop the error (after backing up the database, just in case). If those fields are necessary for some site function, then my next recommendation would be to check the required CMSB version for all active plugins - especially any that have been installed or updated more recently - to see if there is a compatibility issue, as well as checking the Developer Log (under Admin Menu) for any additional errors that appear when creating a new user.</p>
<p>It's unclear if the new password issue you mention is related or not. The best way to find out will be to solve the first error and then see if the second still persists.</p>
<p>Let me know if I can help any further.</p>
<p>Thanks,</p>]]></description>
          <pubDate>Tue, 14 Aug 2018 09:52:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242384#post2242384</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242382#post2242382</link>
          <description><![CDATA[<p>Hi, Daniel.</p>
<p>When I go to "Edit section" for the User Accounts, there is a longitude field. However, it isn't used for collecting information about users when we set up their accounts. I've attached a screenshot of the columns we're using.</p>
<p>One other thing I've noticed. There are already some user accounts that were created a while ago. If I change the password for one of them to something else, the username and new password don't work and the user can't log in. Is that connected to this problem?</p>]]></description>
          <pubDate>Fri, 10 Aug 2018 12:25:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242382#post2242382</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242381#post2242381</link>
          <description><![CDATA[<p>Hello,</p>
<p>It sounds like this may be related to the Geocoding plugin.</p>
<p>Does the User Accounts table in the Section Editor have a "longitude" field? If yes, what is its Field Type and Column Type? (Column type is the unlabeled column to the left of the Action column. It should have values like "int(10) unsigned" and "mediumtext")</p>
<p>Thanks,</p>]]></description>
          <pubDate>Fri, 10 Aug 2018 12:07:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242381#post2242381</guid>
        </item>
                <item>
          <title>MySQL error message (Website membership add on)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242380#post2242380</link>
          <description><![CDATA[<p>Hi, there.</p>
<p>I'm revisiting a client's site that was built several years ago so I can make some changes. We're using the Website Membership add on (v1.07) with an older version of CMSB (v2.15). It was working fine before, but we're getting an error message when we try to add a new user to the system:</p>
<p><strong><em>MySQL Error: Data truncated for column 'longitude' at row 1</em></strong></p>
<p>Everything else about CMSB and the add on work fine. The only problem is with new members.</p>
<p>Anyone know what's causing this, please? Is it due to the software being older versions?</p>]]></description>
          <pubDate>Fri, 10 Aug 2018 06:50:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242380#post2242380</guid>
        </item>
              </channel>
    </rss>
  