Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap loading breaks in 1.12.12 #9

Closed
shaneiseminger opened this issue May 21, 2015 · 8 comments
Closed

Bootstrap loading breaks in 1.12.12 #9

shaneiseminger opened this issue May 21, 2015 · 8 comments

Comments

@shaneiseminger
Copy link

We get a "Bootstrap class not found" exception after updating to 1.12.12. It seems that there's one require_once() call that should remain active on line 333 of Zend_Application.

    if (!class_exists($class, false)) {
        // require_once $path;
        if (!class_exists($class, false)) {
             throw new Zend_Application_Exception(
                'Bootstrap class not found'
             );
        }
    }

Disabling this require_once() call makes Zend_Application unable to load the Bootstrap class specified by the bootstrap.class and bootstrap.path config options. To the best of my knowledge the autoloader isn't intended to handle the bootstrap class.

@shaneiseminger
Copy link
Author

Happy to create a pull request if you prefer.

@holtkamp
Copy link

👍

@dankobiaka
Copy link

Any update on this? The bombayworks package is completely unusable until this is fixed.

@mrook
Copy link

mrook commented Jul 28, 2015

This can also be fixed by changing one of the class_exists() statements to if (!class_exists($class, true)) {
(to ensure the autoloader is hit)

@deadbeef84
Copy link
Contributor

Sorry for the delay, this should now be fixed in 1.12.12 and 1.12.13.

@glensc
Copy link

glensc commented Jul 29, 2015

@deadbeef84 are you sure the original bug "class not found" error is solved?

@deadbeef84
Copy link
Contributor

I'm pretty sure. However, since I updated the existing broken releases, you may need to run composer clear-cache to avoid getting old packages.

@deadbeef84
Copy link
Contributor

Also, the issues in zf1/zend-application (zf1/zend-application#2) still remains, but it needs a different fix - will try too look into this later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants