center-for-learning-management / moodle-block_gps

Moodle Block Plugin to determine the current user-position
GNU General Public License v3.0
2 stars 0 forks source link

Class 'block_base' not found in Moodle 3.7 #2

Closed ralf-krause closed 3 years ago

ralf-krause commented 5 years ago

Hi Robert, the installation works fine now, yes. The geolocation is shown in Google Chrome and in Mozilla Firefox but not in macOS Safari.

Also I get a fatal error when I click on the list link or on the map link. Fatal error: Class 'block_base' not found in /var/www/vhosts/elisl.org/httpdocs/html/test2/blocks/gps/block_gps.php on line 26 Is this a problem with Moodle 3.7?

Best regards, Ralf

moodle37-gps

ralf-krause commented 5 years ago

I get the same fatal error when I try to add the gps restriction to an activity.

rschrenk commented 5 years ago

Hi, that is possible. I will have to check this. Kind regards

rschrenk commented 5 years ago

PS: Perhaps Safari blocks geolocation queries because of user-settings?

rschrenk commented 5 years ago

Hello,

I had the time now to upgrade one of my development instances to 3.7. I could reproduce your errors and fixed the error concerning block_base.

Please let me know if it works now!

Kind regards

ralf-krause commented 5 years ago

Thanks, I will try it.

Am 10.07.2019 um 23:53 schrieb rschrenk notifications@github.com:

Hello,

I had the time now to upgrade one of my development instances to 3.7. I could reproduce your errors and fixed the error concerning block_base.

Please let me know if it works now!

Kind regards

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.