Upgrade 2399 > 2400

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/4/2013 6:23:20 AM
Gravatar
Total Posts 77

Upgrade 2399 > 2400 - web.config?

As part of my upgrade from 2.3.9.9 to 2.4.0.0  I am carefully comparing the web.config supplied with the 2.4.0.0 download with my existing web.config from 2.3.9.9.

Most of the updates such as the connection string are straightforward. However, I don't know what to do with the code between lines 551 and 554.

The 2.4.0.0 web.config has the following code between lines 551 and 554:

 <add key="TinyMCE:UseV4" value="true"/>
    <add key="TinyMCE:BasePath" value="~/ClientScript/tinymce4010/" />
    <add key="TinyMCE:ConfigFile" value="mojoTinyMCE4.config" />
   

My 2.3.9.9 existing web.config has the following code in the same area:
 
    <add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce358/" />
    <add key="TinyMCE:Schema" value="html5" />
    <!--- valid options for the TinyMCE skin are: default, o2k7default, o2k7silver, o2k7black -->
    <add key="TinyMCE:Skin" value="default" />
    <add key="TinyMCE:ConfigFile" value="mojoTinyMCE.config" />


It is obvious that I should replace:
the old line:             <add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce358/" />
with the new line:    <add key="TinyMCE:BasePath" value="~/ClientScript/tinymce4010/" />

However, I'm not sure about what to do with the other lines.

Please can someone explain which of the "old" 2.3.9.9 lines I should move to the 2.4.0.0  web.config.

Thanks

Ken 

12/4/2013 10:05:27 AM
Gravatar
Total Posts 18439

Re: Upgrade 2399 > 2400

TinyMCE 4.x was a significant re-write vs TinyMCE 3.x and required significant changes in our integration.

The legacy settings were removed because they only apply if using the older version. However we made it possible by configuration to go back to the old implementation in case any major problems came up with the new one. ie one could change TinyMCE:UseV4 to false and then restore the old values and settings. But we hope no-one needs to do that and we try to remove un-needed settings from web.config when we can.

I always recommend use the new Web.config to make sure you have the newest settings and because it helps to eliminate legacy settings that just add confusion. So it is better to restore customizations to the new file rather than port changes back to the old file.

Generally the only things you need to maintain in Web.config are machinekey and settings related to enabling larger file uploads. database connection string and smtp settings should be in user.config which is never touched during upgrades.

Hope that helps,

Joe

12/4/2013 10:40:26 AM
Gravatar
Total Posts 77

Re: Upgrade 2399 > 2400

Hi Joe,

Many thanks for the explanation.

Ken

You must sign in to post in the forums. This thread is closed to new posts.