I have tested the current release on WinXP / XAMPP v1.6.5 and it works like a charm. However, if you still face problems, do patch your install with the SVN 1441 Patch Files at http://simpleinvoices.org/wiki/_media/si_15jan2008_files.zip?id=single_domain_version&cache=cache
/>
Refer
http://simpleinvoices.org/wiki/single_domain_version
http://simpleinvoices.org/wiki/phpreport_mods
for further info.
And don't forget to post your experience - we'd love to hear it.
I've upgraded from simpleinvoices-20070525.zip to simpleinvoices_20071231.zip and am getting the error above. Note that the reports all worked fine before my upgrade.
No matter which report I choose it fails with:
setUser($db_user); $oRpt->setPassword($db_password); $oRpt->setConnection($db_host); $oRpt->setDatabaseInterface("mysql"); // set as $db_server in trunk $oRpt->setDatabase($db_name); ?>
I'm using:
System info:
LAMP Xen VM
Apache: 2.0.59
MySQL: 5.0.45
PHP: 5.2.5
Simple Invoices 12-31-07
Should I take your recommendation and patch to the SVN?
Thanks.
Michael.
setUser($db_user); $oRpt->setPassword($db_password); $oRpt->setConnection($db_host); $oRpt->setDatabaseInterface("mysql"); // set as $db_server in trunk $oRpt->setDatabase($db_name); ?>
Patch to the latest SVN and see that the LOGGING variable exists in the system defaults table and is commented out in the config.inc.php
Use all the default data in the sql tables. Hope you have set the variables correctly in the config/config.inc.php
The upgrade should be a total wipe out and full upload. Also see that the cache folder is writeable by the webserver process. In windows it should generally be a non-issue.
require_once("PHPReportMaker.php");withrequire_once("./library/phpreports/PHPReportMaker.php");
just loaded up wamp on a windows box and tested it out
got the same errors until i added the proper php tags as ryth found out
now works as normal
no more asp style php tags in Simple Invoices
Cheers
Justin
1 to 20 of 20