asikart / remoteimage

Asikart RemoteImage helps you manage Joomla CMS image and media files on local and remote FTP host.
http://ext.asikart.com/extensions/asikart-remoteimage.html
10 stars 11 forks source link

i Cant login after update to joomla 3.6.0 #72

Closed ribo72 closed 7 years ago

ribo72 commented 7 years ago

Hello, after update to joomla 3.6.0 when i try to login in frontend it shows blank page with error: Fatal error: Cannot redeclare RemoteimageBuildRoute() (previously declared in /components/com_remoteimage/router.php:30) in /components/com_remoteimage/router.php on line 30

ribo72 commented 7 years ago

It happens because i have in login menu item, a menu item with remoteimage

ribo72 commented 7 years ago

Is there any news about this bug?

asika32764 commented 7 years ago

Please see https://github.com/lyrasoft/userxtd/issues/47 to do same action, add if (function_exists('RemoteimageBuildRoute')) to RemoteimageBuildRoute() and RemoteimageParseRoute()

I will release new version in a few days

ribo72 commented 7 years ago

Hello, if i add if (function_exists('RemoteimageBuildRoute')) }

and if (function_exists('RemoteimageParseRoute')) } but it s not work. May be i do something wrong

asika32764 commented 7 years ago

Sorry, please add !.

if (!function_exists('RemoteimageBuildRoute'))

// ...

The RemoteimageParseRoute() too

ribo72 commented 7 years ago

Hello, i add

! but it still not work

asika32764 commented 7 years ago

The error message still same as first?

ribo72 commented 7 years ago

It shows blank page with Parse error: syntax error, unexpected end of file in /components/com_remoteimage/router.php on line 78

ribo72 commented 7 years ago

ok, i found it. i add also a } in line 78 and it works. I did n t see that you was added it at the end too.

asika32764 commented 7 years ago

Please try 2.0.9 https://github.com/lyrasoft/remoteimage/releases/tag/2.0.9

ribo72 commented 7 years ago

Thank you for the update. It works fine