Hi,
I’m trying to get VP’s generated PHP-Code to work.
All I do I this:
require_once( realpath(dirname(__FILE__)).'/lib/phporm/ezpdo_runtime.php');
session_start();
$userID = $_POST['userID'];
$user = UserFactory::loadUserByORMID($userID);
And this is my result:
Fatal error: Uncaught exception 'epExceptionManagerBase' with message 'Failed in compiling classes in configured directory' in D:\Programme\xampp\htdocs\lib\phporm\src\runtime\epManager.php:1957 Stack trace: #0 D:\Programme\xampp\htdocs\lib\phporm\src\runtime\epManager.php(1889): epManagerBase->_compileAll() #1 D:\Programme\xampp\htdocs\lib\phporm\src\runtime\epManager.php(230): epManagerBase->_loadCompiled() #2 D:\Programme\xampp\htdocs\lib\phporm\src\runtime\epManager.php(2513): epManagerBase->initialize(true) #3 D:\Programme\xampp\htdocs\lib\phporm\src\runtime\epManager.php(1738): epManager->initialize(true) #4 D:\Programme\xampp\htdocs\lib\phporm\src\runtime\epManager.php(779): epManagerBase->_getMap('User') #5 D:\Programme\xampp\htdocs\lib\phporm\src\runtime\epManager.php(740): epManagerBase->_create('User', true, true, Array) #6 D:\Programme\xampp\htdocs\classes\UserFactory.php(5): epManagerBase->create('User') #7 D:\Programme\xampp\htdocs\index.php(22): UserFactory::loadUserByORMID('308307') #8 {main} thrown in D:\Programme\xampp\htdocs\lib\phporm\src\runtime\epManager.php on line 1957
Hope anybody can help me.
Regards,
Eraser