Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02/16/2006 11:40 AM by  Peter Donker
upgrade error - A critical error has occurred.
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Peter Milliner
New Member
New Member
Posts:40


--
02/15/2006 12:40 AM

     I have upgraded from dnn 3.1.1 to 3.2.2 so I could upgrade from DMX 3.1.4 to DMX 3.2

    I am Getting the following error.

    A critical error has occurred.
    Column definition string for datagrid is invalid

    Please help

    Peter M.

    Bendigo TAFE
    Victoria Australia

     

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    02/15/2006 12:56 AM
    Hey Peter,
    It's hard to say where the error has occurred exactly. I suppose you did not edit the resx files or use a foreign locale, being in Australia. That leaves the possibility that the data is in some way corrupted. I'm guessing here. I'll think this over. Can you confirm that you use the original locale (i.e. en-US)?
    Peter
    Peter Milliner
    New Member
    New Member
    Posts:40


    --
    02/15/2006 2:11 AM

    Peter

    I did make some changes for another module that I am using to correct some spelling differences.  I added it to the language as en-au.  The default for the portal is en-au.  I probably went the wrong way about it.  Is this is what is causing error

    Any suggestions

    Thanks

    Peter M.

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    02/15/2006 9:07 AM

    Find the localization string called 'ColumnList.Text'. You won't miss it as it is the longest there. Make sure this is the same as the one in the default file. Then verify the module is working again. Then you can adapt the string as follows: only touch the red words:

    FileCheckBox|Select|24|||||||;TemplateIcon||24|||||~/DesktopModules/Bring2mind/DMX/images/View.gif|Details||EntryId||EntryId=[PARAMETERS]&Command=Core_ViewDetails|False||~/|Icon16||||;Description|Description||||True|Description||||||Default|;StatusLocked||24||||||Locked|File;StatusPrivate||24||||||Private|;StatusDeleted||24||||||Deleted|;StatusApproved||24||||||Not Approved|;StatusAttention||24||||||Attention|;ActionDownload||24||||||Download|File;ActionJump||24||||||Jump|Hyperlink;ActionJumpNew||24||||||Jump in new window|Hyperlink;LastModified|Last Modified|100||{0:d}||LastModified|||;Author|Author|150||||Author|||File;DateSubmitted|Created|70||{0:d}||DateSubmitted|||;FileSize|Size|70||||FileSize|||File

    Peter

     

    Peter Milliner
    New Member
    New Member
    Posts:40


    --
    02/16/2006 2:29 AM

    Peter,

    Thanks for that, It is now working.  All I need to do now is update on live server.  I have a follow up question.

    The Columnlist.text in 3.1.4 version i was running was changed to customise the view for collections, categories and search.  We had added some custom attributes to view and removed some of the other headings.  I changed them all back to default setting and it worked.

    Question is can I change them back to include some custom attributes we have added and if so will this need to be done everytime I upgrade.

    Is this done the same way as written in the DMX admin manual?

    Regards

    Peter M

     

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    02/16/2006 11:40 AM
    Peter,

    Yes it is. I'm afraid the taylorability of the columns of the datagrid didn't turn out to be as easy to configure as I hoped. I will be looking for alternatives to make this easier. Right now the string needs to be correct for the columns to load. I also have some worries about how this impedes performance. I'm not sure what the performance penalty is for this flexibility, but I will continue to look at this. The advantage of the current system is that it does 2 things at once: column flexibility and localization. I might look at using xml instead of the pipe-symbol/semi-colon separators, but the DNN localization editor does not expect this, so I need to look at consequences first.

    My suggestion for you is (this is how I do it): Do it one column at a time on a development machine. Keep the resx file open in a text editor and carefully add your columns making sure you add the semi-colon column separator each time (probably it is easiest to add them to the end of the list first). Then, once you have the new columns, delete the old ones and rearrange if necessary. Again one at a time.

    Good luck,

    Peter
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    02/16/2006 11:40 AM
    If a column throws an error try adding a few pipe symbols at the end ... Just a tip
    You are not authorized to post a reply.