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 (Zatvorena) (Mono Support )

63662 put(a) pogledan, 3 odgovor(a) 25.11.2013. 14:06:02Kreirao(la) LeonKammer
LeonKammer

LeonKammer

25.11.2013. 14:06:02
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
Ovaj sadržaj još nije ocijenjen. 
28 Reputacija 2 Ukupno objava
idrazic

idrazic

25.11.2013. 16:08:15
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

Ocjena 5,00, 1 glas(ova). 
1384 Reputacija 152 Ukupno objava
LeonKammer

LeonKammer

25.11.2013. 16:16:40
Hi,

Many Thanks for the quick response.

Cheers

Leon
Ovaj sadržaj još nije ocijenjen. 
28 Reputacija 2 Ukupno objava