Cannot install package in Umbraco - getting a 404 - asp.net-mvc

I have installed Umbraco 7.10.0 via NuGet in VS2017 and run the site with IISExpress. What I would like now, is an editor which supports mathematical formulas.
Fortunately there is an editor called uCKEditor with a plugin for mathematical formulas - just what I need. On their site, they advise to use the so called "Online builder" to automatically get uCKEditor + math plugin + dependencies. So I did, and downloaded the zip package.
From there I go to install the package. Thus in Umbraco backoffice I go to Developer -> Packages -> Install local, and point to the zip file I just downloaded.
This gives the error "Request error: The URL returned a 404 (not found): /umbraco/backoffice/UmbracoApi/PackageInstall/UploadLocalPackage"
What can be the reason for this problem, and how to solve it?

the maths plugin you've found is specifically a ckEditor plugin, not an Umbraco plugin and therefore Umbraco doesn't know what to do with it.
You need to read the ckEditor widget installation guide and install that plugin according to their instructions:
https://docs.ckeditor.com/ckeditor4/latest/guide/dev_widget_installation.html

Related

No repository found error while downloading Eclipse plugin for BB10

I am using this site to download eclipse plugin to develop Blackberry 10 application. "http://developer.blackberry.com/android/downloads/eclipseplugin"...
But I get this error when I try to download
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,22.2.1.v201309180102-833290
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,22.2.1.v201309180102-833290
No repository found containing: osgi.bundle,com.android.ide.eclipse.base,22.2.1.v201309180102-833290
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,22.2.1.v201309180102-833290
No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,22.2.1.v201309180102-833290
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,22.2.1.v201309180102-833290
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,22.2.1.v201309180102-833290
Answered by frogman here
Uncheck “Contact all update sites during install to find required software” (this is causing the error message above).
Go to Windows / Preferences
Then.. Install / Update
Then..Available Update Sites
And last...
Check All Sites!!
http://dl-ssl.google.com/android/eclipse/
AND
https://dl-ssl.google.com/android/eclipse/ (sometimes are unchecked and fails)
Trailing / in Available Software Sites
The No repository found containing: osgi.bundle,... problem seem to be related to many things or be the symptom to different problems.
Adding to the answer from #miguel-a-cardenete, make sure all URLs there have a '/' at the end. It worked for me in Eclipse Luna 4.4.2.
Comes from #2 in this answer.

The term 'scaffold' is not recognized as the name of a cmdlet, function, script file, or operable program

I've been developing an ASP.NET MVC 4 project for a while now and I've been using the "MVCScaffolding" package successfully but a few days ago I noticed that when creating a new controller for example the item for MVCScaffolding does not show up anymore. trying to run the scaffold command will also result in the following error:
The term 'scaffold' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:9
+ scaffold <<<<
+ CategoryInfo : ObjectNotFound: (scaffold:String) [], CommandNotFoundException
I've noticed that this problem has been mentioned several times on this page but no solutions have been provided.
Also the "MVCScaffolding" package could be used by other projects under the same environment in different solutions but not the same solution so I guess it is something specific to this solution. I've already tried uninstalling and reinstalling the packages manually or by the following commands, reinstalling nuget and restarting VS an windows several times :) ;
Uninstall-Package MvcScaffolding -RemoveDependencies
Install-Package MvcScaffolding
What I'm looking for is first and obviously how to resolve this specific issue and second, In general in such cases where should one be looking for in order to start debugging the problem? how does the command prompt determines whether or not a command is available?
Thanks in advance.
MVC Scaffolding defines the 'scaffold' command alias when a solution is opened in Visual Studio. The T4Scaffolding.Core NuGet package is the one that actually calls Set-Alias to do this in its init.ps1. You could check that the init.ps1 for the T4Scaffolding NuGet package is being run.
I know this post is really old.. but for those of you who are still facing this problem with VS2013, Please try the following:
Uninstall-Package T4Scaffolding <-- If you have already used PM Console To Install it..
Install by right clicking "references" -> Manage Nuget Packages -> Search for T4Scaffolding and install it from there..
By doing the above steps it worked like a charm for me
My Problem was solved by adding T4Scaffolding.Core through the NuGetPackage Manager. (version 1.0.8)

Umbraco - Install packages

I'm new to Umbraco and I'm try to install some packages from the Umbraco package Repository. I'm getting a 500 - Internal server error in the Umbraco CMS when trying to browse the packages. First I thought I did something wrong in my installation of Umbraco but when I look at the source code it looks like packages.umbraco.org are having problems. Can anyone confirm if they having the same problem?
Thanks
Download the packages from our.umbraco.org and install as a local package. If that doesn't work then it may be permissions. If you aren't able to download packages on our.umbraco.org, then the package server may be down.
First of all either check the logs or change the customErrors section of your web.config so that you can see more details on the error.
<customErrors mode="Off" />
I have on a few rare occasions installed a version of Umbraco where I think the installedPackages.config file was empty and without at least an empty <packages /> node it generates an error. Check the file looks like this as a minimum:
<?xml version="1.0" encoding="utf-8"?>
<packages />
You will usually find the file located in App_Data\packages\installed\installedPackages.config however I think this may have changed in more recent versions of Umbraco.
Some good tips already, so I'll add a less likely one!
I have seen this error when I've first installed and for some reason the .net worker process has crashed so the internal error is simply that the site can't find cassini (or IIS depending on your settings).
Or perhaps there is nothing wrong and it is in fact related to the current issue with the Umbraco servers:
ICYMI: Our ISP have issues with their virtualisation platform and it affects > http://umbraco.com , umbraco.tv, Our Umbraco and package repo.
https://twitter.com/umbraco/statuses/293297374271533056

Grails extension in SpringSource Tool Suite errors

I recently installed SpringSource Tool Suite. And I want to start working with Grails projects. So, I went to the Dashboard -> Extension, where I saw two extensions: Grails (current production release) and Grails Support as in the image below.
But when I try to install them, I get the following errors :
Problems occurred while performing installation: Operation details
Operation details
Cannot complete the install because one or more required items could not be found.
Software currently installed: Shared profile 1.0.0.1340820181092 (SharedProfile_com.springsource.sts.ide 1.0.0.1340820181092)
Missing requirement: Shared profile 1.0.0.1340820181092 (SharedProfile_com.springsource.sts.ide 1.0.0.1340820181092) requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be found
What can I do to resolve this error ? Or are there any other options I can follow to install Grails extension?
Thank you!
I would switch to the new "Groovy/Grails Tool Suite" that was recently announced (see http://www.springsource.org/node/3582). Go to the standard download page at http://www.springsource.org/downloads/sts and click "Other Downloads >". Download the version for your OS under "Milestone Version - Groovy/Grails Tool Suite 3.0.0.M2".
It is a beta/milestone release but I've been using it since it was released and it's as stable as a final release so far. It's convenient since the Groovy-Eclipse plugin and the Grails support are already configured for you, in addition to the latest Grails (2.0.4). Any other plugins that you need from the standard STS can always be installed using the standard install/update procedure.
Yes, what #BurtBeckwith said. You should move to the new GGTS.
However, to address your particular problem, you installed STS into a read-only directory (or in C:\Program files). You need to re-install it somewhere else.
The Eclipse p2 installer cannot handle installing feature patches into a read-only directory. Groovy-Eclipse ships with a feature patch to extend the JDT compiler. I believe that this problem was fixed in the Juno release of Eclipse (4.2), which came out last week.
Deleting corresponding application from Windows memory removed the problem (Grails extension in SpringSource Tool Suite errors). Double running applications (earlier and new) could also be reason why GGS or STS sometimes cannot save .groovy files (with error message or without).

symfony plugin installation failing [bhLDAPAuthPlugin]

I'm working on a symfony project and I need a user access conected to an LDAP server. So I searched for something already done to add to my app and found this plugin that has all I wanted.
So I tried to install with the command $ php symfony plugin:install bhLDAPAuthPlugin
for some reason it throws me this error:
No release avaiable for plugin "bhLDAPAuthPlugin"
I don't really understand what that message means. I've checked the spell of the command (also copied the command given in the page of the plugin) and same error appears. If I had no all requeriments for instalation, other errors would be thrown, right?
PS: If you know some easy way to implement by myself the comunication with LDAP (Microsoft Active Directory) will also be appreciated.
No exactly sure how to solve the error message, perhaps it helps is specifically specify which version you wish to install.
Otherwise there's an easy workaround:
Just download the tgz file from here:
http://www.symfony-project.org/plugins/bhLDAPAuthPlugin/6_0_0
and do
php symfony plugin:install bhLDAPAuthPlugin-etc-etc.tgz

Resources