
Originally Posted by
carnold
How do you properly escape the characters? I used [] around the special character and reran zmzimletctl configure config.xml net_inova_gmaps and get an error (it looks to be the same error)
I changed to a simpler password and still get the error. What about the other questions:
-what name to give this file or if it matter what name
-where i need to be running this command from, i.e what directory (zimlets or does it matter?)
-the mysql DB is not the mysql DB that zimbra uses, does this matter?
That error implies that the server is refusing the xml file, probably because of a broken syntax. You should convert your special characters to xml entities.
What special characters are you using?
I just tested with this simple file and it worked:
Code:
<zimletConfig name="Net_Inova_GMaps" version="1.0">
<global>
<property name="allowedDomains">*.google.com,*.inova.com.br,*.inova.net</property>
<property name="dbhost">retirante</property>
<property name="dbuser">gmaps</property>
<property name="dbpass">gmaps</property>
<property name="dbname">gmaps</property>
<property name="baseCountry">br</property>
<property name="markerIcon">http://maps.google.com/intl/en_ALL/mapfiles/marker.png</property>
<property name="markerIconW">20</property>
<property name="markerIconH">34</property>
<property name="markerIconAnchorX">13</property>
<property name="markerIconAnchorY">35</property>
</global>
</zimletConfig> As for the other questions:
- The name of the file does not matter at all.
- The command should be run from a mailbox server, with the zimbra user. The directory itself, does not matter, as long as the config file is in the same directory.
- The zimlet does not care where the mysql is, but the machine running the mailbox server must be able to connect to that mysql server with the provided credentials.