<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>1045 database error message after upgrade</title>
        <link>https://interactivetools.com/forum/forum-posts.php?1045-database-error-message-after-upgrade-82453</link>
        <description></description>
        <pubDate>Tue, 14 Jul 2026 21:52:40 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;1045-database-error-message-after-upgrade-82453" rel="self" type="application/rss+xml" />

                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245628#post2245628</link>
          <description><![CDATA[<p>Will do. Thank you.</p>]]></description>
          <pubDate>Tue, 17 Aug 2021 12:22:28 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245628#post2245628</guid>
        </item>
                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245627#post2245627</link>
          <description><![CDATA[<p>Hi CommonSenseDesign,</p>
<p>This is a curious issue - I think it would be fastest if we're able to look into it directly. Can you send a 2nd level support request (<a href="https://www.interactivetools.com/support/request/" rel="nofollow">https://www.interactivetools.com/support/request/</a>) and reference this forum post?</p>
<p>Thanks,</p>]]></description>
          <pubDate>Tue, 17 Aug 2021 11:22:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245627#post2245627</guid>
        </item>
                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245626#post2245626</link>
          <description><![CDATA[<p>Hi, Daniel.</p>
<p>Yes, the details near the top of the code look correct to me.</p>
<p>Here's the load viewer code from my homepage.</p>
<pre class="language-php"><code>// load viewer library
$libraryPath = 'cmsAdmin/lib/viewer_functions.php';
$dirsToCheck = array('/services3/webpages/m/w/mwisilo.com/public/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }</code></pre>
<p>Sorry, I can't recall which version I had installed previously, but I think it's at least five years old.</p>]]></description>
          <pubDate>Tue, 17 Aug 2021 08:32:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245626#post2245626</guid>
        </item>
                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245625#post2245625</link>
          <description><![CDATA[<p>Hi CommonSenseDesign,</p>
<p>In your first post, your link uses HTTP, whereas these two use HTTPS. When using the HTTPS links I see errors that look related to the SSL certificate, which is unlikely to be related to CMSB. When I use the HTTP link I still see the 1045 database error. </p>
<p>If you previously had been able to access the site through HTTPS that is likely a separate issue to resolve, likely with your server admin or hosting provider. But I can continue to help troubleshoot the database issue.</p>
<p>Just to cover off some potentially more obvious things:</p>
<ul><li>* Can you confirm that the database credentials in the site's settings.dat.php are correct (should be in cmsAdmin/data/)?</li>
<li>* Can you copy an example of the "load viewer" block from your existing front-end pages? It should look something like this:<br /><pre class="language-php"><code>  // load viewer library
  $libraryPath = 'cmsb/lib/viewer_functions.php';
  $dirsToCheck = array('W:/d/test.com/htdocs/','','../','../../','../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }​</code></pre>
</li>
<li>* Do you know which old version of CMSB the site was being upgraded from?</li>
</ul><p>Thanks,</p>]]></description>
          <pubDate>Mon, 16 Aug 2021 12:09:37 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245625#post2245625</guid>
        </item>
                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245624#post2245624</link>
          <description><![CDATA[<p>Thanks for the reply, Daniel. Unfortunately, this is now happening:</p>
<p><a href="https://www.mwisilo.com/" rel="nofollow">https://www.mwisilo.com/</a></p>
<p><a href="https://www.mwisilo.com/cmsAdmin/admin.php" rel="nofollow">https://www.mwisilo.com/cmsAdmin/admin.php</a></p>]]></description>
          <pubDate>Mon, 16 Aug 2021 11:56:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245624#post2245624</guid>
        </item>
                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245623#post2245623</link>
          <description><![CDATA[<p>Hi CommonSenseDesign,</p>
<p>You should be able to upgrade by replacing the files in your existing folder (cmsAdmin). As always, we recommend making a backup of your files and database prior to upgrading in case there are any issues.</p>
<p>Let me know if you have any other questions!</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 16 Aug 2021 11:49:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245623#post2245623</guid>
        </item>
                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245622#post2245622</link>
          <description><![CDATA[<p>I've just realized that the original installation was in a directory called cmsAdmin, whereas the up-to-date version uses a directory cmsb. Should I upload the new software files to cmsAdmin, or create a new directory labelled cmsb?</p>]]></description>
          <pubDate>Mon, 16 Aug 2021 09:11:08 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245622#post2245622</guid>
        </item>
                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245616#post2245616</link>
          <description><![CDATA[<p>Hi,</p>
<p>Try renaming your backup settings.dat file from your previous working install (so you don't overwrite it by mistake) and then compare that file to the upgraded on-line version of your settings.dat file (cmsAdmin/data/settings.dat).</p>
<p>My bet is that you'll find differences, especially in the DB area, and those are probably leading to your problem (they have in the past for me).</p>
<p>Also, make sure that all the paths in the new settinbgs.dat file match your current server paths.</p>
<p>Hope that helps,</p>
<p>Jerry Kornbluth</p>]]></description>
          <pubDate>Thu, 12 Aug 2021 13:57:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245616#post2245616</guid>
        </item>
                <item>
          <title>1045 database error message after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245615#post2245615</link>
          <description><![CDATA[<p>Hi, there. I just did a CMSB upgrade on my client's site, and now I'm getting a <span><span style="color:#ff0000;"><strong>1045 - Access denied for user</strong></span> message.</span></p>
<p>Does anyone know hot to fix this, please?</p>
<p><a href="http://www.mwisilo.com/index.php" rel="nofollow">http://www.mwisilo.com/index.php</a></p>]]></description>
          <pubDate>Thu, 12 Aug 2021 12:30:17 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245615#post2245615</guid>
        </item>
              </channel>
    </rss>
  