<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Batch Invoice from Search Not Invoiced Deliveries - Failed]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5511&amp;type=atom" />
	<updated>2015-01-27T19:40:11Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5511</id>
		<entry>
			<title type="html"><![CDATA[Re: Batch Invoice from Search Not Invoiced Deliveries - Failed]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22345#p22345" />
			<content type="html"><![CDATA[<p>Thanks for the feedback. This will be the case when large reports are to be generated like when we have too many items.</p><p>Generally available since PHP v5.3.9 but Debian implemented it in <a href="http://ftp-master.metadata.debian.org/changelogs/main/p/php5/php5_5.3.3-7+squeeze17_changelog">PHP 5.3.3-7+squeeze7</a> but may be ignored (YMMV) but <a href="http://www.flowstopper.org/2012/12/my-php-wtf-of-day-maxinputvars.html">works in PHP 5.1.6</a>.</p><p>Adding the directive into <strong>php.ini</strong> or placing following lines into <strong>.htaccess</strong> will work:<br /></p><div class="codebox"><pre><code>php_value max_input_vars 3000
php_value suhosin.get.max_vars 3000
php_value suhosin.post.max_vars 3000
php_value suhosin.request.max_vars 3000</code></pre></div><p>Please note, you cannot set this directive in run-time with function <strong>ini_set(name, newValue)</strong>.</p><p>The best way is to <a href="http://stackoverflow.com/questions/19100554/compact-all-form-data-with-javascript">compact all form data using javascript</a>.</p><p>On the receiving side you cannot use the PHP <strong>parse_str()</strong> function because the <strong>max_input_vars</strong> directive affects this function too, so you need something else like <a href="https://gist.github.com/rubo77/6821632"><strong>my_parse_str()</strong></a>.</p><p>Otherwise, the <strong>serialize</strong> and <strong>JSON.stringify</strong> may work together.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-01-27T19:40:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22345#p22345</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Batch Invoice from Search Not Invoiced Deliveries - Failed]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22344#p22344" />
			<content type="html"><![CDATA[<p>increased to 3000, invoice generated. issue resolved</p>]]></content>
			<author>
				<name><![CDATA[netracer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19800</uri>
			</author>
			<updated>2015-01-27T14:40:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22344#p22344</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Batch Invoice from Search Not Invoiced Deliveries - Failed]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22343#p22343" />
			<content type="html"><![CDATA[<p>increase to 2000, restart apache, logout / login and tried. similar results.<br />memory_limit 150MB<br />max_execution_time 30s</p>]]></content>
			<author>
				<name><![CDATA[netracer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19800</uri>
			</author>
			<updated>2015-01-27T14:04:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22343#p22343</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Batch Invoice from Search Not Invoiced Deliveries - Failed]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22342#p22342" />
			<content type="html"><![CDATA[<p>I checked the error_log and produce this result<br />PHP Warning:&nbsp; Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0</p>]]></content>
			<author>
				<name><![CDATA[netracer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19800</uri>
			</author>
			<updated>2015-01-27T13:55:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22342#p22342</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Batch Invoice from Search Not Invoiced Deliveries - Failed]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22339#p22339" />
			<content type="html"><![CDATA[<p>Increase script timeout value in php. - max_execution_time.<br />It may also need more memory - memory_limit.<br />Try to choose half and see if it is successful, and progressively increase / decrease it to check when it hits the limit.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-01-27T13:33:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22339#p22339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Batch Invoice from Search Not Invoiced Deliveries - Failed]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22338#p22338" />
			<content type="html"><![CDATA[<p>Is there a limit of Search Not Invoiced Deliveries that can be batch converted to Invoice?</p><p>I have this scenario - 46 Search Not Invoiced Deliveries - selected, Hit Batch, goes to this Screen :Issue Batch Invoice for Delivery Notes</p><p>Click Process Invoice but nothing happens except page refresh.</p><p>*Other Search Not Invoiced Deliveries with about 10 Search Not Invoiced Deliveries works without a problem.</p><p>any clues?</p>]]></content>
			<author>
				<name><![CDATA[netracer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19800</uri>
			</author>
			<updated>2015-01-27T13:22:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22338#p22338</id>
		</entry>
</feed>
