Hi I just installed the nuget package with Umbraco 7.5.8 and am getting an undefined object error in angular when trying to reindex so nothing's happening..
TypeError: Cannot read property 'GetRebuildStatus' of undefined
at Object.getRebuildStatus (resource.js:8)
at a.$scope.getRebuildStatus (dashboard-controller.js:13)
at c.<anonymous> (dashboard-controller.js:39)
at d (angular.min.js:28)
at Object.instantiate (angular.min.js:28)
at angular.min.js:53
at angular.min.js:44
at n (angular.min.js:7)
at k (angular.min.js:44)
at e (angular.min.js:40)
(anonymous) @ angular.min.js:63
(anonymous) @ angular.min.js:54
i @ angular.min.js:79
i @ angular.min.js:79
i @ angular.min.js:79
i @ angular.min.js:79
(anonymous) @ angular.min.js:80
$eval @ angular.min.js:92
$digest @ angular.min.js:90
$apply @ angular.min.js:92
j @ angular.min.js:101
r @ angular.min.js:104
w.onreadystatechange @ angular.min.js:106
angular.min.js:63 TypeError: Cannot read property 'GetRebuildStatus' of undefined
at Object.getRebuildStatus (resource.js:8)
at a.$scope.getRebuildStatus (dashboard-controller.js:13)
at Object.fn (dashboard-controller.js:35)
at Object.$digest (angular.min.js:90)
at Object.$apply (angular.min.js:92)
at j (angular.min.js:101)
at r (angular.min.js:104)
at XMLHttpRequest.w.onreadystatechange (angular.min.js:106)
How did you install the package ? Through nuget or the package installer ?
Maybe you can try to update the client depedency version number. Go in the config folder of your website and locate the Clientdependency.config file.
In there increment the version number.
I am experiencing something similar. Installed on a local copy of a 7.12.3 Umbraco, and all is great.
Migrated to the staging server, and get an error: Cannot read property 'GetIncomingLinks' of undefined.
Running the Umbraco.Sys.ServerVariables.Nexu returned undefined.
This was installed via nuget on local, then uploaded to staging via ftp. App_Plugins, dll and cleared the Client Dependency as well as increasing the value, along with an application restart.
Have i missed something? Where are the Umbraco.Sys.ServerVariables stored?
Version is exactly the same (new site being developed).
It is now functioning correctly. Not certain why it failed in the first place. Recycled the app pool, reset the site and cleared all the temp files away. Maybe we just need to give it a little time to function correctly.
Just pleased that it is now working as expected now - its a great app and something i would love to see in the core.
Null or undefined angular error
Hi I just installed the nuget package with Umbraco 7.5.8 and am getting an undefined object error in angular when trying to reindex so nothing's happening..
(anonymous) @ angular.min.js:63 (anonymous) @ angular.min.js:54 i @ angular.min.js:79 i @ angular.min.js:79 i @ angular.min.js:79 i @ angular.min.js:79 (anonymous) @ angular.min.js:80 $eval @ angular.min.js:92 $digest @ angular.min.js:90 $apply @ angular.min.js:92 j @ angular.min.js:101 r @ angular.min.js:104 w.onreadystatechange @ angular.min.js:106 angular.min.js:63 TypeError: Cannot read property 'GetRebuildStatus' of undefined at Object.getRebuildStatus (resource.js:8) at a.$scope.getRebuildStatus (dashboard-controller.js:13) at Object.fn (dashboard-controller.js:35) at Object.$digest (angular.min.js:90) at Object.$apply (angular.min.js:92) at j (angular.min.js:101) at r (angular.min.js:104) at XMLHttpRequest.w.onreadystatechange (angular.min.js:106)
Hi Tom,
How did you install the package ? Through nuget or the package installer ?
Maybe you can try to update the client depedency version number. Go in the config folder of your website and locate the Clientdependency.config file. In there increment the version number.
To be sure also clear your browser cache.
Dave
Hi tom,
Did the suggestions in my previous post help you out ?
Dave
Hi Dave, I upped the client dependency version and cleared cache and still the same issue.
I installed via nuget, cleaned, rebuilt, upped the clientdependency file and cleared cache.. I also tried an iisreset
Thanks
Hi Tom,
Can you reproduce this on empty installation of 7.5.8 ? Do you have that error on other versions as well ?
Dave
Hi Tom,
If you open the backend for example in Chrome and open the developer tools.
What do you see when you type in the console with backend open :
Umbraco.Sys.ServerVariables
And what do you see when you type :
Umbraco.Sys.ServerVariables.Nexu
Dave
Hello Dave
I am experiencing something similar. Installed on a local copy of a 7.12.3 Umbraco, and all is great.
Migrated to the staging server, and get an error: Cannot read property 'GetIncomingLinks' of undefined.
Running the Umbraco.Sys.ServerVariables.Nexu returned undefined.
This was installed via nuget on local, then uploaded to staging via ftp. App_Plugins, dll and cleared the Client Dependency as well as increasing the value, along with an application restart.
Have i missed something? Where are the Umbraco.Sys.ServerVariables stored?
Richard
Hi Tom,
What version of Umbraco are you running on the staging server ?
Dave
Hello Dave
Sorry for the delay in response.
Version is exactly the same (new site being developed).
It is now functioning correctly. Not certain why it failed in the first place. Recycled the app pool, reset the site and cleared all the temp files away. Maybe we just need to give it a little time to function correctly.
Just pleased that it is now working as expected now - its a great app and something i would love to see in the core.
Hi Tom,
Glad to hear it's working.
I want to integrate in to core.
But first I need to refactor some things to make the process of integrating a lot more easier. Especially with content variants coming in V8.
Dave
is working on a reply...