On 13/07/2010 15:15, Alberto Poggi wrote: > Ok, now works very well again. > > Thanks Armin. > > Regarding export errors of excel files "PHP Deprecated: Assigning the > return value of new by reference is deprecated " > I think it is necessary to correct the lines indicated in the log file > by replacing the syntax like this link I found on the web:" > http://thinkinglemur.com/index.php/2009/07/assigning-the- > return-value-of-new-by-reference-is-deprecated / " >
the Excel writer is a PEAR package and not part of p.mapper. So you would need to request this modifications from the PEAR package maintainers. armin > > Alberto > > 2010/7/13 Armin Burger <armin.bur...@gmail.com > <mailto:armin.bur...@gmail.com>> > > you at least have a clear error reported: > > [13-Jul-2010 12:07:25] ===== P.MAPPER: DB ERROR ===== > Standard Message: MDB2 Error: not found > DBMS/Debug Message: unable to find package 'MDB2_Driver_pgsql' file > 'MDB2\Driver\pgsql.php'" > > which means that you need to install also the pgsql driver for MDB2, > see http://svn.pmapper.net/trac/wiki/UpgradeOlderVersions > > The other errors are mainly warning about deprecated methods used in > some packages, change the php.ini settings according to > the description in > http://svn.pmapper.net/trac/wiki/DocQuickinstall#PHPSettings > > armin > > > > On Tue, Jul 13, 2010 at 1:48 PM, Alberto Poggi <albpo...@gmail.com > <mailto:albpo...@gmail.com>> wrote: > > I checked the error.log file. > I have installed the PEAR package, MDB2. OLE 0.5 and 0.9.2 > Spreadsheet_Excel_Writer in ms4w/Apache/php folder and > everything seems > correct. > I gave the command "pear list" in a DOS window and packages are > properly > installed in the PEAR folder. > > When I try to export an excel file from my excel data button > does not appear > in the toolbar and the log file in folder plugins reads: > > "[13-Jul-2010 11:31:29] PHP Deprecated: Assigning the return > value of new > by reference is deprecated in > C:\ms4w\Apache\php\pear\Spreadsheet\Excel\Writer\Workbook.php on > line 180 > [13-Jul-2010 11:31:29] PHP Deprecated: Assigning the return > value of new by > reference is deprecated in > C:\ms4w\Apache\php\pear\Spreadsheet\Excel\Writer\Workbook.php on > line 189". > > In folder incphp/xajax the error.log reads: > > "[13-Jul-2010 12:07:25] PHP Deprecated: Assigning the return > value of new > by reference is deprecated in C:\ms4w\Apache\php\pear\MDB2.php > on line 390 > [13-Jul-2010 12:07:25] PHP Deprecated: Assigning the return > value of new by > reference is deprecated in C:\ms4w\Apache\php\pear\MDB2.php on > line 1885 > [13-Jul-2010 12:07:25] PHP Deprecated: Assigning the return > value of new by > reference is deprecated in C:\ms4w\Apache\php\pear\MDB2.php on > line 2572 > [13-Jul-2010 12:07:25] PHP Deprecated: Assigning the return > value of new by > reference is deprecated in C:\ms4w\Apache\php\pear\MDB2.php on > line 2595 > [13-Jul-2010 12:07:25] PHP Deprecated: Assigning the return > value of new by > reference is deprecated in C:\ms4w\Apache\php\pear\MDB2.php on > line 2940 > [13-Jul-2010 12:07:25] ===== P.MAPPER: DB ERROR ===== > Standard Message: MDB2 Error: not found > DBMS/Debug Message: unable to find package 'MDB2_Driver_pgsql' file > 'MDB2\Driver\pgsql.php'" > > This is the error in pm_debug.log under the folder incphp/xajax: > > [13-Jul-2010 12:02:23] P.MAPPER debug info > search.php->getOptionsFromDb() > SELECT DISTINCT tzona, tzona FROM prg.prg_camp WHERE tzona is > NOT NULL > ORDER BY tzona > [13-Jul-2010 12:07:25] P.MAPPER debug info > XML->//definition > SimpleXMLElement Object > ( > [...@attributes] => Array > ( > [type] => options > [connectiontype] => db > [sort] => asc > [firstoption] => * > ) > > [dsn] => pgsql://username:passw...@localhost/carbonara > [sql] => SELECT DISTINCT tzona, tzona FROM prg.prg_camp > WHERE tzona is > NOT NULL ORDER BY tzona > [dblayer] => SimpleXMLElement Object > ( > [...@attributes] => Array > ( > [encoding] => UTF-8 > [keyfield] => tzona > [showfield] => tzona > ) > > ) > > ) > > That'all. > > Thanks > > Alberto > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first <http://sprint.com/first> -- > http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > <mailto:pmapper-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > > > -- > Dr. Alberto Poggi > > Viale Italia 17 > 15061 - Arquata Scrivia (AL) > Cell.: 348/0137091 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users