This happens in multi as well as monolanguage.
I get it in the php logs. PHP 5.4.4
[20-Sep-2016 16:06:03 UTC] PHP Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/joomla/session/handler/joomla.php on line 45
[20-Sep-2016 16:06:03 UTC] PHP Stack trace:
[20-Sep-2016 16:06:03 UTC] PHP 1. {main}() /Applications/MAMP/htdocs/testwindows/trunkgitnew/administrator/index.php:0
[20-Sep-2016 16:06:03 UTC] PHP 2. JApplicationCms->execute() /Applications/MAMP/htdocs/testwindows/trunkgitnew/administrator/index.php:51
[20-Sep-2016 16:06:03 UTC] PHP 3. JApplicationAdministrator->doExecute() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/application/cms.php:343
[20-Sep-2016 16:06:03 UTC] PHP 4. JApplicationAdministrator->dispatch() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/application/administrator.php:152
[20-Sep-2016 16:06:03 UTC] PHP 5. JComponentHelper::renderComponent() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/application/administrator.php:98
[20-Sep-2016 16:06:03 UTC] PHP 6. JComponentHelper::executeComponent() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/component/helper.php:380
[20-Sep-2016 16:06:03 UTC] PHP 7. require_once() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/component/helper.php:405
[20-Sep-2016 16:06:03 UTC] PHP 8. JControllerLegacy->execute() /Applications/MAMP/htdocs/testwindows/trunkgitnew/administrator/components/com_contact/contact.php:19
[20-Sep-2016 16:06:03 UTC] PHP 9. JControllerForm->save() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/legacy/controller/legacy.php:702
[20-Sep-2016 16:06:03 UTC] PHP 10. ContactModelContact->save() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/legacy/controller/form.php:735
[20-Sep-2016 16:06:03 UTC] PHP 11. JModelAdmin->save() /Applications/MAMP/htdocs/testwindows/trunkgitnew/administrator/components/com_contact/models/contact.php:445
[20-Sep-2016 16:06:03 UTC] PHP 12. JEventDispatcher->trigger() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/legacy/model/admin.php:1190
[20-Sep-2016 16:06:03 UTC] PHP 13. JEvent->update() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/joomla/event/dispatcher.php:159
[20-Sep-2016 16:06:03 UTC] PHP 14. call_user_func_array() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/joomla/event/event.php:69
[20-Sep-2016 16:06:03 UTC] PHP 15. PlgContentFinder->onContentAfterSave() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/joomla/event/event.php:69
[20-Sep-2016 16:06:03 UTC] PHP 16. JEventDispatcher->trigger() /Applications/MAMP/htdocs/testwindows/trunkgitnew/plugins/content/finder/finder.php:38
[20-Sep-2016 16:06:03 UTC] PHP 17. JEvent->update() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/joomla/event/dispatcher.php:159
[20-Sep-2016 16:06:03 UTC] PHP 18. call_user_func_array() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/joomla/event/event.php:69
[20-Sep-2016 16:06:03 UTC] PHP 19. PlgFinderContacts->onFinderAfterSave() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/joomla/event/event.php:69
[20-Sep-2016 16:06:03 UTC] PHP 20. FinderIndexerAdapter->reindex() /Applications/MAMP/htdocs/testwindows/trunkgitnew/plugins/finder/contacts/contacts.php:157
[20-Sep-2016 16:06:03 UTC] PHP 21. PlgFinderContacts->setup() /Applications/MAMP/htdocs/testwindows/trunkgitnew/administrator/components/com_finder/helpers/indexer/adapter.php:323
[20-Sep-2016 16:06:03 UTC] PHP 22. FinderIndexerHelper::getContentPath() /Applications/MAMP/htdocs/testwindows/trunkgitnew/plugins/finder/contacts/contacts.php:394
[20-Sep-2016 16:06:03 UTC] PHP 23. JRouter::getInstance() /Applications/MAMP/htdocs/testwindows/trunkgitnew/administrator/components/com_finder/helpers/indexer/helper.php:402
[20-Sep-2016 16:06:03 UTC] PHP 24. JRouterSite->__construct() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/router/router.php:196
[20-Sep-2016 16:06:03 UTC] PHP 25. JApplicationCms::getInstance() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/router/site.php:56
[20-Sep-2016 16:06:03 UTC] PHP 26. JApplicationSite->__construct() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/application/cms.php:490
[20-Sep-2016 16:06:03 UTC] PHP 27. JApplicationCms->__construct() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/application/site.php:63
[20-Sep-2016 16:06:03 UTC] PHP 28. JApplicationCms->loadSession() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/application/cms.php:131
[20-Sep-2016 16:06:03 UTC] PHP 29. JSessionHandlerJoomla->__construct() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/cms/application/cms.php:850
[20-Sep-2016 16:06:03 UTC] PHP 30. ini_set() /Applications/MAMP/htdocs/testwindows/trunkgitnew/libraries/joomla/session/handler/joomla.php:45
Anyone can confirm?
Labels |
Added:
?
?
|
It doesn't solve anything. Reverting it only masks the terrible default behaviors that we have in Joomla. Every time you instantiate an application class it will attempt to instantiate a session object. You're getting this error because the admin app has already created and started a session and now you're trying to instantiate the site app which uses the same default behaviors and tries to again create a session object. It was masked before that PR because the internal loader code was dependent on the global singleton session object and now the loader code isn't.
Long and short, all that patch has done is to further expose how weak Joomla's default configurations are and what happens when you loosen its dependency on global singleton objects.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-21 08:13:15 |
Closed_By | ⇒ | zero-24 |
Labels |
Removed:
?
|
Reverting #10905 solves the issue.