Page 1 of 1

Plugin doesn't work on leading article

Posted: 30 Sep 2014, 10:10
by iwoshek
Hello,
i have installed phoca maps plugin on my site. Works great for example on Contact page. However when i try to show map on index page, in leading article via {phocamaps view=map|id=1}, there is no html generated. The index page is blank, only with empty <body></body> tags.

Could anybody help me?
Thanks.

Re: Plugin doesn't work on leading article

Posted: 30 Sep 2014, 22:28
by Jan
Hi, try to see errorLog on your server or try to enable php error reporting, maybe there is some php error :idea:
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan

Re: Plugin doesn't work on leading article

Posted: 01 Oct 2014, 20:59
by iwoshek
Hello, thanks for your tip.
There was some trouble with Directory Separator at line 58 in phocamaps.php. We set it to "/" and now it works.

Re: Plugin doesn't work on leading article

Posted: 01 Oct 2014, 23:59
by Jan
Hi, do you use latest version of the plugin?

It has defined the directory separator:
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);

so there should not be any problem with the constant :idea:

Jan