Welcome Guest, Not a member yet? Register   Sign In
AWS Elastic Beanstalk problem
#1

[eluser]Unknown[/eluser]
I have successfully deployed my application for testing in a standard EC2 instance.

But when I build an environment in Elastic Beanstalk (PHP Stack)and attempt to deploy there, codeigniter is so unhappy that I get a white screen of death, otherwise known as no output whatsoever. No stack trace, no complaint. Just gone

I have done some tracing.

1. It doesn't matter what endpoint (controller) I am trying to reach.
2. It is dying in core/CodeIgniter.php on this call:
Code:
$EXT->_call_hook('post_controller_constructor');
Execution never reaches the next line in CodeIgniter.php.
3. there are no error messages in the apache logs or the codeigniter log. Last lines in the CI log:

Code:
DEBUG - 2014-01-08 20:56:51 --> Model Class Initialized
DEBUG - 2014-01-08 20:56:51 --> Model Class Initialized
DEBUG - 2014-01-08 20:56:51 --> Config file loaded: application/config/gl_config.php

I use no hooks, to the best of my knowledge, in this app, at this time.

Currently EB uses PHP 5.5

I am puzzled by this issue. I hesitate to explore Codeigniter system code because I have not encountered any issues there before.
The app is actually in production on a cheap virtual server at the moment.
I assume there is a config issue or a release issue (php, other middleware).
Typically I have seen the white screen of death when I try to use a loadable library or other code that does not exist.

I need some advice as to where to look to see the actual failure - I suspect when I see it I will know the fix!


Messages In This Thread
AWS Elastic Beanstalk problem - by El Forum - 01-08-2014, 02:14 PM
AWS Elastic Beanstalk problem - by El Forum - 01-09-2014, 12:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB