Warning and Fatal error when trying to use maps

Phoca Maps - displaying maps in Joomla! CMS
AndreC
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Jan 2011, 18:13

Warning and Fatal error when trying to use maps

Post 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
AndreC
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Jan 2011, 18:13

Re: Warning and Fatal error when trying to use maps

Post 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...
AndreC
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Jan 2011, 18:13

Re: Warning and Fatal error when trying to use maps

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning and Fatal error when trying to use maps

Post by Jan »

Hi, you need to run the same version of Phoca Maps Plugin likde the Phoca Maps component is ... 1.1.x
If you find Phoca extensions useful, please support the project
Post Reply