e that helps some
Terre
-Original Message-
From: Andrea Turso [mailto:trashofmast...@gmail.com]
Sent: Monday, February 15, 2010 11:39 AM
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Struggling with Resource Autoloading
That's funny, I'm stressed these days,
That's funny, I'm stressed these days, I should rest a bit.
I solved this by editing the generated index.php to:
$application = new Zend_Application(
APPLICATION_ENV,
array(
'config' => APPLICATION_PATH . '/configs/application.ini',
'autoloaderNamespaces' =>
array(
Okay, I was wondering why now the autoloader can't handle
includes for my library.
It keeps refusing to load my library/My classes.
I don't get the point, when the autoloader could load My library altough
it couldn't find the services because they were in a different directory.
The weird thing i
Thanks anyone for helping me out, but that was my fault,
I inadvertently named the services folder as "service"
a small typo that required debugging all the application to catch. LOL
Thanks again for the support
- Andrea
On Mon, Feb 15, 2010 at 12:45 PM, Andrea Turso wrote:
> I started from scr
I started from scratch with ZF 1.10.1
The issue still persist even after following your suggestions, how
could that be?
- Andrea
On Mon, Feb 15, 2010 at 5:30 PM, Matthew Weier O'Phinney
wrote:
> -- Victor Farazdagi wrote
> (on Monday, 15 February 2010, 06:04 AM +0300):
>> Andrea,
>> First of -
-- Victor Farazdagi wrote
(on Monday, 15 February 2010, 06:04 AM +0300):
> Andrea,
> First of - stuff you are trying to auto-load is pretty standard, so I'd use
> Zend_Application_Module_Autoloader instead (check out its source code - it
> loads models, services etc).
> So, having following Bootst
Sorry Aleksey but I thought it would register itself automatically,
in fact, according to the current documentation:
"Resource autoloaders register with the autoloader on instantiation,
with the namespace to which they are associated. [...]"
I'll try to register it anyway, sometimes the dumbest t
As I expected manually registering the resource autoloader did not work.
It's possible to see that the resource loader correctly pushes itself into the
autoloaders stack on instantiation by running:
var_dump(Zend_Loader_Autoloader::getInstance());
as I expected the docs were correct, the resourc
Andrea,
First of - stuff you are trying to auto-load is pretty standard, so I'd
use Zend_Application_Module_Autoloader instead (check out its source
code - it loads models, services etc).
So, having following Bootstrap.php is enough:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap