1

Today i firstly tryied to integrate Doctrine in Zend following this guide beberlei

my .zf.ini is such:

php.include_path = ".;C:\PEAR;D:\localhost\www\ZFDoctrine;D:\localhost\www\ZFDoctrine\library;D:\localhost\www"
basicloader.classes.0 = "ZFDoctrine_Tool_DoctrineProvider"

directory with ZFDoctrine is in D:\localhost\www I think this error is caused by wrong include_path.. Or i even don't know, i'm noob in zend, can someone help me? P.S. I googled a lot, and people are advising to comment includePaths.library = APPLICATION_PATH "/../library" but it don't helps

lesha_89
  • 55
  • 2
  • 7

3 Answers3

0

If you have something that looks like :

set_include_path(implode(PATH_SEPARATOR, $paths));

in your ini file or any other setting of an include path comment it out.

this error occurs often if you are setting include path twice.

Mouna Cheikhna
  • 38,870
  • 10
  • 48
  • 69
0

I currently use Doctrine 1.2 with ZF with no problems. I ran through what I did in a previous thread - How do you work with a relational database in Zend Framework?

I hope this may be of some help to you.

Kind regards

Garry

Community
  • 1
  • 1
Garry
  • 1,455
  • 1
  • 15
  • 34
0

Have a look in the following folder: C:\PEAR. There might be another copy of the Zend Framework in there which leads you to including it twice.

and_the_rand
  • 307
  • 2
  • 7