<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Code lines skipped - then blank display ver 2.4.6]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8138</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8138&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Code lines skipped - then blank display ver 2.4.6.]]></description>
		<lastBuildDate>Sun, 05 May 2019 05:04:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Code lines skipped - then blank display ver 2.4.6]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34875#p34875</link>
			<description><![CDATA[<p>Check where you took the snippet from and do a <a href="http://www.winmerge.org">WinMerge</a> compare for diffs and see if there are any syntax / sequence order issues for the lines of code.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 05 May 2019 05:04:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34875#p34875</guid>
		</item>
		<item>
			<title><![CDATA[Re: Code lines skipped - then blank display ver 2.4.6]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34873#p34873</link>
			<description><![CDATA[<p>Thanks @apmuthu, but all includes done at top. see below:</p><div class="codebox"><pre><code>$page_security = &#039;SA_NEWLNKS&#039;;
$path_to_root  = &#039;../../..&#039;;

$module_root = $path_to_root . &quot;/modules/BatchControl&quot;;

include_once($path_to_root . &quot;/includes/session.inc&quot;);
include_once($path_to_root . &quot;/includes/ui.inc&quot;);
include_once($path_to_root . &quot;/includes/date_functions.inc&quot;);
include_once($module_root  . &quot;/includes/batches_db.inc&quot;);

add_access_extensions();

$js = &quot;&quot;;
if ($SysPrefs-&gt;use_popup_windows)
    $js .= get_js_open_window(720, 640);
if (user_use_date_picker())
    $js .= get_js_date_picker();

page(_($help_context = &quot;Batch Control&quot;));

simple_page_mode(true);

$link_id   = &#039;&#039;;
$batch_ref = &#039;&#039;;
$trans_id  = &#039;&#039;;
$target    = &#039;&#039;;
$link      = &#039;&#039;;
$noTab     = false;</code></pre></div><p>I have used that function a number of times in three different modules, so I cannot understand why all the code below the <em>call_to_write_new_database_record</em> function is being skipped as it all resides within the same section.</p><p>Will try re-typing that section.</p>]]></description>
			<author><![CDATA[null@example.com (neholtz)]]></author>
			<pubDate>Sat, 04 May 2019 17:01:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34873#p34873</guid>
		</item>
		<item>
			<title><![CDATA[Re: Code lines skipped - then blank display ver 2.4.6]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34872#p34872</link>
			<description><![CDATA[<p>The <strong>function display_notification()</strong> is defined in <strong>includes/ui/ui_msgs.inc</strong> and needs to be included in your script if not already loaded by some other included script.</p><p>The second argument in the said function defaults to <em>true</em> anyway and can be omitted in the second call.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 04 May 2019 16:24:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34872#p34872</guid>
		</item>
		<item>
			<title><![CDATA[Re: Code lines skipped - then blank display ver 2.4.6]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34862#p34862</link>
			<description><![CDATA[<p>$go_debug = 2 and nothing in error logs or /tmp</p>]]></description>
			<author><![CDATA[null@example.com (neholtz)]]></author>
			<pubDate>Thu, 02 May 2019 21:49:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34862#p34862</guid>
		</item>
		<item>
			<title><![CDATA[Re: Code lines skipped - then blank display ver 2.4.6]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34861#p34861</link>
			<description><![CDATA[<p>Is $go_debug = 1; (or 2) set in config.php?<br />Anything in the error log?</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Thu, 02 May 2019 20:18:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34861#p34861</guid>
		</item>
		<item>
			<title><![CDATA[Code lines skipped - then blank display ver 2.4.6]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34860#p34860</link>
			<description><![CDATA[<p>Several lines of code are skipped after a successful call to write a new database record.</p><p>For example:<br /></p><div class="codebox"><pre><code>    call_to_write_new_database_record(.........);          // This completes successfully - no errors

    display_notification(_(&#039;New record successfully written&#039;));     // This and the following lines do not execute
//
// other lines of code *
//
}</code></pre></div><p>A blank page is now displayed.</p><p>* There are no errors in the other lines of code.</p>]]></description>
			<author><![CDATA[null@example.com (neholtz)]]></author>
			<pubDate>Thu, 02 May 2019 19:42:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34860#p34860</guid>
		</item>
	</channel>
</rss>
