<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Can't Add Direct Invoice Item for some customers]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10497</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10497&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Can't Add Direct Invoice Item for some customers.]]></description>
		<lastBuildDate>Tue, 14 May 2024 10:09:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43093#p43093</link>
			<description><![CDATA[<p>Any updates guys?</p>]]></description>
			<author><![CDATA[null@example.com (DrCard)]]></author>
			<pubDate>Tue, 14 May 2024 10:09:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43093#p43093</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43026#p43026</link>
			<description><![CDATA[<p>this video in attachment demonstrate the issue and the temporary fix while using default theme without select2</p><p><a href="https://drive.google.com/file/d/1CnI9222q6ldAHRriMl7sUaXOWs2Pd9i6/view?usp=sharing">https://drive.google.com/file/d/1CnI922 … sp=sharing</a></p>]]></description>
			<author><![CDATA[null@example.com (DrCard)]]></author>
			<pubDate>Mon, 08 Apr 2024 09:25:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43026#p43026</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43023#p43023</link>
			<description><![CDATA[<div class="quotebox"><cite>kvvaradha wrote:</cite><blockquote><p>It seems you are using the select2 feature in every drop down. It&#039;s not core of FA. You you might modified the version of it.</p><p>So when you choose certain customers. The drop down or the items list might be directly connected to the sales price. </p><p>Or there can be the custom query which is failed to get results..</p><p>Or if any drop down or the list might be oversized. And it fails to load.&nbsp; </p><p>Or may be timeout. Increase the time if it.</p><p>Looks like you are a developer to modify the theme..So&nbsp; check those perspective. </p><br /><p>Try something more on that to elaborate the error</p></blockquote></div><p>Theme seems to be unrelated I tried disabling and it doesn&#039;t solve the issue.</p><p>Temporary solution is to use customer not affected by this issue and then switch to effected one and then I&#039;m able to proceed.</p>]]></description>
			<author><![CDATA[null@example.com (DrCard)]]></author>
			<pubDate>Mon, 08 Apr 2024 08:20:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43023#p43023</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43022#p43022</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Compare the DB structures of the good and erroneous instances.<br />Compare the file and folder permissions of the web facing files.<br />Try to make the <strong>unset</strong> command into two separate commands, one for each variable, preferably after checking if it exists.<br />Compare the php.ini files across both installations.</p><p>In the file <strong>sales/sales_order_entry.php</strong>, at line 603, the unset appears as:<br /></p><div class="codebox"><pre><code>    unset($_POST[&#039;_stock_id_edit&#039;], $_POST[&#039;stock_id&#039;]);</code></pre></div><p>Wonder what the subsequent <strong>page_modified()</strong> does after the above statement that causes the error.</p></blockquote></div><p>I tried separating unset without any success also when this issue happen page_modified() is not reached it stuck and unset and that&#039;s it.</p>]]></description>
			<author><![CDATA[null@example.com (DrCard)]]></author>
			<pubDate>Mon, 08 Apr 2024 08:16:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43022#p43022</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43020#p43020</link>
			<description><![CDATA[<p>It seems you are using the select2 feature in every drop down. It&#039;s not core of FA. You might use a modified the version of it.</p><p>So when you choose certain customers. The drop down or the items list might be directly connected to the sales price. </p><p>Or there can be the custom query which is failed to get results..</p><p>Or if any drop down or the list might be oversized. And it fails to load.&nbsp; </p><p>Or may be timeout. Increase the time if it.</p><p>Looks like you are a developer to modify the theme. So&nbsp; check those perspectives. </p><br /><p>Try something more on that to elaborate the error</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Sun, 07 Apr 2024 11:15:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43020#p43020</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43019#p43019</link>
			<description><![CDATA[<p>Compare the DB structures of the good and erroneous instances.<br />Compare the file and folder permissions of the web facing files.<br />Try to make the <strong>unset</strong> command into two separate commands, one for each variable, preferably after checking if it exists.<br />Compare the php.ini files across both installations.</p><p>In the file <strong>sales/sales_order_entry.php</strong>, at line 603, the unset appears as:<br /></p><div class="codebox"><pre><code>    unset($_POST[&#039;_stock_id_edit&#039;], $_POST[&#039;stock_id&#039;]);</code></pre></div><p>Wonder what the subsequent <strong>page_modified()</strong> does after the above statement that causes the error.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 07 Apr 2024 09:00:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43019#p43019</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43018#p43018</link>
			<description><![CDATA[<p>This image in the attachment</p>]]></description>
			<author><![CDATA[null@example.com (DrCard)]]></author>
			<pubDate>Sun, 07 Apr 2024 07:31:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43018#p43018</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43017#p43017</link>
			<description><![CDATA[<p>Your URL is not reachable in India as the major ISP has blocked ibb.co hosted at 213.174.132.224</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 06 Apr 2024 20:16:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43017#p43017</guid>
		</item>
		<item>
			<title><![CDATA[Can't Add Direct Invoice Item for some customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43016#p43016</link>
			<description><![CDATA[<p>For some customers mostly but not always customers with many transactions I can&#039;t add new item to the direct invoice and receive only<br />warning triangle without response to the request and leave no logs or footprint in php logs or nginx or php-fpm</p><p><a href="https://ibb.co/6yS1FCr">https://i.ibb.co/vcWQknV/ibba.png</a></p><p>after debugging the issue seems to appear in the line containing</p><p>unset($_POST[&#039;_stock_id_edit&#039;], $_POST[&#039;stock_id&#039;]);</p><p>in the function handle_new_item() while the $_POST[&#039;_stock_id_edit&#039;], $_POST[&#039;stock_id&#039;] are defined and I could print them with<br />display_error and such and also this unset() call work on some customers and didn&#039;t work on others</p><p>I tried to change my php version from 8.2 to 7.4 and it worked for while but then it stopped and never worked even when I clear the cache</p><p>I&#039;m using nginx and php 8.2 in rocky linux 8</p><p>do anyone face same issue?</p>]]></description>
			<author><![CDATA[null@example.com (DrCard)]]></author>
			<pubDate>Sat, 06 Apr 2024 13:36:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43016#p43016</guid>
		</item>
	</channel>
</rss>
