Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error "Detecting Library Folders" in Zend Studio

I just had to re-clone a .git repository for one of my projects in Zend Studio 11, and now every time I switch branches in the repository, I get an error in Zend telling me "An internal error occurred during: Detecting Library Folders".

It seems as though one of the Zend settings files has been deleted or something.

Any idea how to restore this file, or fix this error?

An internal error occurred during: "Detecting library folders".
Preference node "org.eclipse.wst.validation" has been removed.

enter image description here

like image 562
VerySeriousSoftwareEndeavours Avatar asked Sep 20 '14 10:09

VerySeriousSoftwareEndeavours


2 Answers

I figured out the solution. As it turns out I was on the right track. Zend creates a hidden folder called .settings when you create a project.

For some reason, although it was included in the .gitignore file, it was deleted when switching between branches and resetting the base at one time.

I had tried removing the entire database and re-cloning earlier but that did not work. The reason was due to the .project (also Zend created project file) file being committed into the repository, and when re-cloned, Zend saw that file and assumed it was an existing project.

I had to remove the .project file completely as well.

like image 169
VerySeriousSoftwareEndeavours Avatar answered Sep 21 '22 01:09

VerySeriousSoftwareEndeavours


I ended up deleting the project from zend and re-creating it. It solved the problem.

like image 20
dav Avatar answered Sep 20 '22 01:09

dav