Page 1 of 1

Undefined Variable Error

Posted: 15 Jan 2010, 04:12
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

Re: Undefined Variable Error

Posted: 18 Jan 2010, 23:32
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 = '';

Re: Undefined Variable Error

Posted: 19 Jan 2010, 07:36
by novare
Hello Jan

Thank you. That worked perfectly.

Thanks for a great component

Regards

Simon

Re: Undefined Variable Error

Posted: 20 Jan 2010, 00:12
by Jan
Ok