Something wrong with the menu ...

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.
10/29/2013 8:17:59 PM
Gravatar
Total Posts 220

Something wrong with the menu ...

Hi Joe,

please tell me, what went wrong during the upload with the menu of http://www.cafe-rizz.de ...

Best

Matthias

10/29/2013 9:23:32 PM
Gravatar
Total Posts 220

Re: Something wrong with the menu ...

In the source code the whole

<div class="AspNet-Menu-Horizontal" id="ctl00_SiteMenu1_ctl00">

is missing and instead there is

<table id="ctl00_SiteMenu1_ctl00" class="ctl00_SiteMenu1_ctl00_2" cellpadding="0"

10/30/2013 5:22:56 AM
Gravatar
Total Posts 220

Re: Something wrong with the menu ...

I just realized that I can not access any admin page, no sitemap and who knows what else ...
Therefore I think that I need to upload the site again.

Is it better to delete all files on the server before the upload?

btw.: During an upload (from 3.5 to 4.5) I had App_offline.htm in the root, but after a short time one
could see only "500 internal server error". Because nothing changed after the update, I uploaded the
old version. Despite App_offline.htm in the root "runtime error" was now permanently displayed.

Best
Matthias

10/30/2013 7:11:22 AM
Gravatar
Total Posts 18439

Re: Something wrong with the menu ...

Hi Matthias,

To change from .NET 3.5 to 4.5 requires that your host has installed .NET 4.5 and then in your web control panel you would have to change the configuration from .NET 3 to 4. If the wrong version of the framework is selected in control panel the site will fail to load. See related items 9 and 10 in our FAQ. For a major error like that even app_offline will not work.

For any error the first step is to find out the error details as discussed in Basic Troubleshooting.

There is no reason to delete file before uploading.

If your host has .NET 4/4.5 installed and you want to use the .NET 4 package of mojoPortal then it is best to work through the error until it is resolved, don't re-upload the old version, just find out the error details and we will try to help resolve it.

Usually a problem like the menu as you described would be caused by either an error in the layout.master file or in theme.skin, in which case there should be a corresponding error in the log.

Best,

Joe

10/30/2013 12:20:08 PM
Gravatar
Total Posts 220

Re: Something wrong with the menu ...

Hi Joe,

thanks for response.
I have not described it correctly.
First I uploaded the 4.5 version of mojo.
Since our web control panel is a old version from parallels plesk, I have no access to the application pool settings, therefore I had to tell the employee of the provider to switch to 4.5 after the upload (there are 2 other updated mojos 4.5 on this server running fine).
The "500 internal server error", that was to be seen during the upload, remained. No setup was possible.
Because I was at a loss, it was 23:00, the employee wants to go home and the site was now more than two hours offline, I told him to switch back to 3.5. Then I uploaded the 3.5 version again.
Only now the wrong menu and the impossible access to the administrator area came.
On my local machine the same data are running fine.
I don't want to set the site offline again and hope to solve the problem with a subdomain.

Cheers
Matthias

10/30/2013 12:47:57 PM
Gravatar
Total Posts 18439

Re: Something wrong with the menu ...

Hi Matthias,

I think to change from .NET 3.5 to 4 will result in some down time unless you make a copy of the site at a different hostname and then change the dns of the main hostname after the site is working.

500 is the status code of all web requests that result in an error, need to know the detail of the error to resolve it.

When changing like this errors are going to happen because the .NET 4 package files will cause an error if the application pool is 3.5 and the 3.5 package of mojoPortal will also result in an error if the application pool is for 4. There are incompatible difference in Web.config between the different frameworks. It is technically possible to run the mojo 3.5 package under .NET 4 with web.config modifications because older .NET assemblies can run in the newer framework but the mojo package for .NET 4 will never load under .NET 3.5 and the first problem will be web.config. These web.config errors are discussed in the 9th and 10th items in our faq.

Web.config errors means it fails to load the web.config so no settings from web.config are applied since it failed to load and the site will not load. In this case the error may not be in the mojoportal log but the detail will be in the windows application log in event viewer on the server.

To change to .NET 4 you would prepare the files on your local machine, transfer machinekey from old web.config to new one, upload all the files and of course errors will happen until all the files are uploaded and the application pool is changed to 4.

Once that is done if you still get an error we still need the detail of the error one way or another, either form the mojoportal log or from the windows application log in event viewer which your host could access for you. Once the error detail is known the solution will be clear. Probably some file failed to upload or something.

Note also that if you have any add on products you will need to update to .NET 4 version of those too as part of preparing the package on your local machine before uploading is the ideal time to update those files.

Hope that helps,

Joe

10/30/2013 2:08:06 PM
Gravatar
Total Posts 220

Re: Something wrong with the menu ...

It helps a lot. Thank you.

I will talk to my provider about the possibility of a different host name.
I think this option would be the best for my nerves smiley

Best
Matthias

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