Hi there, I had an error “An Error Has Occurred A project profile was not found” on Zend framework command line when I tried to generate an action for my project. I’m using Windows XP and for the web server I’m using XAMPP. The “An Error Has Occurred A project profile was not found” happened because we have wrong include path in our php.ini.
Open your php.ini and find the include_path line, insert your zend framework library path into the line before the PEAR path.
include_path = ".;E:\xampp\htdocs\ZendFramework\library;E:\xampp\php\PEAR"
Save the file and restart your Apache. Good luck
Yes very fine this one worked for me…
best regards from Cologne
did not worked for me
Indeed. It’s working here as well. thanks!
cheers from Poland
I had searched many sites for this problem, only you proviede the right solution.
Thanks
Thanx man..!!!
Yaa..
Its Working After long search i got from Your Site
Thanks
Fantastic. After spending 1 hour of searching you helped me! Thank you
For those who have, MAMP. I had to force its way. is not a solution but it works
An Error Has Occurred
A project profile was not found.
Index: Zend/Tool/Project/Provider/Abstract.php LINE 154
* @version $Id: Abstract.php 23651 2011-01-21 21:51:00Z mikaelkael $
============================================================
$profile = new Zend_Tool_Project_Profile();
$parentDirectoriesArray = explode(DIRECTORY_SEPARATOR, ltrim($projectDirectory, DIRECTORY_SEPARATOR));
while ($parentDirectoriesArray) {
$projectDirectoryAssembled = DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, $parentDirectoriesArray);
$projectDirectoryAssembled = implode(DIRECTORY_SEPARATOR, $parentDirectoriesArray);
if(substr(PHP_OS, 0, 3) != ‘WIN’) {
// prepend the DIRECTORY_SEPARATOR only if not on Windows
$projectDirectoryAssembled = DIRECTORY_SEPARATOR . $projectDirectoryAssembled;
}
// *******************************************
// puts the project name
// ********************************
$projectDirectoryAssembled.=”/projecto”;
$profile->setAttribute(‘projectDirectory’, $projectDirectoryAssembled);
if ($profile->isLoadableFromFile()) {
——————–