Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Where to report bug in the menu system?Where to report bug in the menu system?
Previous
 
Next
New Post
9/21/2009 6:12 AM
 

Since this is a chat area, I plan to post some messages in this thread, though concerning this bug, might be slightly off-topic. But the first message is very on-topic. I am experiencing a bug since upgrading to 5.x.x and I don't realy know where it belongs.

If you want to check, the website is at http://www.cup.edu.kh

 In 4.9.? the menu contained two items: English and Khmer. To read the Khmer text, there are some issues. For instance, one must have support for East-Asian languages enabled. Then there separate issues for XP and for Vista. But these issues are known by Cambodians and one can expect from anyone who visits our site to have taken steps to resolve the issues. There are clear instructions (not in unicode but in a bitmap file) on how to enable Khmer on their computer.

I will talk later about these issues, I mention them now because you may have problems to display Khmer text at all on an XP but should see some Khmer on Vista, though much too (unreadably) small. If you are using Windows 7, the font will be readable.

Now, about the bug

The (horizontal) menu contained two items: English and ខ្មែរ - Because of the bug, I had to rename the page to Kh-ខ្មែរ but as I write, I am changing it back to ខ្មែរ. By doing this, I am taking a first step to disabling the menu system

The menu has submenus: សាកលវិទ្យាល័យ (I am removing the 1-. prefix I gave it to work around the bug), ព្រឹត្តិការណ៍ (I just removed the 2- prefix), ទំនាក់ទំនង (idem)

I am going to leave the other prefixes untouched, so that you can see working menu items.

I now click on the menu-item ខ្មែរ and dnn takes me to the page that explains how to install khmer unicode on your computer (for xp- not in the menu but attainable from a link on the front page), not to the correct page.

I click on សាកលវិទ្យាល័យ and dnn takes me to ព្រឹត្តិការណ៍

When I click on 4-ព័ត៌មានសិក្សា it does take me to 4-ព័ត៌មានសិក្សា and watch the breadcrump. The 4 is displayed (correctly) as ៤ But in the menu system the prefixes are in western numerals.

Wait a moment, this is all only part of the bug. It starts out when one tries to add a page. So now I try to add the page កាត សក់ - description កាត សក់ parent page ខ្មែរ (doesn't realy matter) - Update ... and I get the error message

Error The Page Name you chose is already being used for another page at the same level of the page heirarchy.

I get this error as soon as I try to add a second name uniquely in Khmer literals.

No problem, I don't need the page កាត សក់ (actually កាត សក់ means 'cut hair' )

But I did not have this problem before my update to DNN 5.01.02 (well, the update was not an update, but I plan to say why in another message in this thread if the moderator allows me) In 4.09.someting, Khmer menu items gave no problems at all.

Now, is that a bug? If you think it is, read on.

This weekend is Pchum Ben, a Buddhist celebration of the dead and a holiday on Monday because the national holiday fell on a Sunday. So I hope nobody will notice if I leave the site in an dysfunctional state, but tomorrow, I will have to put those prefixes back. FYI, I refer to time zone GMT+7 - and I may repeat the experience on request during Cambodian night time.

 For more information, I may be reached on live messenger at m_vanhemelryck (at) hotmail (dot) com


____________________________________
The one-eyed in the land of the blind.
 
New Post
9/22/2009 6:28 AM
 

It started some three weeks ago. One morning, the website of our university ran an error, basically saying that user marc could not log in to the sql server. It was some 2 years ago since I installed the portal and I did not remember all the details, but I figured I must have used my own name for the sql account and something was wrong at the side of my web host.

Before calling for assistance, I decided to do some checking myself. A check of web.config taught me that indeed the sql account was marc and I even found the password which I had not used since the initial installation. My webhost uses Helm as control program and in Helm, there is a database object where these parameters are set. To my surprise, There was no sql database assigned in Helm. For clarity, the name of the original database was dnnuke and I had sole access of the database. The dnn program was set-up in my wwwroot, so I was both host of the dnn installation and administrator over the CUP portal.

After some emailing and instant messaging, I got 2 things: (1) a new empty database called dnnuke-2009 attached to my Helm account, for which I could define up to three accounts but not marc since that account already exists and (2) access for marc to the dnnuke database restored.

With (2) my website functioned again and though I would have liked to change the account name to something more professional, I could live with the fact that this account name was now fixed forever. And anyway, I might have to move the database tables and views to dnnuke-2009 sooner or later. It would have to be sooner, rather than later, as dnn started warning me that there was a critical update I should install.

During two year that I ran dnn, the website had not been my highest priority. I am not Khmer. I speak some Khmer, I can read and write it, but not to the point where I could write the content for a Khmer website. Six months ago, the university sent a staff member from administration to follow a course at a Khmer organisation that promotes open source software. I would then teach him how to build, maintain and manage the portal. This staff member hardly speaks any English, but that is both a blessing and a curse. My plan is to build the website out into an educational instrument, providing open university classes and distant learning opportunities.

The task is hard in an environment where understanding of modern technologies is limited to some very basic tools that might have been at the top of the industry around the turn of the century, but that are clearly outdated, one decenium later. But this again is stuff for a next message (if I have readers for this). The training of my assistant is slow. It would maybe improve if I could localize dnn for Khmer, but as I understand now, this is not for tomorrow.

Anyway, there I was, with two databases and a critical update waiting. I know just enough of sql to write (quite fancy if needed) select statements and to do very basic user management. I used SQL Server Management Studio Express. Before starting the update, I made sure to make a backup.  The management studio made the backup to "E:\Microsoft SQL Server\MSSQL.1\MSSQL\Backup", which I then figured could be on my computer, since I had made a copy of my own SQL server (express) when I installed a triple boot sector system (XP, Vista and Win7 RC). It was not, as I later discovered.

After the backup, I copied the upgrade to my webroot. It was not the current version, but the one that came just before it. The upgrade failed and I had to restore dnn to its previous version.

Now comes the surprise. It seems I can make backups but I have no authority to restore them. The site was again in a big mess. My host said that I should make my backups with SQL Management Studio full version using the export function and restore using the dastabase publishing wizard. The publishing wizard is no problem, it is free downloadable, but the full version of the SQL Management Studio is part of Microsoft SQL Server (not Express) and harder to come by.

Anyway, the data in the dnnuke database was corrupted and the backup remained unattainable. I tried everything, in vain. When I restored the dnn files in my wwwroot, I could go through my website, but the menu system (I guess it is called Solpart?) did no longer function. However, I was able to open every page, the administrator->pages page was stored in my favorites and from there I could navigate to every other page. As you may have seen, the site is not yet that voluminous, so it took me one weekend to copy all HTML code to a text file, intall a clean version of dnn (now at 5.01.02) and reconstruct all pages and all modules, using the dnnuke-2009 database.

And this is why my upgrade was not an upgrade.

I remember in 2000, I was working for a EU programme in Cambodia and the project manager thought he made a backup of his files by copying files and pasting links to his backup media (a zip drive). Had I made the same mistake? Was I so stupid to think I made a backup where in fact I hadn't, only on a different level? Making mistakes can be advantageous if one learns from his mistakes, but here it is not clear who made the mistake or what the mistake was.

The backup strategy now works, the restore failed again, but now because the publishing wizard says that the tables cannot created because they already exist. So it seems the restore would work if I started out with a clean database. I do not feel confident enough to delete all my tables and views to test the restore procedure. I will test it out on de (now defunct) 'dnnuke' database, tonight or tomorrow.

Please feel free to comment on how stupid I have been.

And of course, if anyone has taken notice of the "bug" in my first message, let me know. It would feel good to hear that at dnn they take notice of these reports and that sooner or later (sooner please...) something will be done to restore the 4.09.?? functionality. Also, does anyone who uses dnn with east-asian languages has the same problem (or is it only Khmer that shows this behaviour?)

Regards, Marc


____________________________________
The one-eyed in the land of the blind.
 
New Post
9/22/2009 9:33 AM
 

I'm not sure this is a bug, and I'm not sure it's the menu system either.  Looks more like a localization issue with using Khmer langauge characters.  Though I'm not sure how to help with that.

Jeff

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Where to report bug in the menu system?Where to report bug in the menu system?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out