Import from BibleStudy fails

More
24 Mar 2024 11:48 - 24 Mar 2024 11:53 #8303 by Anton
I'm trying to step over from Bilblestudy / CMW Proclaim. So my hope is to import the sermons from the database. When I try to klick the button I get the failure:
Es ist ein Fehler aufgetreten. 1146 Table '<xxx>_piministry' doesn't exist
But I know the BibleStudy comonent quite well and I don't remember a table of that name. In the source code the function comment says: Imports data from Preach It 4.1
Last edit: 24 Mar 2024 11:53 by Anton.

Please Log in or Create an account to join the conversation.

More
24 Mar 2024 11:58 #8305 by Thomas Hunziker
The piministry table would come from the "PreachIt" component.
Looks like I have messed up the links for the tools buttons to have a wrong link.
I'll see that I can fix it asap.

Please Log in or Create an account to join the conversation.

More
24 Mar 2024 11:59 #8306 by Thomas Hunziker
Can you try if this version works for you?
 

File Attachment:

File Name: com_sermon...3-24.zip
File Size:4,208 KB

Please Log in or Create an account to join the conversation.

More
25 Mar 2024 14:13 #8308 by Anton
Replied by Anton on topic Import from BibleStudy fails
Thanks for the addon! It fits fine except one error appearing on newer versions of BibleStudy: In the table, the `user_id`=NULL whereas in older versions the `user_id`='0'. The NULL leads to a failure in \administrator\components\com_sermonspeaker\controllers\tools.php line 998 (in fact, line 995 is the critical one).
Exept this flaw, It fits perfect!

Please Log in or Create an account to join the conversation.

More
25 Mar 2024 20:43 #8309 by Thomas Hunziker
I've added a line which should make sure the user_id isn't NULL. Hopefully that fixes it.

File Attachment:

File Name: com_sermon...3-25.zip
File Size:4,208 KB

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum