MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

error logging into group with an avatar (Closed) (Mono Support )

Viewed 59261 time(s), 3 post(s) 11/25/2013 2:06:02 PMby LeonKammer

Related topics

LeonKammer

LeonKammer

11/25/2013 2:06:02 PM
Hi,

Hope you can help with this one.
I have set up a new site (using an Amazon S3 bucket in Sydney), if there is no avatar on the group, there is no issue, however if there is an avatar assigned to the group, the following error is generated:
***Note the lack of the second solidus in the URL***

This event has been logged and will be addressed by the maintenance department. We appreciate your patience.
'http:/bucketname.s3.amazonaws.com/Uploads/user/testuser/group/avatar101_576_t.jpg' is not a valid virtual path.
at System.Web.Util.UrlPath.CheckValidVirtualPath(String path) at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) at System.Web.VirtualPath.Combine(VirtualPath relativePath) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath) at System.Web.HttpServerUtility.MapPath(String path) at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.GroupInfo.BindData() at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.GroupInfo.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Quickly ran a statement against the DB, and the url for the image is fine, all of the avatars work fine on AWS apart from the group avatars... When I remove the url from the db, it loads fine...

MonoX Version is 4.8.40.4594 and db version is 4.7.3842

Cheers and TYIA

Leon
This content has not been rated yet. 
28 Reputation 2 Total posts
idrazic

idrazic

11/25/2013 4:08:15 PM
Hi, 

It's a bug with handling remote files. We will release a version with this bug fixed some time this week (Wednesday probably).

Thanks for your report,

Igor

Rated 5.00, 1 vote(s). 
1384 Reputation 152 Total posts
LeonKammer

LeonKammer

11/25/2013 4:16:40 PM
Hi,

Many Thanks for the quick response.

Cheers

Leon
This content has not been rated yet. 
28 Reputation 2 Total posts