salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.51k stars 2.09k forks source link

Illegal string offset 'cookie_name' #3461

Closed Lehnerr closed 5 years ago

Lehnerr commented 7 years ago

After a fresh installation of suitecrm7.8.3 I got errors in apache error log

Issue

PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index PHP Warning: Illegal string offset 'cookie_name' in /var/www/testinstance/cache/smarty/templates_c/%%E2^E2B^E2BC33C5%%SubPanelTiles.tpl.php on line 41, referer: https://test.local/testinstance/index.php?module=Accounts&action=EditView&return_module=Accounts&return_action=index

Expected Behavior

No errors in Error log

Actual Behavior

Possible Fix

doing this solved problem. [https://suitecrm.com/forum/developer-help/10472-smarty-template-error-on-sub-panel]

Steps to Reproduce

1.Install a new instance 2.create an account and look at afterwards in apache error log 3. 4.

Context

Your Environment

Dillon-Brown commented 5 years ago

Fixed here: #3573