<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — 404 error for pdf reports after upgrade]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3607&amp;type=atom" />
	<updated>2014-08-21T21:13:57Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3607</id>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20545#p20545" />
			<content type="html"><![CDATA[<p>You might be missing the font files....</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-08-21T21:13:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20545#p20545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20393#p20393" />
			<content type="html"><![CDATA[<p>Can anyone tell me if they resolved this?</p><p>apmuthu I would be happy to give you my server login details if you think you can figure this out. Same error, all acceptable version numbers. Was working for 3 months since this happened the last time and I cannot get it resolved. Have posted in reporting and bugs forum with 0 replies. Server tech support cannot find any incorrect configuration on my server, but the exact same zip file extracted to a free server on 000webhost works and on my paid server doesn&#039;t. Even after fresh install. There must be something not clearing from a cache is all I can figure but I have done it locally and on server I have deleted the ENTIRE directory, waited overnight, then reinstalled. This is a very weird problem and I don&#039;t have the knowledge to solve it myself. Looking for anyone&#039;s help. Please.</p><p>MySQL version &gt;=4.1&nbsp; &nbsp; Required&nbsp; &nbsp; 5.5.11&nbsp; &nbsp; Ok<br />PHP version &gt;=4.3.3&nbsp; &nbsp; Required&nbsp; &nbsp; 5.2.17&nbsp; &nbsp; Ok<br />Http server type&nbsp; &nbsp; Info&nbsp; &nbsp; Apache mod_fcgid/2.3.7 mod_auth_pgsql/2.0.3&nbsp; &nbsp; Ok</p>]]></content>
			<author>
				<name><![CDATA[hansenb88]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18650</uri>
			</author>
			<updated>2014-07-16T13:06:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20393#p20393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19478#p19478" />
			<content type="html"><![CDATA[<p>PHP 5.4 may have issues as FA v2.3.x is tested for a max PHP version of 5.3.x.<br />Also your db schema may have to be compared with the latest ones for anomalies.</p><p>Try a new install with noting from your backups and see if PDF works. Then migrate your data step by step.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-03-12T15:30:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19478#p19478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19459#p19459" />
			<content type="html"><![CDATA[<p>FA 2.3.19. PHP5.4; Same error occurred after server crash and host restored.</p><p>Cannot get PDF to display. Urgent fix needed.</p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2014-03-10T18:45:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19459#p19459</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15053#p15053" />
			<content type="html"><![CDATA[<p>Have done all this.&nbsp; No change, unfortunately.&nbsp; Note that &#039;software upgrade&#039; seems to do nothing.&nbsp; &#039;Force software upgrade&#039; strips all data out of the sys_prefs table and er.. messes things up.</p><p>Will PM you php.ini and result of php -m.&nbsp; My jailed chroot doesn&#039;t permit uname -a</p><p>With v2.3.13 I&#039;m now seeing this error on logging in, which clears on page refresh.&nbsp; No idea what this is about....<br />&quot;Moved Temporarily<br />The server encountered an internal error or misconfiguration and was unable to complete your request.<br />Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.<br />More information about this error may be available in the server error log.&quot;</p>]]></content>
			<author>
				<name><![CDATA[pgnj]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14430</uri>
			</author>
			<updated>2013-01-14T14:16:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15053#p15053</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15049#p15049" />
			<content type="html"><![CDATA[<p>1. Backup v2.3.11 - SQL, config_db.php, config.php, installed_extensions.php lang/linstalled_languages.inc<br />2. Uninstall all extensions.<br />3. Backup SQL again along with the said files<br />4. rename the frontaccounting folder.<br />5. extract latest mercurial build onto new frontaccounting folder<br />6. install FA to another dummy db.<br />7. compare the saved files (config_db.php, config.php, installed_extensions.php lang/linstalled_languages.inc) with the currently installed ones and make changes to use the old db.<br />8. Login to the 0 company and go to Setup -&gt; Software Upgrade and force an upgrade.</p><p>Post your php.ini file along with the output of:<br />uname -a<br />php -m</p><p>Better still, VNC your desktop which can be chrooted into your cloud server.</p><p>Report Generator extension is broken / unsafe for FA v2.3.13+</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-01-14T13:14:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15049#p15049</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15045#p15045" />
			<content type="html"><![CDATA[<p>Thanks for your continuing help.</p><p>I&#039;ve tried the Mercurial build.&nbsp; Have now restored the pre-upgrade v2.3.11 and db.&nbsp; Currently no php.ini since some settings there clearly interfere with sessions.&nbsp; Would it help if I email you the phpinfo() report?</p><p>This is on a Cloud server, so I have no access to the&nbsp; linux installation - other than my part of it in a chroot environment.&nbsp; However, if you can point me to a setting / problem, I can get it addressed.</p><p>Language: English.&nbsp; Extensions: Annual balance breakdown report, annual expense breakdown report, report generator.&nbsp; They are all dispensible.</p>]]></content>
			<author>
				<name><![CDATA[pgnj]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14430</uri>
			</author>
			<updated>2013-01-14T12:58:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15045#p15045</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15040#p15040" />
			<content type="html"><![CDATA[<p>Hope you have a pre-upgrade db backup and the original config.php file with you.<br />Expect it is a linux install.<br />Did you have any extensions installed?<br />What languages / locales are you using?<br />Have you tried one of the current mercurial builds available - like the one <a href="https://frontaccounting.com/punbb/misc.php?action=pun_attachment&amp;item=51&amp;download=1">here</a>?</p><p>PM me access details of server or VNC while you watch.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-01-14T11:07:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15040#p15040</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15039#p15039" />
			<content type="html"><![CDATA[<p>An upgrade didn&#039;t work, nor did restoring an old backup I thought should have fixed it.&nbsp; This is getting seriously frustrating.&nbsp; I have done a fresh install as follows:</p><p>1. Delete the whole FA directory<br />2. Upload 2.3.13 Mercurial version<br />3. Create a new database<br />4. Run install wizard, installing sample COA but no data</p><p>Running a report (list COA) fails with the same error - pdf file not found.</p><p>/tmp/error.log is showing me this:<br />[14-Jan-2013 10:51:53 UTC] 0:admin:JsHttpRequest.php:470: mb_convert_encoding() [&lt;a href=&#039;function.mb-convert-encoding&#039;&gt;function.mb-convert-encoding&lt;/a&gt;]: Illegal character encoding specified</p><p>Is this related / does it point to the problem?&nbsp; What can be causing a completely fresh installation to fail?</p>]]></content>
			<author>
				<name><![CDATA[pgnj]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14430</uri>
			</author>
			<updated>2013-01-14T11:00:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15039#p15039</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14957#p14957" />
			<content type="html"><![CDATA[<p>You can do a full install of the new version in a separate database and migrate the data - quite messy if the table structures have changed.</p><p>In your current state, take a backup of your database. Then:<br />You can simply login and proceed to <strong>Setup -&gt; software upgrade</strong> and upgrade the database if needed.</p><p>Refer the Wiki for the upgrade path - you will need to manually make changes to the existing config.php to accommodate the new variables (after comparing with the new config.default.php) and make the version number 2.3.13 in it - <a href="https://frontaccounting.com/fawiki/index.php?n=Main.Update">FA Update Wiki Page</a></p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-01-10T21:27:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14957#p14957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14950#p14950" />
			<content type="html"><![CDATA[<p>Thanks apmuthu.&nbsp; Do you mean, call ../install/index.php, as for a fresh installation?&nbsp; This is not what the documentation tells you to do when updating.&nbsp; What will this do to the existing database?</p>]]></content>
			<author>
				<name><![CDATA[pgnj]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14430</uri>
			</author>
			<updated>2013-01-10T07:53:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14950#p14950</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14943#p14943" />
			<content type="html"><![CDATA[<p>config.default.php is only a template file and not used. Copy it over as config.php</p><p>It is best you use the given installer rather than merely populating the config.php as the file paths and extra installed_extensions / installed_languages files get created automatically.</p><p>Also try the latest edition - v2.3.13 Mercurial Build 3131 listed in the <a href="http://FACMaster">announcement forum post</a>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-01-09T19:32:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14943#p14943</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14929#p14929" />
			<content type="html"><![CDATA[<p>I&#039;ve come back to this: no joy.</p><p>- Removed all application files except config.php and replaced with 2.3.13.&nbsp; No improvement; indeed was unable to stay logged in in this version (a separate issue, no doubt)<br />- Removed all application files and replaced with a backup of 2.3.11.&nbsp; Same error on printing.</p><p>I&#039;ve checked file write permissions over and over and tested with new users, different browsers etc.&nbsp; My hosting service has also looked it over.&nbsp; There is no php.ini interfering with things.</p><p>Overall, it looks like the system is trying to read a file in ../company/0/pdf_files that it hasn&#039;t created.&nbsp; There is no record of the file ever having existed.&nbsp; No PHP errors are logged.</p><p>I&#039;ve spent about 2 days poring over various bits of the reporting module, logs, file system etc and can&#039;t make any progress.&nbsp; Without reports, the system is no use to me.&nbsp; Do I need to get a clean copy of 2.3.11 and install that?</p><p>Or is there a setting in a config or include file that might fix this?</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[pgnj]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14430</uri>
			</author>
			<updated>2013-01-08T18:02:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14929#p14929</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14515#p14515" />
			<content type="html"><![CDATA[<p>Folder Write permission for web server user is needed.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2012-12-03T16:01:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14515#p14515</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[404 error for pdf reports after upgrade]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14507#p14507" />
			<content type="html"><![CDATA[<p>I&#039;ve updated from 2.3.11 to 2.3.13 by overwriting the FA directory with the new files, leaving untouched any that were not updated.&nbsp; Have renamed config.default.php to replace the old config.php.</p><p>Printer / PDF reports now give me a 404 error with this narrative:<br />The requested URL /company/0/pdf_files/50b8b67ed4b07.pdf was not found on this server.</p><p>I&#039;ve tried restoring the old release, but this doesn&#039;t fix it.&nbsp; Have checked permissions of /pdf_files: 777.</p><p>What have I lost or broken and how do repair it?&nbsp; Many thanks.</p>]]></content>
			<author>
				<name><![CDATA[pgnj]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14430</uri>
			</author>
			<updated>2012-11-30T13:46:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14507#p14507</id>
		</entry>
</feed>
