×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Module nearyou throws exception ...

Module nearyou throws exception ... 8 years 4 weeks ago #35124

  • Andre Hammon VIVITA Verlag
  • Andre Hammon VIVITA Verlag's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
... if no locations are existent

"1582 - Incorrect parameter count in the call to native function 'radians' SQL=SELECT id, ( 6371 * acos( cos( radians() ) * cos( radians( `lat` ) ) * cos( radians( `lng` ) - radians() ) + sin( radians() ) * sin( radians( `lat` ) ) ) ) AS distance FROM *_matukio_locations WHERE published = 1 HAVING distance <= 25"

matukio 6.0.1.3, joomla 3.6.2

(developer of andre)

Module nearyou throws exception ... 8 years 4 weeks ago #35134

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Yes, you are right. The module only works if locations are present..

But i build in a check that throws a better exception ;) (or enquoues an error message).

Yves
  • Page:
  • 1
Time to create page: 0.099 seconds