Elxis CMS Forum

Extensions => Components => Topic started by: jesusto on May 17, 2016, 21:25:23

Title: Maps 1.4 Component: Blank page
Post by: jesusto on May 17, 2016, 21:25:23
Hi,

I need help with Component Maps 1.4.

Using latest version of Elxis I get a blank page for any menu item I link to it (main page and article using its plugin).

Any ideas?

Thanks a lot
Title: Re: Maps 1.4 Component: Blank page
Post by: datahell on May 18, 2016, 20:41:31
See Elxis error log for the related error message to find out what causes the problem.
Administration > Site > Logs > Error (error.log)
Title: Re: Maps 1.4 Component: Blank page
Post by: jesusto on May 22, 2016, 16:53:07
Thank you.

I get this error: ERROR in file /var/www/vhosts/mysite.com/httpdocs/components/com_maps/controllers/frontpage/frontpage.php line 34
syntax error, unexpected '&'

Any ideas to fix it?

Title: Re: Maps 1.4 Component: Blank page
Post by: datahell on May 22, 2016, 17:58:54
The translation feature is wrong.

Open this file: components/com_maps/controllers/frontpage/frontpage.php
And comment lines 31 - 36:
//if ( $this->translate ) {
//   $map = mapsTable::getInstance('Map');
//   foreach ($rows as $row) {
//      $map->_translate(&$row, 'map', array('name', 'description'), $this->lng);
//   }
//}
Title: Re: Maps 1.4 Component: Blank page
Post by: jesusto on May 22, 2016, 18:43:27
It works now.

Thanks a lot!