Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Erin 11 posts 31 karma points
    Jan 08, 2011 @ 04:35
    Erin
    0

    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 :)

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jan 08, 2011 @ 09:45
    Darren Ferguson
    0

    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.

  • Erin 11 posts 31 karma points
    Jan 08, 2011 @ 10:07
    Erin
    0

    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.

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jan 08, 2011 @ 10:57
    Darren Ferguson
    0

    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.

  • Erin 11 posts 31 karma points
    Jan 08, 2011 @ 17:46
    Erin
    0

    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?

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jan 09, 2011 @ 09:24
    Darren Ferguson
    0

    Which user has modify? It depends on your IIS version, app pool setup etc.

  • Erin 11 posts 31 karma points
    Jan 11, 2011 @ 00:23
    Erin
    0

    "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 :)

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jan 11, 2011 @ 13:36
    Darren Ferguson
    0

    @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?

     

  • Erin 11 posts 31 karma points
    Jan 12, 2011 @ 02:57
    Erin
    0

    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!  :)

     

    <?xml version="1.0" encoding="utf-8"?>
    <dashBoard>
      <section alias="StartupSettingsDashboardSection">
        <areas>
          <area>settings</area>
        </areas>
        <tab caption="Get Started">
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/settingsdashboardintro.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/settingsdashboardvideos.ascx
          </control>
        </tab>
      </section>
      <section alias="StartupDeveloperDashboardSection">
        <areas>
          <area>developer</area>
        </areas>
        <tab caption="Get Started">
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/developerdashboardintro.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/developerdashboardvideos.ascx
          </control>
        </tab>
      </section>
      <section alias="StartupMediaDashboardSection">
        <areas>
          <area>media</area>
        </areas>
        <tab caption="Get Started">
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/mediadashboardintro.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/zipupload.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/mediadashboardvideos.ascx
          </control>
        </tab>
      </section>
      <section alias="StartupDashboardSection">
        <access>
          <deny>translator</deny>
        </access>
        <areas>
          <area>content</area>
        </areas>
        <tab caption="Get Started">
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardintro.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardkits.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardvideos.ascx
          </control>
        </tab>
        <tab caption="Last Edits">
          <control>/umbraco/dashboard/latestEdits.ascx</control>
        </tab>
        <tab caption="Change Password">
          <control addPanel="true">/umbraco/dashboard/changepassword.ascx</control>
        </tab>
      </section>
      <section alias="StartupMemberDashboardSection">
        <areas>
          <area>member</area>
        </areas>
        <tab caption="Get Started">
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/membersdashboardintro.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/members/membersearch.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/membersdashboardvideos.ascx
          </control>
        </tab>
      </section>
      <section alias="Comments">
        <areas>
          <area>content</area>
        </areas>
        <tab caption="Comments">
          <control showOnce="true" addPanel="true" panelCaption="">
        /usercontrols/UComment/UCommentModeration.ascx</control>
        </tab>
      </section>
    </dashBoard>
  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jan 12, 2011 @ 09:08
    Darren Ferguson
    0

    What is the response to the post?

  • Erin 11 posts 31 karma points
    Jan 12, 2011 @ 09:27
    Erin
    0

    It's a 404 error.

  • Erin 11 posts 31 karma points
    Jan 14, 2011 @ 19:15
    Erin
    0

    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?

  • Erin 11 posts 31 karma points
    Jan 17, 2011 @ 06:35
    Erin
    0

    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.

  • Erin 11 posts 31 karma points
    Jan 19, 2011 @ 10:25
    Erin
    0

    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. :)

  • 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.

Please Sign in or register to post replies