For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
I have had a search about but can't find a solution to this problem. I want to intergrate google map into cms MS but i keep getting an error at the top..
string(127) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token '{' (Smarty_Compiler.class.php, line 1407)" string(127) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token '=' (Smarty_Compiler.class.php, line 1407)" string(150) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token '.getElementById("map"));' (Smarty_Compiler.class.php, line 1407)" string(140) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token '.setCenter(new' (Smarty_Compiler.class.php, line 1407)" string(127) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1407)" string(138) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unclosed tag {if} (opened line 1). (Smarty_Compiler.class.php, line 317)" .
itsc.net wrote:
I have had a search about but can't find a solution to this problem. I want to intergrate google map into cms MS but i keep getting an error at the top..
string(127) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token '{' (Smarty_Compiler.class.php, line 1407)" string(127) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token '=' (Smarty_Compiler.class.php, line 1407)" string(150) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token '.getElementById("map"));' (Smarty_Compiler.class.php, line 1407)" string(140) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token '.setCenter(new' (Smarty_Compiler.class.php, line 1407)" string(127) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1407)" string(138) "Smarty error: [in globalcontent:google-map line 1]: syntax error: unclosed tag {if} (opened line 1). (Smarty_Compiler.class.php, line 317)" .
Then either
- unpack locally and ftp the resulting module directory into the /modules directory on your server. Make sure that your ftp prog does not alter the filenames (some set all to lowercase) and that all files get transferred in their proper mode (binary/ASCII).
or
- ftp the file to the /modules directory on your server
- telnet/SSH into your server and unpack it with gunzip/tar or unzip
Then go to cmsms admin > Extensions> Modules, locate the module in the list and click on "Install"
BTW. I *never* install modules via XML. If you do it that way, modules will be installed with web user ownership. That means you do not have FTP access since you have no rights (you are ftp user, nor web user ...) and therefore you cannot manually tamper with the modules (actually you can, but it is very awkward). If you never fiddle around with the code thats ok but I find myself frequently tweaking the modules, so XML installation is no option for me.