Drastic numers of file increase

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/1/2010 7:35:09 AM
Gravatar
Total Posts 18
Children is a product of their parents!

Drastic numers of file increase

MS SQL 2008

MS Server 2008 R2

mojoPortal 2.3.4.3

 

I have mojoPortal 2.3.4.3 updated from 2.3.4.1.

Every time I update my site, the site increases in numbers of files [in total]

My mojoPortal 2.3.3.6 = 11661 files
My mojoPortal 2.3.3.9 = 12396 files
My mojoPortal 2.3.4.1 = 14276 files
My mojoPortal 2.3.4.3 = 14500 files

...and all I do is copy the installation files directely into my same file structure every time.

Even the update from version 2.3.4.1 to 2.3.4.3 I didn't do anything new to the site....

The site is working correctely every time, but the increase is worrying me (I have plenty disk space :-).

What causes the increase?

5/1/2010 11:38:51 AM
Gravatar
Total Posts 18439

Re: Drastic numers of file increase

Hi,

Most of it comes from the fact that we frequently upgrade versions of the javascript wysiwyg editors CKeditor, TinyMCE, and FCKeditor and these have lots of files. We never delete files, so the older versions stay on disk unless you delete them. But this also means if you encounter problems with a new version of the editor, you can easily go back to the previous version. For example currently we have these config settings in Web.config:

<add key="FCKeditor:BasePath" value="~/ClientScript/fckeditor266/"/>
<add key="CKEditor:BasePath" value="~/ClientScript/ckeditor321/"/>
<add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce327/"/>
 

so we are pointing to version specific folders and as a new version is included it will land in a new folder and not overwrite or delete previous versions, so this setting could be set in user.config to an older version if you needed to. As an example we had upgraded to the 3.3.x version of TinyMCE a few versions ago but later reverted back to version 3.2.7 due to bug reports that came in about the paste as text and paste from word features in TinyMCE.

You could delete some of the older versions, but one thing to be aware of is that until recent versions of mojoPortal the emoticons aka smilies used in the editors came from sub folders beneath the editors, so if you have used those and then delete the editors you may have missing emoticons/smilies in your content. You could delete most of the files but find the folders with the icons and leave them there. In a recent release, we moved the emoticons to a common folder outside of the editors so that we can avoid that problem going forward.

There were also several new skins added in recent versions for use as starting points for Artisteer templates, so this also added some files but the editors account for most of it.

Hope it helps,

Joe

5/6/2010 7:08:58 AM
Gravatar
Total Posts 18
Children is a product of their parents!

Re: Drastic numers of file increase

It answer my question completely!

I was worried of some wrong doing from my part. Glad it was a simle answer to it :-)

 

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