serendipity_admin.php was the easiest place to grab the error.
This was from 1.7 alpha in the master branch. A similar failure occurs with the 1.6 branch.
== TESTING ERROR MODE ==
Fatal error: Uncaught exception 'ErrorException' with message 'Serendipity error: session_start(): open(/var/lib/php/session/sess_06kqcv177t9hnbanqh3he8fbu7, O_RDWR) failed: Permission denied (13)' in /var/www/html/include/compat.inc.php on line 106
ErrorException: Serendipity error: session_start(): open(/var/lib/php/session/sess_06kqcv177t9hnbanqh3he8fbu7, O_RDWR) failed: Permission denied (13) in /var/www/html/include/compat.inc.php on line 106
Call Stack:
0.0001 630664 1. {main}() /var/www/html/serendipity_admin.php:0
0.6072 1924952 2. serendipity_session_destroy() /var/www/html/serendipity_admin.php:33
0.6072 1924784 3. session_start() /var/www/html/include/functions_config.inc.php:364
0.6072 1925688 4. errorToExceptionHandler() /var/www/html/include/functions_config.inc.php:364
== TESTING ERROR MODE ==
Fatal error: Uncaught exception 'ErrorException' with message 'Serendipity error: Unknown: open(/var/lib/php/session/sess_06kqcv177t9hnbanqh3he8fbu7, O_RDWR) failed: Permission denied (13)' in /var/www/html/include/compat.inc.php on line 106
ErrorException: Serendipity error: Unknown: open(/var/lib/php/session/sess_06kqcv177t9hnbanqh3he8fbu7, O_RDWR) failed: Permission denied (13) in /var/www/html/include/compat.inc.php on line 106
Call Stack:
0.6076 1845080 1. errorToExceptionHandler() /var/www/html/include/compat.inc.php:0
ElasticBeanstalk is a PaaS solution, so I dont believe there is any way to change those permissions. I've also seen some conflicting information regarding php5.3 and support for sessions.
Error running in AWS Elastic Beanstalk
Re: Error running in AWS Elastic Beanstalk
https://forums.aws.amazon.com/thread.js ... 6&tstart=0
You might have found this by yourself...
You might have found this by yourself...
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Error running in AWS Elastic Beanstalk
Ah thanks!
In fact, I was working on this earlier yesterday than that was posted (I opened a GitHub issue, but I think bug reports are supposed to still come here to the forum).
Cheers!
In fact, I was working on this earlier yesterday than that was posted (I opened a GitHub issue, but I think bug reports are supposed to still come here to the forum).
Cheers!
Re: Error running in AWS Elastic Beanstalk
Yes, but as you can see, that is not a matter of Serendipity, I assume.FishNiX wrote:..., but I think bug reports are supposed to still come here to the forum).
If you get any more experiences on that plattform, please post them here, as this might be interesting for others too.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Error running in AWS Elastic Beanstalk
Yes, understood that it's not an s9y bug (now).
This was also my first use of php 5.3, and googling around for php 5.3 + session problems shows some information that sessions are deprecated in 5.3. I thought perhaps it was an issue there (which is why I also tried the 1.7alpha code).
I guess this is the fate of early adopters
Thanks again
This was also my first use of php 5.3, and googling around for php 5.3 + session problems shows some information that sessions are deprecated in 5.3. I thought perhaps it was an issue there (which is why I also tried the 1.7alpha code).
I guess this is the fate of early adopters
Thanks again
Re: Error running in AWS Elastic Beanstalk
Yes, session_register() functions are deprecated, but still supported. The new is to use the $_SESSION superglobal instead. S9y is up2date.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian