Hi Yves,
I've found some bugs and solutions to them.
I'm not really a php programmer, so I don't know if my solutions are truly ok, but they work for me.
1. SQL error when publishing or unpublishing an event in the administrator eventlist.
When clicking on the publish icon or when selecting an event and clicking the publish of unpublish button this error appears:
"1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 SQL=UPDATE vpcb_matukio_recurring SET published = '0' WHERE event_id IN ()"
As you can see the eventId is not filled.
My solution:
File: /administrator/components/com_matukio/controllers/eventlist.php
Find: public function publish() and after that // Update recurring events (line 106)
Add after this line the following code:
$db = JFactory::getDbo();
$cids = implode(',', $ids);
2. When editing a booking, my participants keep getting an error saying they did not accept the terms and conditions.
This is while the box for accepting is filled. I think it's because this box is disabled in some cases.
My solution:
File: /components/com_matukio/views/event/tmpl/default.php
Find: “// AGB-Bestaetigung anzeigen”
Disable the four lines of code on and after line 874:
// if ($this->art == 0 OR $this->art == 2 OR $this->art == 1 OR $this->art == 4 OR $tempdis != "")
// {
// $htx1 .= " disabled";
// }
I have no idea if I've killed some other function by doing this, but after extensive testing everything seems fine.
Maybe you can use this. Maybe not. Do with it whatever you like
It's also possible that I have overlooked the obvious and that there are other solutions to these bugs. Please tell me if so.