|
|
| error in the page user profile (N/A) |
|
|
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.
|
|
|
|
 |  |
|
| |
 |  |
|
|
| Re: error in the page user profile (United States) |
|
|
I'm getting that same error. |
|
|
|
 |  |
|
| |
 |  |
|
|
| 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
|
|
|
|
 |  |
|
|
| 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. |
|
|
|
 |  |
|
|
| 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 |
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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
|
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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
|
|
|
|
 |  |
|
|
| Re: error in the page user profile (United States) |
|
|
|
|
 |  |
|
| |
 |  |
|
|
| Re: error in the page user profile (United States) |
|
|
No, it is the same thing.
| Rodney Joyce wrote
Did that fix the problem?
|
|
|
|
|
 |  |
|
|
| Re: error in the page user profile (United States) |
|
|
I'll mess around and see what I get |
|
|
|
 |  |
|
|
| Re: error in the page user profile (N/A) |
|
|
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. |
|
|
|
 |  |
|
|
| Re: error in the page user profile (N/A) |
|
|
| 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
 |
|
|
|
 |  |
|
|
| 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
 |
|
|
|
 |  |
|
|
| Re: error in the page user profile (United States) |
|
|
Rodney,
I might have done it wrong, but I am still not getting anything.
Sam |
|
|
|
 |  |
|
|
| Re: error in the page user profile (United States) |
|
|
| |