<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Facebook preview in error </title>
        <link>https://interactivetools.com/forum/forum-posts.php?Facebook-preview-in-error-81066</link>
        <description></description>
        <pubDate>Wed, 20 May 2026 02:50:01 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Facebook-preview-in-error-81066" rel="self" type="application/rss+xml" />

                <item>
          <title>Facebook preview in error </title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240977#post2240977</link>
          <description><![CDATA[<p>Hi jh, </p>
<p>So you need to figure out why $<span>about_usRecord isn't defined.  There is a problem with how the page is setup.  If you can attach newsDetail.php to this post we can take a look.</span></p>]]></description>
          <pubDate>Fri, 28 Jul 2017 10:49:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240977#post2240977</guid>
        </item>
                <item>
          <title>Facebook preview in error </title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240962#post2240962</link>
          <description><![CDATA[<p>Hi Dave</p>
<p>YES!  Here:</p>
<p>view-source:<a href="http://www.unicomp.com.tw/newsDetail.php?1500969170-179" rel="nofollow">http://www.unicomp.com.tw/newsDetail.php?1500969170-179</a></p>
<p>There are two "Undefined variable" on this page : </p>
<blockquote>
<p>&lt;meta name="Description" content="<br />Notice: Undefined variable: about_usRecord in /home2/unicomp/public_html/newsDetail.php on line 49" /&gt;&lt;meta name="Keywords" content="<br />Notice: Undefined variable: about_usRecord in /home2/unicomp/public_html/newsDetail.php on line 50" /&gt;</p>
</blockquote>

<p>The page here : </p>
<p><a href="http://www.unicomp.com.tw/newsDetail.php?1500969170-179" rel="nofollow">http://www.unicomp.com.tw/newsDetail.php?1500969170-179</a></p>

<p>What can I do for fixing this page??</p>
<p>Thank you!</p>
]]></description>
          <pubDate>Tue, 25 Jul 2017 19:15:07 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240962#post2240962</guid>
        </item>
                <item>
          <title>Facebook preview in error </title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240957#post2240957</link>
          <description><![CDATA[<p>Hi jh, </p>
<p>Can you try going to the URL directly, viewing-source in your browser, and searching for "undefined"?  Make sure there isn't a hidden error in the page first.</p>
<p>Let me know what you find!</p>]]></description>
          <pubDate>Tue, 25 Jul 2017 12:06:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240957#post2240957</guid>
        </item>
                <item>
          <title>Facebook preview in error </title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240947#post2240947</link>
          <description><![CDATA[<p>Hi ,</p>
<p>I posted our site link on Facebook.   Got error below : </p>
<p><span>Notice: Undefined variable: about_usRecord in /home2/unicomp/public_html/newsDetail.php on line 49</span></p>
<p><span>Screenshot :</span></p>
<p><span><a href="http://nimb.ws/zcyPhl" rel="nofollow">http://nimb.ws/zcyPhl</a></span></p>

<p><span>Here is our code:</span></p>
<blockquote>
<p>&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br />&lt;?php<br /> /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */<br /><br /> // load viewer library<br /> $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br /> $dirsToCheck = array('/home2/ehost7/public_html/unicomp.com.tw/','','../','../../','../../../');<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>// load record from 'news'<br /> list($newsRecords, $newsMetaData) = getRecords(array(<br /> 'tableName' =&gt; 'news',<br /> 'where' =&gt; whereRecordNumberInUrl(0),<br /> 'loadUploads' =&gt; true,<br /> 'allowSearch' =&gt; false,<br /> 'limit' =&gt; '1',<br /> ));<br /> $newsRecord = @$newsRecords[0]; // get first record<br /> if (!$newsRecord) { dieWith404("Record not found!"); } // show error message if no record found</p>
<p>?&gt;</p>
</blockquote>

<p><span>It only on cmsBuilder site.   </span></p>
<p><span>Hope you can help, </span></p>
<p><span>Thanks!</span></p>]]></description>
          <pubDate>Mon, 24 Jul 2017 06:14:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240947#post2240947</guid>
        </item>
              </channel>
    </rss>
  