Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [doctrine2] Problem z instalacja
Grafi
post
Post #1





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 30.11.2006

Ostrzeżenie: (0%)
-----


Hej (IMG:style_emoticons/default/smile.gif) Próbuję zainstalować doctrine2 jednak mam problem.

Ściągnąłem paczkę, wypakowałem mam dwa foldery w folderze z projektem - bin i doctrine.

Tworze plik bootstrap.php zgodnie z tym:

http://www.doctrine-project.org/projects/o...ting-started/pl

Kod pliku:

<?php

require_once(dirname(__FILE__) . '/lib/bin/doctrine.php');
spl_autoload_register(array('Doctrine', 'autoload'));
$manager = Doctrine_Manager::getInstance();

?>

Tworze plik index.php a w nim:

<?php

require_once('bootstrap.php');

echo Doctrine_Core::getPath();
?>


Jednak gdy go wywołuje wywala mi:


Warning: require(Doctrine\Symfony\Component\Console\Helper\HelperSet.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\inzynierka\lib\Doctrine\Common\ClassLoader.php on line 148

Fatal error: require() [function.require]: Failed opening required 'Doctrine\Symfony\Component\Console\Helper\HelperSet.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\inzynierka\lib\Doctrine\Common\ClassLoader.php on line 148


Ktoś wie w czym problem? Ewentualnie mógłby napisać krok po kroku jak zainstalować to pod Win7 ?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.12.2025 - 09:45