<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Add a new Supplier]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9963&amp;type=atom" />
	<updated>2022-09-11T00:37:30Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9963</id>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41441#p41441" />
			<content type="html"><![CDATA[<p>@apmuthu fa code is correct. He might be modified. Optional parameters wont issue this error. Someone changed the 11 parameter for his code as strict parameter. Which results this issue&nbsp; i guess.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2022-09-11T00:37:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41441#p41441</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41435#p41435" />
			<content type="html"><![CDATA[<p>In the current version 2.4.12+ as on date it is line 92 onwards as:<br /></p><div class="codebox"><pre><code>        add_crm_person($_POST[&#039;supp_ref&#039;], $_POST[&#039;contact&#039;], &#039;&#039;, $_POST[&#039;address&#039;], 
            $_POST[&#039;phone&#039;], $_POST[&#039;phone2&#039;], $_POST[&#039;fax&#039;], $_POST[&#039;email&#039;], 
            $_POST[&#039;rep_lang&#039;], &#039;&#039;);</code></pre></div><p>Here ther are only 10 arguments including 2 blank defaults.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2022-09-10T16:39:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41435#p41435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41422#p41422" />
			<content type="html"><![CDATA[<p>@stig<br />Did kvvaradha provided a solution to your problem?. If so please update. Thanks to @kvvaradha for his contribution. I would like to remind all users who report&nbsp; problems thru the forum to please update the status of the suggestions given by other community member . This will benefit the whole community.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-07T16:49:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41422#p41422</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41405#p41405" />
			<content type="html"><![CDATA[<p>Seems like one optional parameter changed as strict.</p><div class="codebox"><pre><code> 
add_crm_person($ref, $name, $name2, $address, $phone, $phone2, $fax, $email, $lang, $notes,
    $cat_ids=null, $entity=null)</code></pre></div><p>Here $cat_ids is 11th parameter. Which is optional parameter in FA.&nbsp; How the null has been removed from your code.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2022-09-05T07:35:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41405#p41405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41403#p41403" />
			<content type="html"><![CDATA[<p>sorry @stig I was not able to reproduce your error. Can you explain exactly how you are doing it? I understand it might be trivial but it should be helpful to understand, Also Language u use??</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-04T18:34:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41403#p41403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41401#p41401" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>Your OK with environment I just missed to as ask you your mysql version. Please mention that. Meanwhile you need to enable debugging for analysis. You need to edit ...config.php to the following and revert back to what it was before after trying to add a supplier again. Also list what the errors.log has after the change:</p><p> &nbsp; &nbsp; $go_debug &nbsp; &nbsp; &nbsp; &nbsp; = 1;&nbsp; &nbsp; // set to 1 for basic debugging, or 2 to see also backtrace after failure.</p></blockquote></div><br /><p>MySQL Version : 10.3.35-MariaDB-log-cll-lve</p><br /><p>$go_debug &nbsp; &nbsp; &nbsp; &nbsp; = 0</p><p>errors.log : 0:admin:crm_contacts_db.inc:13: Unhandled exception [0]: Too few arguments to function add_crm_person(), 10 passed in /home/bluestyp/public_html/frontaccounting/purchasing/manage/suppliers.php on line 94 and at least 11 expected.</p><br /><p>$go_debug &nbsp; &nbsp; &nbsp; &nbsp; = 1</p><p>errors.log : 0:admin:crm_contacts_db.inc:13: Unhandled exception [0]: Too few arguments to function add_crm_person(), 10 passed in /home/bluestyp/public_html/frontaccounting/purchasing/manage/suppliers.php on line 94 and at least 11 expected.</p><p>$go_debug &nbsp; &nbsp; &nbsp; &nbsp; = 0 // Back to zero</p><p>errors.log : 0:admin:crm_contacts_db.inc:13: Unhandled exception [0]: Too few arguments to function add_crm_person(), 10 passed in /home/bluestyp/public_html/frontaccounting/purchasing/manage/suppliers.php on line 94 and at least 11 expected.</p>]]></content>
			<author>
				<name><![CDATA[stig]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46831</uri>
			</author>
			<updated>2022-09-04T13:41:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41401#p41401</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41400#p41400" />
			<content type="html"><![CDATA[<p>Your OK with environment I just missed to as ask you your mysql version. Please mention that. Meanwhile you need to enable debugging for analysis. You need to edit ...config.php to the following and revert back to what it was before after trying to add a supplier again. Also list what the errors.log has after the change:</p><p> &nbsp; &nbsp; $go_debug &nbsp; &nbsp; &nbsp; &nbsp; = 1;&nbsp; &nbsp; // set to 1 for basic debugging, or 2 to see also backtrace after failure.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-04T12:06:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41400#p41400</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41399#p41399" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>State your environment please. FA , OS PHP and APACHE.</p></blockquote></div><p>I&#039;m a bit unsure of what you mean, but</p><p>Front Accounting version : 2.4.10<br />Operating System : linux (Architecture&nbsp; &nbsp; x86_64)<br />PHP Version : 7.2.34<br />Apache Version : 2.4.54</p><p>Apologies if that&#039;s not what you asked for.</p>]]></content>
			<author>
				<name><![CDATA[stig]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46831</uri>
			</author>
			<updated>2022-09-04T10:50:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41399#p41399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41398#p41398" />
			<content type="html"><![CDATA[<p>State your environment please. FA , OS PHP and APACHE.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-04T10:21:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41398#p41398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41397#p41397" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>Anything in the error log .../tmp/errors.log ?</p></blockquote></div><p>The log : </p><p>[04-Sep-2022 05:24:55 America/New_York] 0:admin:crm_contacts_db.inc:13: Unhandled exception [0]: Too few arguments to function add_crm_person(), 10 passed in /home/bluestyp/public_html/frontaccounting/purchasing/manage/suppliers.php on line 94 and at least 11 expected.</p>]]></content>
			<author>
				<name><![CDATA[stig]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46831</uri>
			</author>
			<updated>2022-09-04T09:25:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41397#p41397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41396#p41396" />
			<content type="html"><![CDATA[<p>Anything in the error log .../tmp/errors.log ?</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-04T09:04:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41396#p41396</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Add a new Supplier]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41395#p41395" />
			<content type="html"><![CDATA[<p>Hello All,</p><p>While adding a new supplier, i fill in all the details, and when i click on &quot;Add new supplier details&quot;, it forwards me to a page that only says &quot;Back&quot;. I&#039;m unable to add any suppliers. Please help.</p>]]></content>
			<author>
				<name><![CDATA[stig]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46831</uri>
			</author>
			<updated>2022-09-04T08:35:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41395#p41395</id>
		</entry>
</feed>
