Copied to clipboard

Flag this post as spam?

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


  • Bjarne Fyrstenborg 1280 posts 3990 karma points MVP 7x c-trib
    Aug 18, 2014 @ 10:41
    Bjarne Fyrstenborg
    0

    SEO Checker Redirects datatype

    I have setup a new instance of the SEO Checker Redirect datype (SEO Checker 1.6.1 and Umbraco 7.1.4).

    Created a new property on my document type using the datatye. When I click "create redirect", enter values and "save direct" it doesn't seem to do anything.

    The console returns this error:

    1. ReferenceError: scope is not defined at Object.$scope.submitRedirect (http://localhost:32489/App_Plugins/SEOChecker/Redirects/redirectsController.js?cdv=39691579:53:5) at http://localhost:32489/umbraco/lib/angular/1.1.5/angular.min.js:74:98 at http://localhost:32489/umbraco/lib/angular/1.1.5/angular-mobile.js:270:9 at Object.e.$eval (http://localhost:32489/umbraco/lib/angular/1.1.5/angular.min.js:92:272) at Object.e.$apply (http://localhost:32489/umbraco/lib/angular/1.1.5/angular.min.js:92:379) at HTMLAnchorElement.<anonymous> (http://localhost:32489/umbraco/lib/angular/1.1.5/angular-mobile.js:269:13) at HTMLAnchorElement.x.event.dispatch (http://localhost:32489/umbraco/lib/jquery/jquery-2.0.3.min.js:10:11778) at HTMLAnchorElement.y.handle (http://localhost:32489/umbraco/lib/jquery/jquery-2.0.3.min.js:10:7906) angular.min.js:63

     

    and hightlight line 53 in /App_Plugins/SEOChecker/Redirects/redirectsController.js?cdv=39691579 :

    scope.$digest();

    /Bjarne

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Aug 18, 2014 @ 10:48
    Richard Soeteman
    0

    Weird has always worked. Can you work around for now and use the redirect manager in SEO Checker. I will add this to the list of things top check out and fix.

    Thanks,

    Richard

  • Bjarne Fyrstenborg 1280 posts 3990 karma points MVP 7x c-trib
    Aug 18, 2014 @ 11:05
    Bjarne Fyrstenborg
    0

    Tried to create a new rule to redirect from top node to a homepage node (child node).

    Tried with these values (quotes not included): "/", "~/", "/my-website/" (if the top node is called My Website") .. in the manual is displays trailing slash, however when I save the redirect is seem to exclude these .. e.g. "/my-website/" is saved as "my-website" ..

    /Bjarne

  • William Corry 34 posts 171 karma points
    Oct 21, 2014 @ 13:12
    William Corry
    0

    Have the same issue with SEO Checker Redirect datype not saving on:

    Umbraco 7.1.8 and SEO Checker 1.8

    Did you manage to solve?

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 21, 2014 @ 13:18
    Richard Soeteman
    0

    Hi William,

    What is the status in Fiddler? I can just save on that version.

    Best,

    Richard

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Oct 21, 2014 @ 14:01
    Dave Woestenborghs
    0

    Hi Richard,

    I think this is the problem I mailed you about. Haven't time to test if a upgrade solves the problem yet :-)

    Dave

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Oct 21, 2014 @ 14:03
    Dave Woestenborghs
    0

    For those experiencing this problem go to the file : /App_Plugins/SEOChecker/redirects/redirectscontroller.js

    And then change the last line in the function submitRedirect from scope.$digest to $scope.$digest

    Dave

  • William Corry 34 posts 171 karma points
    Oct 24, 2014 @ 11:32
    William Corry
    0

    Ok tried your suggestion Dave did not solve this is what I am getting in the console when I click save:

    error: $apply already in progress
        at Error (native)
        at g (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:14:4780)
        at Object.e.$digest (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:14:6234)
        at Object.$scope.submitRedirect (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vQXBwX1BsdWdpbnMv…JQcm9wZXJ0eUVkaXRvckNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:433:568)
        at http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:13:4671
        at http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…250cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:75:112
        at Object.e.$eval (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:14:7447)
        at Object.e.$apply (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:14:7554)
        at HTMLAnchorElement. (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…b250cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:75:94)
        at HTMLAnchorElement.x.event.dispatch (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:2:42030)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:12 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:11 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$applyDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:75 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:2 x.event.dispatchDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:2 y.handle
    DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:16 POST http://localhost:29947/umbraco/backoffice/SEOChecker/SEOCheckerApi/SaveRedirect 500 (Internal Server Error)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:16 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 oDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 gDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 iDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 iDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$evalDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$digestDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$applyDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:75 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:2 x.event.dispatchDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:2 y.handle

    Fiddler shows this:

    HTTP/1.1 500 Internal Server Error
    Cache-Control: no-cache
    Pragma: no-cache
    Content-Type: application/json;
    charset=utf-8
    Expires: -1
    Vary: Accept-Encoding
    Set-Cookie: UMB_ 09:24:50 GMT; path=/;
    HttpOnly X-SourceFiles: =?UTF-8?B?QzpcVXNlcnNcd2lsbGlhbS5jb3JyeVxEb2N1bWVudHNcTXkgV2ViIFNpdGVzXGZhc3RlcnRoYW5saWdodFx1bWJyYWNvXGJhY2tvZmZpY2VcU0VPQ2hlY2tlclxTRU9DaGVja2VyQXBpXFNhdmVSZWRpcmVjdA==?=
    X-UA-Compatible: IE=Edge
    Access-Control-Allow-Origin: *
    Date: Fri, 24 Oct 2014 09:24:50 GMT
    Content-Length: 1146 {"Message":"An error has occurred.","ExceptionMessage":"Property set method not found.","ExceptionType":"System.ArgumentException","StackTrace":" at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)\r\n at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)\r\n at SEOChecker.Core.Helpers.TypeMapper.Map[T,TU](T source, TU target)\r\n at SEOChecker.DataTypes.Controllers.SEOCheckerApiController.SaveRedirect(RedirectModel model)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.b__c(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.b__4()\r\n at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}
  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 24, 2014 @ 11:41
    Richard Soeteman
    0

    Hi William,

    Thanks for the Fiddler trace. Weird that I didn't receive this message. It's something in the core of SEOChecker that I need to fix . Can you share the screenshot of the redirect you want to create?

  • William Corry 34 posts 171 karma points
    Oct 24, 2014 @ 11:46
    William Corry
    0

    Ok I will email the screenshot but basically want to use it to redirect the currrent page to an external url

  • William Corry 34 posts 171 karma points
    Oct 24, 2014 @ 11:46
    William Corry
    0

    Ok I will email the screenshot but basically want to use it to redirect the currrent page to an external url

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 24, 2014 @ 11:52
    Richard Soeteman
    0

    Hi William,

    That is also giving an issue on my end. But there is another issue with that approach that I will change for the next version. There should not even be a link picker and url textbox. Redirects from the data type should always redirect to the page you are editing.

    In you scenario it's best to use the redirect manager.

    Hope this explains.

  • William Corry 34 posts 171 karma points
    Oct 24, 2014 @ 12:25
    William Corry
    0

    Thats what I am using as a work around at the moment its more of a case for other members of the team (none technical) to be able to easily add a redirect on a particular page. If you are planning this for the new version thats great, I can live with the work around for now :)

Please Sign in or register to post replies

Write your reply to:

Draft