Several things not working in 2.3.5.8

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.
12/18/2010 11:32:59 AM
Gravatar
Total Posts 123
/Mats Lillnor

Several things not working in 2.3.5.8

2.3.5.8b for .NET 4.0
MSSQL Express 2008R2
IIS 7.5 (2008 R2)
 

Hi!

I have a newly installed site with the latest mojoversion (not upgraded).

There are several things that are not working:

  1. Admin icons do not show up in any skin even if the style.config is updated as it should.
     
  2. CK-editor does not work at all. If you try to edit some html-content, there are no editor at all, only Update button and "cancel" text. Other editors work fine.
     
  3. The site name configured as "Company Name" in SiteSettings is not reflected in the title bar. It only says "Pagename - mojoPortal". Also when requesting a new password, the mail contains text that says it is requested from the site mojoportal and not my site name.

 

On other sites which are updated from previous versions it works ok. Maybe some files are missing in the distribution?

 

BR

/Mats

12/18/2010 11:38:27 AM
Gravatar
Total Posts 18439

Re: Several things not working in 2.3.5.8

I do not think there are any missing files in the package, it is more likely that some files failed to upload or permissions are not correct on the files.

Hope it helps,

Joe

12/19/2010 2:50:18 AM
Gravatar
Total Posts 123
/Mats Lillnor

Re: Several things not working in 2.3.5.8

Hi Joe!

Sorry for false alarm.

#1 was a CSS caching issue
 

#2 Was an editor config error. I had this line in user.config:

<add key="CKEditor:ConfigPath" value="/ClientScript/ckeditor-mojoconfig-swedish.js" />

to default to swedish SCAY spellchecker.


#3 Was a silly mistake by me. Had forgotten to fill out the SiteTitle at the top of setttings page :-)

 

This version works great, as your releases always do!
Extra plus for the  login-module that can be placed on any page of choice.

 

/Mats

12/22/2010 10:32:19 AM
Gravatar
Total Posts 156

Re: Several things not working in 2.3.5.8

The SuperFish menu no longer works when hovering over.  I tested this on several machines.  The console in Firebug reads:

 
$("ul.sf-menu").supersubs is not a function
[Break On This Error] $("ul.sf-menu").supers...dth: 27, extraWidth: 1 }).superfish(
 

I haven't changed anything in the master page.  I double-checked to make sure all scripts were downloaded fine using Firebug's Net tab and everything looks good there as well. The following code worked w/o issues in 2.3.5.5:

$("ul.sf-menu").supersubs({ minWidth: 10, maxWidth: 27, extraWidth: 1 }).superfish(
{ pathClass: 'current', pathLevels: 0, speed: 'fast', autoArrows: false, dropShadows: true });

We need to go live pretty soon and the menu broke all of a sudden. Trying to figure out what might have happened.
 

12/22/2010 11:58:29 AM
Gravatar
Total Posts 18439

Re: Several things not working in 2.3.5.8

The skins that ship with mojoPortal that use superfish seem to work fine. I cannot validate your bug report. Please compare your skin to one of the included ones like jqueryui-1 or mitchinson-earthy

if you've changed to .NET 4 that may be a factor, see this thread. but the script error you mention seems more like it is missing a script or including the wrong script.

Hope it helps,

Joe

12/26/2010 10:27:21 AM
Gravatar
Total Posts 156

Re: Several things not working in 2.3.5.8

We've been using .NET 4 for a while and haven't had any of these issues.  All the scripts appear to load properly.  However, I recently noticed that when clicking on question marks for help, it complains that GB_showCenter function isn't defined either.  The admin toolbar's show/hide isn't working.  All of these things require JQuery.

Then I went into the Net tab of Firebug and noticed that jquery.min.js  was being loaded twice.  Upon searching the generated source code on the site, I discovered that the following two script lines where added to the very end of the file after the closing </html> tag:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript" ></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js" type="text/javascript" ></script>

Not sure why this is happening, but it is taking place not just on the production site, but in my testing environment as well.  The layout.master files DO NOT have those script lines, so it's added by mojoPortal when OUR skin is used because jqueryui-1 skin does not produce this.  The question is why?

 

12/26/2010 11:04:33 AM
Gravatar
Total Posts 18439

Re: Several things not working in 2.3.5.8

Make sure <portal:ScriptLoader control is in the <head in layout.master, if you put it at the bottom it could cause this problem.

Hope it helps,

Joe

12/26/2010 11:08:59 AM
Gravatar
Total Posts 156

Re: Several things not working in 2.3.5.8

It's definitely in the <head></head>

12/26/2010 11:15:59 AM
Gravatar
Total Posts 18439

Re: Several things not working in 2.3.5.8

If you zip up your skin and email it to me at joe dot audette [at] g mail dot com I'll take a look.

Best,

Joe

12/26/2010 12:09:31 PM
Gravatar
Total Posts 18439

Re: Several things not working in 2.3.5.8

Hi Alex,

Thanks for sending your skin so I could see what was going on.

The problem is that <portal:Scriptloader must have the id="ScriptLoader1", in your skin you have changed the id, so it cannot find the ScriptLoader by its expected id therefore it adds another instance of scriptloader control and this causes it to render those duplicate scripts at the bottom.

You can solve it by setting the id="ScriptLoader1" like this:

<portal:ScriptLoader ID="ScriptLoader1" runat="server" />

Hope it helps,

Joe

12/26/2010 12:37:51 PM
Gravatar
Total Posts 156

Re: Several things not working in 2.3.5.8

Thanks Joe,

I just tested it and that does indeed fix the issue.  Really appreciate this.

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