Hello Francisco and Armin, I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0) with the Export to SHP working.
I added the dbase extension via PECL repository, running the command: $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1 After, I added the path on the file /../php5/apache2/php.ini ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; extension=/usr/lib/php5/20090626+lfs/php_mapscript.so extension=/usr/lib/php5/20090626+lfs/dbase.so And on the file /../../config_default.xml <pluginsConfig> <export> <formats>CSV</formats> <formats>PDF</formats> <formats>SHP</formats> </export> Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? Best regards, Pedro Venâncio ----- Original Message ----- From: Armin Burger you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: > Hi, > > As anyone tested the export to shapefile option on Linux with success? > Works fine for me in Windows, but in Linux CentOS the button Download is > never visible, although the zip file with the shapefile is created on the > webserver… > > Regards > Francisco > > Francisco Caldeira > Serviço de GeoInformação > I.N.E. - Instituto Nacional de Estatística > Avenida António José de Almeida > 1078 Lisboa Codex > Portugal > francisco.calde...@ine.pt > (351) - 21 8426100 > Ext. 1438 > > > > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users