• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Upgrade 1.1.5 - 1.2 RC

MrC

Active member
#1
I upgraded a test site before disabling addons and got this error:

Admin area: "Mysqli prepare error: Unknown column 'template_map.template_final' in 'field list'"
Forum area: "The requested forum could not be found."

Then I added "$config['enableListeners'] = false" to the config file. The error disappeared and I could access the forum.

Then I tried to disable the addons and got this error: "Please enter a valid callback method (ModEss_Install_105::install)." and could not disable some of the addons.

May be I should have disabled all addons first :D.
 

oman

Well-known member
#2
I upgraded a test site before disabling addons and got this error:

Admin area: "Mysqli prepare error: Unknown column 'template_map.template_final' in 'field list'"
Forum area: "The requested forum could not be found."

Then I added "$config['enableListeners'] = false" to the config file. The error disappeared and I could access the forum.

Then I tried to disable the addons and got this error: "Please enter a valid callback method (ModEss_Install_105::install)." and could not disable some of the addons.

May be I should have disabled all addons first :D.
Please enter a valid callback method (ModEss_Install_105::install)
Looks as though that error is something relating to the Moderator Essentials add on. Might be worth checking if there is an update to it. Not sure what is causing the other errors.
 

MrC

Active member
#3
Oh, I copied the error after trying to uninstall Moderator Essentials, but the same error occurred for some other addons.
 

Hoffi

Well-known member
#5
Without a listener it is difficult to deinstall an addon with a deinstall listener. Deactivate the AddOns. Aktivate the listener and then deinstall.
 

MrC

Active member
#7
It seems that threadban was the culprit: "Argument 1 passed to XenForo_Model_AddOn::rebuildAddOnCachesAfterActiveSwitch() must be of the type array, none given, called in mysite\community\library\ThreadBan\DataWriter\AddOn.php on line 19 and defined:...". But yeah, I should have disabled all addons before upgrading. It was a test site, so all good for now. I will try another test with addons disabled tomorrow.
 

giorgino

Well-known member
#9
I don't understand how migrate my TMS modifications on new Xf's TMS version... Can someone give me some directions on this point? I'm completely lost in space...
 

Anthony Parsons

Well-known member
#11
I think he means the built-in TMS that XF now comes with...

My understanding is that the built-in TMS is not really a TMS for users, but more for addon developers to use.

This is going to be fun... developers adding template edits at the master, admins having customised styles with non-standard code, then admins making further changes after the fact via the TMS addon. Interesting experiment... which I hope this works for the better.
 

Brogan

XenForo moderator
Staff member
#12
Well he specifically mentions migrating the TMS modifications from the add-on so it's a question better asked on the add-on thread.
 

MrC

Active member
#13
It seems that threadban was the culprit: "Argument 1 passed to XenForo_Model_AddOn::rebuildAddOnCachesAfterActiveSwitch() must be of the type array, none given, called in mysite\community\library\ThreadBan\DataWriter\AddOn.php on line 19 and defined:...". But yeah, I should have disabled all addons before upgrading. It was a test site, so all good for now. I will try another test with addons disabled tomorrow.
Everything went smoothing with disabling addons first.
 

Tracy Perry

Well-known member
#14
I think he means the built-in TMS that XF now comes with...

My understanding is that the built-in TMS is not really a TMS for users, but more for addon developers to use.

This is going to be fun... developers adding template edits at the master, admins having customised styles with non-standard code, then admins making further changes after the fact via the TMS addon. Interesting experiment... which I hope this works for the better.
So far, all edits that I have needed I have been able to apply via the built in stuff. I don't get REAL fancy with anything - just simple replacement of segments.:D
 

Anthony Parsons

Well-known member
#20
Yeah, but it's just easier for me to keep up with everything in one place.
Agreed... I was already thinking about converting my custom theme into the TM entirely, so there are no custom templates to remove the most issues possible that I can foresee occurring when combined with add ons + custom templates directly.