Welcome to the Community Exchange

Welcome to the Community Exchange, a place where community members can exchange questions and answers related to DotNetNuke. If you would like more info about the Community Exchange, please visit this page in our Wiki. 

Setting up SSL causes malfunction in profile pics

Hello:

When I have a page as secure and SSL activated, the profile pics shows error in the buttons (messages, notifications, profile, profile pic, exit) used in <div id="Login">.

If I lok at image properties (right bouton in mouse, properties, over image) I see this:
https://www.domain.com/profilepic.ashx?userId=1&h=32&w=32

I'm using  www.domain.com:8445 as SSL address so it should be:
https://www.domain.com:8445/profilepic.ashx?userId=1&h=32&w=32

Does any body knows where can I change it? It seems to be a bug, but I can do something...

Similar problem appears in the Member Directory configured to show the profile pic. Picture it's not showing but address seems correct:
https://www.domain.com:8445/LinkClick.aspx?fileticket=oN6LKOgkSVI%3d

Any idea?

I will report as bugs, but if somebody knows a temporal solution...

Thank's a lot

asked 7/5/2012
Baifo Designs615
Baifo Designs

4 Answers

Ok, this is a workaround to use till the release of the 6.2.2 version.

Using a SSL port different of 443 causes malfunction in avatar pictures in several places.

  1. ViewProfile module: after installation of the module in a page change the scr part of the default profile template adding the full address of the site:
    Instead src="[PROFILE:PHOTO]" use src="https://www.domain.com:8446/profilepic.ashx?userId=[User:USERID]&h=80&w=80" where 8446 is the port (I use this one)
  2. Message Center module: go to the view.ascx file in \DestopModules\CoreMessaging and search for this line:
    profilePicHandler: '<% = DotNetNuke.Common.Globals.UserProfilePicFormattedUrl() %>' and change it for this one: profilePicHandler: 'https://www.domain.com:8446/profilepic.ashx?userId='+<%= ModuleContext.PortalSettings.UserId %>+'&h=32&w=32' (thank's Cathal)
  3. Buttons up on the right corner: i don't know yet

Hope this helps

answered 8/1/2012 Baifo Designs 615
Baifo Designs
edited 8/2/2012
Baifo Designs615
Baifo Designs
  • OH MY GOD!!!!! THE 6.2.2 IS HERE!!!!!!!! :P - Baifo Designs 8/1/2012

Finally I reported theese two cases as bugs:
http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=21911&PROJID=2
http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=21912&PROJID=2

After finding this:
http://www.dotnetnuke.com/Resources/Forums/forumid/108/threadid/368067/scope/posts/threadpage/2.aspx

answered 7/6/2012 Baifo Designs 615
Baifo Designs

Journal pics fail tooo.

This is the address you can see in the image properties. Another time without the SSL port I used in site settings:
https://www.doamin.com/ProfilePic.ashx?UserId=1&w=32&h=32

Any idea?

answered 7/6/2012 Baifo Designs 615
Baifo Designs

If I use the address with the correct port it shows me the image:
https://www.domain.com:8445/profilepic.ashx?userId=1&h=32&w=32
So, problem is that the part that calls profilepic.aspx is not sending the correct address I set as SSL in Site Settings page.

If I use in the navigator the second address:
https://www.domain.com:8445/LinkClick.aspx?fileticket=oN6LKOgkSVI%3d
It redirects me to the right address of the image profile, but without SSL:
http://www.domain.com/Portals/_default/Users/001/01/1/Logo%20Carril%20Circular.png
So problem could be that LinkClick.aspx is not using the SSL address when it generates the URL. It generates just the relative path that is what I can se when I look at the code page in the navigator:
<img alt="Profile Avatar" width="120" height="120" src="/LinkClick.aspx?fileticket=oN6LKOgkSVI%3d" />

Any idea about where can I change the profilepic.ashx and LoginClick.aspx code to solve the problem?

Thank's a lot

answered 7/5/2012 Baifo Designs 615
Baifo Designs
edited 7/5/2012
Baifo Designs615
Baifo Designs

Your Answer

In order to provide an answer to this question, you must Login

I am flagging this question because...




10 inform moderator flags remaining

I am deleting this question because...




I am flagging this answer because...




10 inform moderator flags remaining

Flagging a Post

You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.

I am deleting this answer because...




DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.