Been a lurker for a while, this is my first post - help GREATLY appreaciated, this is wrecking my head.
I am trying to get propel to work using the SimpleTest (http://www.simpletest.org) eclipse plugin and I am getting an error message that makes absolutely no sense to me at all:
Code: Select all
Fatal error: Class 'BaseObject' not found in C:\prg\workspace\testproject\trunk\application\models\testproject\om\BaseUser.php on line 10
I have a User.php class representing a User object in my model, it has a BaseUser class generated by Propel and BaseUser inherits from BaseObject.php.
Now, my include path for the simpletest eclipse plugin is setup using an include file. This include file looks like:
Code: Select all
<?php
ini_set('include_path', get_include_path().PATH_SEPARATOR .
'C:/prg/workspace/testproject/trunk/lib/propel/runtime/classes/' . PATH_SEPARATOR .
'C:/prg/workspace/testproject/trunk/application/models/testproject/' . PATH_SEPARATOR .
'C:/prg/workspace/testproject/trunk/application/models/testproject/om/' . PATH_SEPARATOR .
'C:/prg/workspace/testproject/trunk/application/models/' . PATH_SEPARATOR .
'C:/prg/workspace/testproject/trunk/lib/propel/runtime/classes' . PATH_SEPARATOR .
'C:/prg/workspace/testproject/trunk/lib/propel/runtime/classes/propel/om' );
echo ini_get('include_path');
?>
Can someone please help this total newbie out? My head is absolutely wrecked from trying to figure this one out.
My propel stuff works fine outside of SimpleTest.
thanks,
- Paul.