Armin Burger wrote: > On Tue, Jul 14, 2009 at 2:44 PM, Micha Silver<mi...@arava.co.il> wrote: > >> I can't find any way to straighten out two problems with querying: >> >> >> 1- In the query window that opens when clicking on a feature, there are >> the three radio button options: Excel, CSV, and PDF. But choosing any >> option does nothing. In the php error log I see: >> >> >> [14-Jul-2009 15:07:03] PHP Fatal error: Call to undefined function >> json_decode() in /var/www/maps/html/plugins/export/exportquery.php on >> line 53 >> >> >> This is a CentOS 5.3 server with php 5.1.6. I tried to add something >> called jsonwrapper, but that clashed with the already defined json services. >> >> What am I missing? >> > > > PHP 5.1 does not have this function. If you do not want to upgrade to > PHP 5.2 you can modify the call in line 53 to > > PMCommon::parseJSON($json); > Great! that did it. > I can also add this modification to SVN, I was just not thinking that > lots of folks still use that old PHP versions (even Debian 4 had > already PHP 5.2...) > > Not on Centos 5.3 ( == RHEL 5.3). http://wiki.centos.org/FAQ/CentOS5#head-8b85501ca7f023bc0eeb0fef98143e10 I can find 3rd party compiled rpm's for php 5.3, but then I loose the ease automatic updates, etc.
> >> 2- I have a layer (postgis) with text attributes in UTF-8. But when >> displaying the query results, the encoding is wrong, and I get funny >> characters. How can I force the query window to use UTF-8. >> >> I have already set: >> >> AddDefaultCharset UTF-8 >> >> in the httpd.conf file >> > > > you need to specify the encoding of the layer as described in: > > http://svn.pmapper.net/trac/wiki/DocManual#MultilingualUserInterface > > at the bottom of the section. > > D-m, I was sure I had that right. Now it works perfectly. Thanks as always for your quick responses. -- Micha ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users