Search code examples
phppropelinclude-path

PHP include path ignored


At the moment i am facing a problem with the include path in php.

For Propel to function correctly I need to add the build/classes directory to my include path as explained here: http://propelorm.org/documentation/02-buildtime.html#setting-up-propel

When i print the include path with echo get_include_path(); Its printing the right directories. But when Propel try's to include a file there is a Fatal error: "Class not found".

The server is a local xampp webserver running on PHP 5.4.7 and Windows 8.

Does someone know's a solution?

With kind regards,

Jelmert


Solution

  • As @jakerella comment suggest i needed to update my classmap by running the command:

    propel-gen convert-conf
    

    Everything works fine at the moment :) Thanx Stackoverflow users!