Unable to split topic - database error

Started by jack001, June 27, 2018, 01:17:32 AM

Previous topic - Next topic

jack001

Hello,

First of all thanks for this lovely beta release of smf 2.1. Love it!
I am facing an error as below:
Field 'add_authors' doesn't have a default value
File: /*..*/Sources/SplitTopics.php
Line: 646


Any idea on how to solve this.

Thanks,
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

br360


jack001

none. i just updated from 2.0.15 to 2.1.4.
Also i see many errors in my error log in admin.
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

Arantor

ask in the thread for the Addtitional Authors mod where it puts things in the database, once we know that I can write you the SQL to fix it.

jack001

the same error encountered while posting
Field 'add_authors' doesn't have a default value
File: /home/*.*/public_html/Sources/Subs-Post.php
Line: 1780
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

jack001

Quote from: Arantor on June 27, 2018, 07:49:09 AM
ask in the thread for the Addtitional Authors mod where it puts things in the database, once we know that I can write you the SQL to fix it.
ok
https://www.edufor.xyz Edutainment forum - Education with Entertainment!


Arantor

The reason is, that mod added a database column, and didn't do it properly. But I'm on an iPad so I can't sit and look at the installer to see where it makes the column that now needs fixing or removing.

The upgrade doesn't clean house in case the mods are going to be updated/reinstalled.

jack001

is there a way to reset everything without loosing posts and members?
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

Arantor

Not really, and you don't need to reset it, just fix that one thing...

jack001

not sure when the author is going to reply. :/
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

Kindred

Please do note that there is a real reason that we tell people not to use the BETA on a production site....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

jack001

Quote from: Kindred on June 27, 2018, 11:52:28 AM
Please do note that there is a real reason that we tell people not to use the BETA on a production site....
yes understood. learned from experience ;)
but the work you people are doing is really great! 2.1 is awesome :)
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

Arantor

@Kindred, this would have happened irrespective of the upgrade if the mod had been uninstalled. It's a problem with the mod.

jack001

Quote from: Arantor on June 27, 2018, 12:10:11 PM
@Kindred, this would have happened irrespective of the upgrade if the mod had been uninstalled. It's a problem with the mod.
wish i knew before upgrading...
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

Arantor

ALTER TABLE smf_topics CHANGE add_authors add_authors NULL;

jack001

Quote from: Arantor on June 27, 2018, 01:37:43 PM
ALTER TABLE smf_topics CHANGE add_authors add_authors NULL;
i am sorry. i don't get it. can you tell me what should i do? i am not good with all this. where should i change this.
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

Illori

in phpmyadmin or similar to manage your database.

jack001

https://www.edufor.xyz Edutainment forum - Education with Entertainment!

Advertisement: