Undefined Variable Error

Phoca Maps - displaying maps in Joomla! CMS
novare
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Jan 2010, 04:04

Undefined Variable Error

Post by novare »

I have recently installed the PhocaMaps component on a Joomla website I am developing. Everything is working perfectly, except an undefined variable error message is displayed at the bottom of the Google Map.

The error message reads:

Undefined variable: output in C:\wamp\www\root_folder\components\com_phocamaps\views\map\tmpl\default.php on line 381

Any ideas on how to prevent the display of this error message, would be greatly appreciated.

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Undefined Variable Error

Post by Jan »

Hi, this will be fixed in the next version, you can hide it with changing the code:

C:\wamp\www\root_folder\components\com_phocamaps\views\map\tmpl\default.php

on line 2 add:
$output = '';
If you find Phoca extensions useful, please support the project
novare
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Jan 2010, 04:04

Re: Undefined Variable Error

Post by novare »

Hello Jan

Thank you. That worked perfectly.

Thanks for a great component

Regards

Simon
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Undefined Variable Error

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply