Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Since the conventional Autoloader did not work, i tried to manually do what any Zend application would do. Here's the <code>bootstrap.php</code> that worked out in the end</p> <pre><code>&lt;?php // Define path to application directory defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application')); // Define application environment defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'testing')); // Ensure library/ is on include_path set_include_path(implode(PATH_SEPARATOR, array( realpath(APPLICATION_PATH . '/../library'), get_include_path(), ))); require_once 'Zend/Loader/Autoloader.php'; require_once 'Zend/Loader/Autoloader/Resource.php'; $resources = new Zend_Loader_Autoloader_Resource(array( 'namespace' =&gt; 'Application', 'basePath' =&gt; APPLICATION_PATH )); $resources-&gt;addResourceType('form','forms','Form'); $resources-&gt;addResourceType('model','models','Model'); $resources-&gt;addResourceType('dbtable','models/DbTable','Model_DbTable'); $resources-&gt;addResourceType('mapper','models/Mappers','Model_Mapper'); </code></pre> <p>The logic usually is what Zend should figure out on his own. And in fact it does so on my local development machine running on windows. On ubuntu however i need to become specific.</p> <p>Would be interesting to know why that is. If someone can explain the reasoning to me, then I'll probably end up giving you the right answer ;)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload