<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — FA 2.4 Dashboard bug.]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6780&amp;type=atom" />
	<updated>2017-06-10T05:26:12Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6780</id>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27972#p27972" />
			<content type="html"><![CDATA[<p>Whilst the file attached to the 12th post here pertains to the commit in both branches (<a href="https://github.com/FrontAccountingERP/FA/commit/93d7b68e2736d199b052c61d36deac23309b92f4">v2.3</a> and <a href="https://github.com/FrontAccountingERP/FA/commit/93d7b68e2736d199b052c61d36deac23309b92f4">v2.4</a>), it has been enhanced in the current master (v2.4.1+) in this <a href="https://github.com/FrontAccountingERP/FA/commit/845b3991baafeaf004abac0016430f398f71b232">commit</a>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-06-10T05:26:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27972#p27972</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27871#p27871" />
			<content type="html"><![CDATA[<p>Thanks a lot... <br />Confirmed.. its now working perfectly.</p><p>Regards.</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-05-21T16:51:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27871#p27871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27870#p27870" />
			<content type="html"><![CDATA[<p>Yes, there was a bug. And it is fixed and committed to 2.4 unstable. You can download it here and replace in /includes/dashboard.inc.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-05-21T16:22:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27870#p27870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27869#p27869" />
			<content type="html"><![CDATA[<p>I will have a look. Maybe we can test for that the menu is set.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-05-21T14:37:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27869#p27869</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27866#p27866" />
			<content type="html"><![CDATA[<p>OK..<br />i finally got it.<br />its a weird bug that you can produce by editing the config.php file<br />$hide_inaccessible_menu_items = 0; to 1.</p><p>after doing it dashboard w&#039;ll no longer work.<br />and the following error w&#039;ll show up.<br />Invalid argument supplied for foreach() in file: /home/absys/public_html/Website/includes/current_user.inc at line 211</p><p>Kind Regards.</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-05-21T13:21:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27866#p27866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27863#p27863" />
			<content type="html"><![CDATA[<p>It may be your PHP version.<br />Replace the line 211:<br /></p><div class="codebox"><pre><code>        foreach ($waapp-&gt;modules as $module)</code></pre></div><p>with<br /></p><div class="codebox"><pre><code>        $wapp_modules = $waapp-&gt;modules;
        foreach ($waapp_modules as $module)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-05-21T12:39:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27863#p27863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27860#p27860" />
			<content type="html"><![CDATA[<p>Hello,</p><p>I cannot reproduce this error. Can you tell me a little more detailed about it. I wonder if this is Theme based. Which theme are you using?</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-05-21T08:50:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27860#p27860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27858#p27858" />
			<content type="html"><![CDATA[<p>Hello... <br />i started to get this error when viewing dashboard..</p><p>Invalid argument supplied for foreach() in file: /home/tajrebat/public_html/FA24/includes/current_user.inc at line 211</p><p>/home/tajrebat/public_html/FA24/includes/dashboard.inc:18: &nbsp; &nbsp; (current_user Object)-&gt;check_application_access(&#039;GL&#039;)<br />/home/tajrebat/public_html/FA24/admin/dashboard.php:28: &nbsp; &nbsp; dashboard(&#039;GL&#039;)</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-05-20T18:33:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27858#p27858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27804#p27804" />
			<content type="html"><![CDATA[<p>Hey joe,, <br />Thanks alot..<br />all seems to be much better now.. <br />font size and spacing between words is just perfect<br />specially when using DejaVuSans.ttf</p><p>Respect &lt;3</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-05-12T12:59:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27804#p27804</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27803#p27803" />
			<content type="html"><![CDATA[<p>Hello again Alaa,</p><p>In the file<br />/reporting/includes/class.graphics.inc</p><p>I have increased the font size with 2 pixels. And the space between works has been replaced by two spaces .</p><p>Was the font too big or is it ok? And was the space between words better now.</p><p>The php GD library doesn&#039;t support RTL languages, so we had to fix the strings to do so, but we could not change the graphics itself.</p><p>I guess this is the best we can do for now. Maybe there are some skilled developers that can help us in the future. This can always be worked on between releases. It doesn&#039;t require any database update.</p><p>Please replace the file /reporting/includes/class.graphics.inc with this one.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-05-12T12:31:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27803#p27803</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27802#p27802" />
			<content type="html"><![CDATA[<p>Please check the image.<br />https://ibb.co/g0djgQ</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-05-12T08:51:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27802#p27802</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27801#p27801" />
			<content type="html"><![CDATA[<p>Hello joe,<br />I am more than glad to help with this matter,,</p><p>Zarmormal and DejaVuSans are the best for both usability and readability.<br />so if you looking for the best support and smaller size Zarnormal is great but the font-size needs to be increased by 1-2px. and the words are too close to each other.. i don&#039;t mean the letter-spacing, just the space between 2 words.</p><p>i&#039;d like to add that DejaVuSerif.ttf doesnt seem to support arabic at all.</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-05-12T08:43:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27801#p27801</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27800#p27800" />
			<content type="html"><![CDATA[<p>Hello Alaa,</p><p>I see you are using the Arabic language and this is good test for me.</p><p>A couple of years ago I helped another guy with Arabic language to get a suitable font to be used in the Graphics.<br />We found some, but I had to fix the leadings and other things with the fonts. I did that and we got some usable fonts.</p><p>In the config.php file, there is a variable called <br />&nbsp; &nbsp; $UTF8_fontfile&nbsp; &nbsp; = &quot;FreeSans.ttf&quot;;<br />This fontfile doesn&#039;t work with the Arabic language. I have listed some utf8 fonts that can be used with the Arabic language.</p><p>Will you help and test them and give me a high five (1 - 5) character of the usability of the fonts?</p><p>Remember to spell the font names exactly. The smaller the file is the better, but it should be usable of course.</p><p>I will then incorporate one of the fonts in the default package, and change the variable in the config.default.php.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-05-12T06:40:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27800#p27800</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[FA 2.4 Dashboard bug.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27799#p27799" />
			<content type="html"><![CDATA[<p>Hello, </p><p>i have upgraded my FA installation to the latest 2.4 build.<br />all seems to be working and i like it.. but i got one problem.. <br />when i use the Dashboard &quot;The built in not the extension&quot; i have no text over where there is pie or charts .. <br />i am running it locally using php 5.6.</p><p>please check image for better understanding.<br />https://ibb.co/jcA8qk</p><p>Regards.</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-05-11T23:25:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27799#p27799</id>
		</entry>
</feed>
