vfremaux / moodle-local_shop

core plugin for a moodle integrated shop system. this is the community version
4 stars 3 forks source link

Install Fails with SQL errors #8

Open merovingian-code opened 6 months ago

merovingian-code commented 6 months ago

Not sure if this git is maintained anymore, but I attempted an install of this plugin and it bombed out during install with SQL errors. Now my moodle instance is in an install loop where I can no longer install or uninstall anything from my instance.

merovingian-code commented 6 months ago

image

merovingian-code commented 6 months ago

That happens during uninstall

vfremaux commented 6 months ago

Tell me the branch you are working on. We will check that point out

vfremaux commented 6 months ago

Get quickely out of it, (while we update it) : in db/uninstall.php just add a 's' to 'rol_assignment' in both SQL queries. That was a mystaping...

merovingian-code commented 6 months ago

Tell me the branch you are working on. We will check that point out

I downloaded the zip file from https://github.com/vfremaux/moodle-local_shop/releases/tag/4.0.0019

merovingian-code commented 6 months ago

Get quickely out of it, (while we update it) : in db/uninstall.php just add a 's' to 'rol_assignment' in both SQL queries. That was a mystaping...

I am now getting image

merovingian-code commented 6 months ago

I also seem to be in some install loop. Because when I go to plugins it asks me to upgrade the DB and modifies the following same tables each time. image

merovingian-code commented 6 months ago

@vfremaux Any updates? I really would like to get my moodle instance repaired.