Jump to content
X2Community Forums

openssl_decrypt(): IV passed is 32 bytes long which is longer than the 16 expected


Recommended Posts

PHP warning in /opt/bitnami/apps/x2engine/htdocs/protected/components/util/EncryptUtil.php(169)
#0 /opt/bitnami/apps/x2engine/htdocs/protected/components/util/EncryptUtil.php(169): openssl_decrypt()
#1 /opt/bitnami/apps/x2engine/htdocs/protected/components/behaviors/JSONEmbeddedModelFieldsBehavior.php(259): EncryptUtil->decrypt()
#2 /opt/bitnami/apps/x2engine/htdocs/protected/components/behaviors/TransformedFieldStorageBehavior.php(107): JSONEmbeddedModelFieldsBehavior->unpackAttribute()
#3 /opt/bitnami/apps/x2engine/htdocs/protected/components/behaviors/TransformedFieldStorageBehavior.php(120): JSONEmbeddedModelFieldsBehavior->unpackAll()
#4 /opt/bitnami/apps/x2engine/htdocs/framework/base/CComponent.php(561): JSONEmbeddedModelFieldsBehavior->afterFind()
#5 /opt/bitnami/apps/x2engine/htdocs/framework/db/ar/CActiveRecord.php(902): Credentials->raiseEvent()
#6 /opt/bitnami/apps/x2engine/htdocs/framework/db/ar/CActiveRecord.php(1040): Credentials->onAfterFind()
#7 /opt/bitnami/apps/x2engine/htdocs/framework/db/ar/CActiveRecord.php(1874): Credentials->afterFind()
#8 /opt/bitnami/apps/x2engine/htdocs/framework/db/ar/CActiveRecord.php(1895): Credentials->populateRecord()
#9 /opt/bitnami/apps/x2engine/htdocs/framework/db/ar/CActiveRecord.php(1359): Credentials->populateRecords()
#10 /opt/bitnami/apps/x2engine/htdocs/framework/db/ar/CActiveRecord.php(1478): Credentials->query()
#11 /opt/bitnami/apps/x2engine/htdocs/protected/models/Credentials.php(591): Credentials->findAll()
#12 /opt/bitnami/apps/x2engine/htdocs/protected/models/Credentials.php(673): getCredentialOptions()
#13 /opt/bitnami/apps/x2engine/htdocs/protected/components/views/inlineEmailForm.php(396): selectorField()
#14 /opt/bitnami/apps/x2engine/htdocs/framework/web/CBaseController.php(130): require()
#15 /opt/bitnami/apps/x2engine/htdocs/framework/web/CBaseController.php(95): InlineEmailForm->renderInternal()
#16 /opt/bitnami/apps/x2engine/htdocs/protected/components/X2Widget.php(83): InlineEmailForm->renderFile()
#17 /opt/bitnami/apps/x2engine/htdocs/framework/web/widgets/CWidget.php(244): InlineEmailForm->renderFile()
#18 /opt/bitnami/apps/x2engine/htdocs/protected/components/InlineEmailForm.php(248): InlineEmailForm->render()
#19 /opt/bitnami/apps/x2engine/htdocs/protected/controllers/x2base.php(833): InlineEmailForm->run()
#20 /opt/bitnami/apps/x2engine/htdocs/protected/modules/contacts/views/contacts/view.php(202): ContactsController->widget()
#21 /opt/bitnami/apps/x2engine/htdocs/framework/web/CBaseController.php(126): require()
#22 /opt/bitnami/apps/x2engine/htdocs/framework/web/CBaseController.php(95): ContactsController->renderInternal()
#23 /opt/bitnami/apps/x2engine/htdocs/framework/web/CController.php(872): ContactsController->renderFile()
#24 /opt/bitnami/apps/x2engine/htdocs/protected/controllers/x2base.php(731): ContactsController->renderPartial()
#25 /opt/bitnami/apps/x2engine/htdocs/protected/controllers/x2base.php(267): ContactsController->render()
#26 /opt/bitnami/apps/x2engine/htdocs/protected/modules/contacts/controllers/ContactsController.php(210): ContactsController->view()
#27 unknown(0): ContactsController->actionView()
#28 /opt/bitnami/apps/x2engine/htdocs/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs()
#29 /opt/bitnami/apps/x2engine/htdocs/framework/web/actions/CInlineAction.php(47): CInlineAction->runWithParamsInternal()
#30 /opt/bitnami/apps/x2engine/htdocs/framework/web/CController.php(308): CInlineAction->runWithParams()
#31 /opt/bitnami/apps/x2engine/htdocs/framework/web/filters/CFilterChain.php(134): ContactsController->runAction()
#32 /opt/bitnami/apps/x2engine/htdocs/protected/controllers/x2base.php(581): CFilterChain->run()
#33 /opt/bitnami/apps/x2engine/htdocs/framework/web/filters/CInlineFilter.php(58): ContactsController->filterSetPortlets()
#34 /opt/bitnami/apps/x2engine/htdocs/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
#35 /opt/bitnami/apps/x2engine/htdocs/framework/web/filters/CFilter.php(40): CFilterChain->run()
#36 /opt/bitnami/apps/x2engine/htdocs/framework/web/filters/CFilterChain.php(131): FileUploadsFilter->filter()
#37 /opt/bitnami/apps/x2engine/htdocs/framework/web/filters/CFilter.php(40): CFilterChain->run()
#38 /opt/bitnami/apps/x2engine/htdocs/framework/web/filters/CFilterChain.php(131): X2AjaxHandlerFilter->filter()
#39 /opt/bitnami/apps/x2engine/htdocs/framework/web/CController.php(291): CFilterChain->run()
#40 /opt/bitnami/apps/x2engine/htdocs/framework/web/CController.php(265): ContactsController->runActionWithFilters()
#41 /opt/bitnami/apps/x2engine/htdocs/framework/web/CWebApplication.php(282): ContactsController->run()
#42 /opt/bitnami/apps/x2engine/htdocs/protected/components/X2WebApplication.php(65): X2WebApplication->runController()
#43 /opt/bitnami/apps/x2engine/htdocs/framework/base/CApplication.php(185): X2WebApplication->processRequest()
#44 /opt/bitnami/apps/x2engine/htdocs/index.php(67): X2WebApplication->run()

X2Engine Version: 7.1
PHP Version: 7.0.26

  • Like 1
Link to post
Share on other sites
  • 2 weeks later...

I am having a similar problem

 

Error 500
It looks like the application ran into an unexpected error. 
 
We apologize for the inconvenience and would like to do our best to fix this issue. If you would like to make a post on our forums we can actively interact with you in getting this resolved. If not, simply sending the error report helps us immensely and will only improve the quality of the software. Thanks!
Send Error Report
Here's a quick list of what will be included in the report:
 
Error Code: 500
Error Message: openssl_decrypt(): IV passed is 32 bytes long which is longer than the 16 expected by selected cipher, truncating
Stack Trace: [click to toggle display]
X2Engine Version: 6.9
PHP Version: 5.6.40
 
Email Address (optional)
 
 
Include phpinfo()? (optional, but recommended) 
 
 
Please Note: Any information in the $_GET or $_POST arrays included with the request will also be sent with the report.
 
The stack trace looks similar.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...