I have a fresh install of the 4.6 Beta. We're looking to include comments on certain pages in our site and UComment looks like what we need.
Unfortunately, while I don't find any errors installing the package, the first time I installed it I received an error about not being able to load a file from the usercontrol directory (and indeed, it did not exist). The second time I installed the package, before I could even load the page to recreate the error I found that other macros were failing. Uninstalling the package fixed the other macros.
I'm running IIS 6, ASP 4.0, Win 2k3... and am a bit of an IIS/ASP newbie, so I'm sure the fault is probably in my court.
Sorry, I was at the time unable to even navigate to the page where I had put the UComment Macro, but I'm at my normal computer and here is the answer:
"UserControl /usercontrols/UComment/UCommentForm.ascx does not exist"
And it does not... nothing currently exists in the usercontrols directory.
By "other Macros" I mean every one, to my knowledge. My navigation, feed viewer, and mediapicker macros all fail with an "Error parsing XSLT file" message, though all XSLT files are accessible, and when I uninstall the package, everything goes back to normal.
Can you extract the package zip and see if the .ascx is listed in package.xml. If so then I think you have a permissions issue.
I think your other Macros are possibly failing because UComment has registered an XSLT extension which isn't available. check /config/xslExtensions.config and the headers of your xslt files.
is the UComment DLL in your bin directory.
I'm guessing a bit here as I don't have an Umbraco instance in front of me.
Hmm, yes I guess it is a permissions issue. I renamed all of the items in the zip file according to package.xml and copied them to their respective places, and now UComment seems to be working (along with the other macros).
I have permissions set to "modify" but should there be even more permissions given on certain folders?
Also, running into two issues. First, submitting a comment gets me to the "Your comment is being submitted, please wait" message, but then it seems nothing happens.
Secondly, the Comments tab in the dashboard isn't appearing. It is in Dashboard.config, though. Does it only show up when there are actual comments?
@erin - when the "Your comment is being submitted, please wait" appears i'd suggest using firebug/charles or similar to see the request that ucomment is making to the server and the response.
Here is the dashboard.config. Firebug states the form is failing to POST to /base/UComment/CreateComment/1084.aspx, and I'm looking through the forums to see if I can fix that without wasting more of your time! :)
I wiped and did a fresh install with 4.6.1, and now comments post properly. :)
But, I still don't see a Comments area in the Dashboard, and comments do not go into moderation, they just post automatically. Is there a setting that needs to be tweaked?
Okay sorry, I'm an idiot! I see the comments area now :) however, I must continut to be a pain... I cannot delete any comments. The alert box pops up asking if I am sure I wish to delete, I click "OK" and then nothing happens. "Delete selected" seems to do nothing either.
I'm guessing the post-into-moderation thing might be something I could tweak myself, I'm far more comfortable with PHP but I think I might be able to figure something out.
Well, I figured it out... I got the source code and added in the bit from this thread, and then added CausesValidation="false" to each of the LinkButtons in the UCommentModeration.ascx file. Now comments go into moderation first, and I can actually delete items in the backend. :)
UComment and 4.6?
Hi there,
I have a fresh install of the 4.6 Beta. We're looking to include comments on certain pages in our site and UComment looks like what we need.
Unfortunately, while I don't find any errors installing the package, the first time I installed it I received an error about not being able to load a file from the usercontrol directory (and indeed, it did not exist). The second time I installed the package, before I could even load the page to recreate the error I found that other macros were failing. Uninstalling the package fixed the other macros.
I'm running IIS 6, ASP 4.0, Win 2k3... and am a bit of an IIS/ASP newbie, so I'm sure the fault is probably in my court.
Thanks in advance :)
Which usercontrol was missing?
What other Macros were failing and how? If you want useful feedback I suggest posting specific error messages and stack traces.
Sorry, I was at the time unable to even navigate to the page where I had put the UComment Macro, but I'm at my normal computer and here is the answer:
"UserControl /usercontrols/UComment/UCommentForm.ascx does not exist"
And it does not... nothing currently exists in the usercontrols directory.
By "other Macros" I mean every one, to my knowledge. My navigation, feed viewer, and mediapicker macros all fail with an "Error parsing XSLT file" message, though all XSLT files are accessible, and when I uninstall the package, everything goes back to normal.
Can you extract the package zip and see if the .ascx is listed in package.xml. If so then I think you have a permissions issue.
I think your other Macros are possibly failing because UComment has registered an XSLT extension which isn't available. check /config/xslExtensions.config and the headers of your xslt files.
is the UComment DLL in your bin directory.
I'm guessing a bit here as I don't have an Umbraco instance in front of me.
Hmm, yes I guess it is a permissions issue. I renamed all of the items in the zip file according to package.xml and copied them to their respective places, and now UComment seems to be working (along with the other macros).
I have permissions set to "modify" but should there be even more permissions given on certain folders?
Which user has modify? It depends on your IIS version, app pool setup etc.
"Internet Services" has modify privileges.
Also, running into two issues. First, submitting a comment gets me to the "Your comment is being submitted, please wait" message, but then it seems nothing happens.
Secondly, the Comments tab in the dashboard isn't appearing. It is in Dashboard.config, though. Does it only show up when there are actual comments?
Thanks for your help so far :)
@erin - when the "Your comment is being submitted, please wait" appears i'd suggest using firebug/charles or similar to see the request that ucomment is making to the server and the response.
Perhaps post your dashboard.config here?
Here is the dashboard.config. Firebug states the form is failing to POST to /base/UComment/CreateComment/1084.aspx, and I'm looking through the forums to see if I can fix that without wasting more of your time! :)
What is the response to the post?
It's a 404 error.
I wiped and did a fresh install with 4.6.1, and now comments post properly. :)
But, I still don't see a Comments area in the Dashboard, and comments do not go into moderation, they just post automatically. Is there a setting that needs to be tweaked?
Okay sorry, I'm an idiot! I see the comments area now :) however, I must continut to be a pain... I cannot delete any comments. The alert box pops up asking if I am sure I wish to delete, I click "OK" and then nothing happens. "Delete selected" seems to do nothing either.
I'm guessing the post-into-moderation thing might be something I could tweak myself, I'm far more comfortable with PHP but I think I might be able to figure something out.
Well, I figured it out... I got the source code and added in the bit from this thread, and then added CausesValidation="false" to each of the LinkButtons in the UCommentModeration.ascx file. Now comments go into moderation first, and I can actually delete items in the backend. :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.