Details
-
Bug
-
Resolution: Fixed
-
High
-
5.2, 5.3-dev
-
None
-
Operating System: CentOS 6.4 x64
PHP Version: 5.3.3
Database and version: Mysql 5.1.69
Browser (and version): Firefox 28
Description
– Create one class with two attributes:
------ textline: Name
------ Object Relations: objrels
– Create one object of the created class
– click "Upload a file"
– Browse to choose one file at will
– click "Upload the file"
– click "Choose this location"
The error happens after clicking the "Choose this location" button
In firebug i see
"500 Internal Server Error" "NetworkError: 500 Internal Server Error - http://ezp5.paulo/ezjscore/call/"
In apache log i have:
[Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP Fatal error: Call to a member function attribute() on a non-object in /var/www/html/ezpublish5/ezpublish_testsystem/.run/extension/ezjscore/classes/ajaxuploader/ezprelationlistajaxuploader.php on line 220, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP Stack trace:, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 1. {main}() /var/www/html/ezpublish5/web/index.php:0, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 2. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->handle() /var/www/html/ezpublish5/web/index.php:64, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 3. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:36, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 4. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->invalidate() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:189, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 5. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->invalidate() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:57, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 6. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->pass() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:260, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 7. Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:243, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 8. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 9. eZ\\Bundle\\EzPublishCoreBundle\\Kernel->handle() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:472, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 10. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php:67, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 11. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:2245, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 12. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:2944, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 13. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:2815, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 14. call_user_func_array() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:2841, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 15. eZ\\Bundle\\EzPublishLegacyBundle\\Controller\\LegacyKernelController->indexAction() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:2841, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 16. eZ\\Publish\\Core\\MVC\\Legacy\\Kernel->run() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php:88, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 17. ezpKernel->run() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:127, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 18. ezpKernelWeb->run() /var/www/html/ezpublish5/ezpublish_testsystem/.run/kernel/private/classes/ezpkernel.php:53, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 19. ezpKernelWeb->dispatchLoop() /var/www/html/ezpublish5/ezpublish_testsystem/.run/kernel/private/classes/ezpkernelweb.php:332, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 20. eZModule->run() /var/www/html/ezpublish5/ezpublish_testsystem/.run/kernel/private/classes/ezpkernelweb.php:803, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 21. eZProcess::run() /var/www/html/ezpublish5/ezpublish_testsystem/.run/lib/ezutils/classes/ezmodule.php:1794, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 22. eZProcess->runFile() /var/www/html/ezpublish5/ezpublish_testsystem/.run/lib/ezutils/classes/ezprocess.php:21, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 23. include() /var/www/html/ezpublish5/ezpublish_testsystem/.run/lib/ezutils/classes/ezprocess.php:46, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 24. multipleezjscServerCalls() /var/www/html/ezpublish5/ezpublish_testsystem/.run/extension/ezjscore/modules/ezjscore/call.php:143, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 25. ezjscServerRouter->call() /var/www/html/ezpublish5/ezpublish_testsystem/.run/extension/ezjscore/modules/ezjscore/call.php:157, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 26. call_user_func_array() /var/www/html/ezpublish5/ezpublish_testsystem/.run/extension/ezjscore/classes/ezjscserverrouter.php:219, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 27. ezjscServerFunctionsAjaxUploader::preview() /var/www/html/ezpublish5/ezpublish_testsystem/.run/extension/ezjscore/classes/ezjscserverrouter.php:219, referer: http://ezp5.paulo/content/edit/62/2/eng-GB [Mon Mar 31 14:10:24 2014] [error] [client 192.168.2.103] PHP 28. ezpRelationListAjaxUploader->serializeObject() /var/www/html/ezpublish5/ezpublish_testsystem/.run/extension/ezjscore/classes/ezjscserverfunctionsajaxuploader.php:378, referer: http://ezp5.paulo/content/edit/62/2/eng-GB