Friday, January 09, 2009

Smart-Thinker DNN Forums

Forum Guidelines

Please ensure you follow the bug-raising guidelines (e.g. post the full error from your Event Viewer) if you are raising a support call. To request a feature in a module, please use Feature Requests (unless you want to discuss it here in more detail first). If you have an urgent feature that you would like to see in the product then you should consider a Sponsored Enhancement

First Time User? Make sure you have read the Module Config Guide in the documents folder of each module. Also check out this handy Module Deployment Guide (written by a Smart-Thinker customer!)

Configuration issues and no time to read the Forums/Documentation? See our DotNetNuke Premium Support Service. We need your opinion! Please read our proposed new CrowdSourcing development method and let us know if you would be interested and if it might work.

 
 
  Forums  DotNetNuke  Smart-Thinker U...  error in the page user profile
Previous Previous
 
Next Next
New Post 8/14/2008 8:14 PM
  sandeep
8 posts
5th Level Poster


error in the page user profile   (N/A)
Modified By sandeep  on 8/14/2008 9:15:24 PM)

 

This is the error I got when uploaded the user profile and add the userprofile to the content pane.

 

Error: Smart-Thinker - UserProfile - Profile is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Index was outside the bounds of the array. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at SmartThinker.DNN.Modules.UserProfile.Business.UserProfileUtils.SaveRandomProfilePic(HtmlInputFile photoUpload, Int32 userID) at SmartThinker.DNN.Modules.UserProfile.UserProfile.CreateNewUserProfile(Int32 userID, SmartThinker_UserProfileInfo smartThinker_UserProfileInfo) at SmartThinker.DNN.Modules.UserProfile.UserProfile.LoadUserProfile(Int32 userID, Int32 selectedProfileTypeID) at SmartThinker.DNN.Modules.UserProfile.UserProfile.Page_Init(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

 

Please specify how to solve this problem.

 

 1 Reports
New Post 8/14/2008 10:09 PM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: error in the page user profile   (N/A)

Can you check this folder please and let me know how many files are in it:

\Portals\_default\Smart-Thinker\Images\RandomProfilePics\

 


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/16/2008 9:29 PM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile   (United States)

I'm getting that same error.

 
New Post 8/17/2008 4:17 PM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: error in the page user profile   (N/A)

Please answer the question above (also - were there any errors when you installed the module? Was it an upgrade or a new install?)


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/17/2008 5:36 PM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile   (United States)

Rodney,

 

There we no errors when loading the module.  I'm tring to locate the file so I can get back to you.  I'm really excited to try this out, because I want to get my site up to the level of nesters.com and your site pokerdiy.com.  By the way, what module are you using on your home page, the poker games, paker leagues and poker groups section? Also, who did your blog templetes?

Sam

 

 
New Post 8/17/2008 6:17 PM
  Frozen DNN
119 posts
3rd Level Poster


Re: error in the page user profile   (N/A)

It would be  very nice of you if you could share all your blog templates with us :). Please.


6 months ago I did not know how HTML was spelled.
 
New Post 8/18/2008 6:45 PM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile   (United States)

Rodney,

I have \Portals\_default\Smart-Thinker\Images\

but not

\Portals\_default\Smart-Thinker\Images\RandomProfilePics\

In \Portals\_default\Smart-Thinker\Images\RandomProfilePics\

I have 10 files

 

Sam

 
New Post 8/18/2008 9:33 PM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: error in the page user profile   (N/A)

 samanderson4 wrote

but not

\Portals\_default\Smart-Thinker\Images\RandomProfilePics\

In \Portals\_default\Smart-Thinker\Images\RandomProfilePics\

I have 10 files

Hi Sam,

Sorry, I don't understand - you say you don't have that directory, then you say you have 10 files in it? So do you have "\Portals\_default\Smart-Thinker\Images\RandomProfilePics\"?


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/18/2008 11:58 PM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: error in the page user profile   (N/A)

 samanderson4 wrote

By the way, what module are you using on your home page, the poker games, paker leagues and poker groups section? Also, who did your blog templetes?

I use the HTML module for the straight html lists and images on each page (for the logged out user). I did the blog templates myself (took me 3 days of blood, sweat and tears, and they are still not fiinshed.


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/19/2008 5:03 AM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile   (United States)

I have this file:  "\Portals\_default\Smart-Thinker\Images\" and there are 10 files in there.

I am not able to locate: "\Portals\_default\Smart-Thinker\Images\RandomProfilePics\"

I hope this helps out. 

By the way, the blog looks good.  I'm trying to create somethink very similar to it right now.

Sam

 

 
New Post 8/19/2008 5:34 PM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: error in the page user profile   (N/A)

Ok, could you manually create that directory ("RandomProfilePics") under "\Portals\_default\Smart-Thinker\Images" and copy a single small image into it (this is the pool where the module will pick new images from) and let me know if that fixes it.


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/19/2008 5:41 PM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile   (United States)

Rodney,

 

i'm relatively new to this, so I will try, but promise nothing.  I'll get back to you with the results.


sam

 
New Post 8/19/2008 5:56 PM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile   (United States)

OK, done.

 
New Post 8/19/2008 6:15 PM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: error in the page user profile   (N/A)

Did that fix the problem?


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/19/2008 7:21 PM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile   (United States)

No, it is the same thing.

 

 Rodney Joyce wrote

Did that fix the problem?

 
New Post 8/19/2008 8:24 PM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile  (United States)
Modified By samanderson4  on 8/20/2008 6:28:01 AM)

I'll mess around and see what I get

 
New Post 8/19/2008 9:47 PM
  Frozen DNN
119 posts
3rd Level Poster


Re: error in the page user profile   (N/A)
Modified By Frozen DNN  on 8/19/2008 10:50:16 PM)

No. It should be like this

/Portals/_default/Smart-Thinker/RandomProfilePics/ All your profile pics here....

 

Hey Rod: Do they all have to be in jpg format? I have some nice png files, which I would love to use. Possible?


6 months ago I did not know how HTML was spelled.
 
New Post 8/21/2008 12:25 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: error in the page user profile  (N/A)
Modified By Rodney Joyce  on 8/21/2008 1:28:30 AM)

 samanderson4 wrote

I'll mess around and see what I get

Sam, can you confirm what image file you have in the new directory your created?

This is the line I believe it is failing on:

string[] profileImageFiles = LoadImagesFrom(DotNetNuke.Common.Globals.HostMapPath + @"smart-thinker\images\RandomProfilePics\");


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/21/2008 12:42 AM
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




Re: error in the page user profile   (N/A)

 makkabokka wrote

Hey Rod: Do they all have to be in jpg format? I have some nice png files, which I would love to use. Possible?

Yes, that should be fine - it loads it up and resaves it as a .jpg to the user's profile pic anyway.

Btw - please see this thread for more information on how to use the Random Profile Pic feature.


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 8/22/2008 12:29 PM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile  (United States)

Rodney,

I might have done it wrong, but I am still not getting anything.

 

Sam

 
New Post 8/23/2008 9:21 AM
  samanderson4
12 posts
4th Level Poster


Re: error in the page user profile   (United States)