Page 1 of 1

Warning and Fatal error when trying to use maps

Posted: 05 Feb 2011, 19:58
by AndreC
Hi

I have a problem when trying to use Phoca Maps. I am not sure if the problem lies with the installation, but here's a description.

When I install com_phocamaps_v1.1.1.zip I cannot see any plugin that I can enable in the Plugin manager (which I presume is correct as that is the component and NOT the plugin). However, when I then install plg_phocamaps_v1.0.5.zip the plugin appears, and I enable it, but when I add the {phocamaps view=map|id=1} to an article, the website crashes when I load it and returns the following error:

Warning: require_once(C:\xampp\htdocs\FractionsOfASecond\administrator\components\com_phocamaps\helpers\phocamapsrenderfront.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\FractionsOfASecond\plugins\content\phocamaps.php on line 48

Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\FractionsOfASecond\administrator\components\com_phocamaps\helpers\phocamapsrenderfront.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\FractionsOfASecond\plugins\content\phocamaps.php on line 48

From what I can see the file phocamapsrenderfront.php does not exist in the specified directory, but the directory structure does exist. The is a file called phocamapsrender.php in that directory but I have no idea if this has anything to do with the required file?

I am using:
Phoca gallery 2.7.6
Joomla 1.5.20
Phoca Maps 1.1.1
Phoca Maps Plugin 1.0.5

Do you have any suggestions? I am not a experienced user, so chances are the answer is something very simple...

Thanks in advance

Re: Warning and Fatal error when trying to use maps

Posted: 05 Feb 2011, 21:44
by AndreC
The good news is that it somehow solved itself... the bad news is that if it happens again I have no idea how to correct it. But for time being it works, so I don't need a reply for now...

Re: Warning and Fatal error when trying to use maps

Posted: 06 Feb 2011, 20:49
by AndreC
I was able to recreate the issue, and it appears as if the maps do not work when used in an article. When I reference them directly from a manu item they seem to work fine. Any ideas on how to solve the issue?

Re: Warning and Fatal error when trying to use maps

Posted: 26 Jul 2011, 22:33
by Jan
Hi, you need to run the same version of Phoca Maps Plugin likde the Phoca Maps component is ... 1.1.x