Php 社交引擎未在Amazon ec2上更新个人资料照片
我的社交引擎实例在我使用dreamhost服务器托管时运行良好,但在切换到AWS后,更新配置文件照片停止工作Php 社交引擎未在Amazon ec2上更新个人资料照片,php,apache,amazon-ec2,socialengine,Php,Apache,Amazon Ec2,Socialengine,我的社交引擎实例在我使用dreamhost服务器托管时运行良好,但在切换到AWS后,更新配置文件照片停止工作 UI上的错误消息是“您选择的图像太大”。即使图像大小非常小。大约2-6kb 下面提到堆栈跟踪 我的问题通过安装名为GD的php插件解决了。它在我的旧服务器上,但我忘了在我的新ec2服务器上安装 2018-01-16T04:42:53+00:00 WARN (4): exception 'Engine_Image_Exception' with message 'No availabl
- UI上的错误消息是“您选择的图像太大”。即使图像大小非常小。大约2-6kb
- 下面提到堆栈跟踪
我的问题通过安装名为GD的php插件解决了。它在我的旧服务器上,但我忘了在我的新ec2服务器上安装
2018-01-16T04:42:53+00:00 WARN (4): exception 'Engine_Image_Exception' with message 'No available adapter for image
operations' in
/var/www/html/social/application/libraries/Engine/Image.php:52 Stack
trace:
#0 /var/www/html/social/application/modules/User/Model/User.php(159):
Engine_Image::factory()
#1 /var/www/html/social/application/modules/User/controllers/EditController.php(133):
User_Model_User->setPhoto(Object(Engine_Form_Element_File))
#2 /var/www/html/social/application/libraries/Zend/Controller/Action.php(516):
User_EditController->photoAction()
#3 /var/www/html/social/application/libraries/Zend/Controller/Dispatcher/Standard.php(308):
Zend_Controller_Action->dispatch('photoAction')
#4 /var/www/html/social/application/libraries/Zend/Controller/Front.php(954):
Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
Object(Zend_Controller_Response_Http))
#5 /var/www/html/social/application/modules/Core/Bootstrap.php(84):
Zend_Controller_Front->dispatch()
#6 /var/www/html/social/application/libraries/Engine/Application.php(160):
Core_Bootstrap->run()
#7 /var/www/html/social/application/index.php(219): Engine_Application->run()
#8 /var/www/html/social/index.php(24): include('/var/www/html/s...')
#9 {main}