The 4.7.2 Smarty upgrade generates an error when trying to acces the settings page of the Popup Anywhere module (blank page), this is the error:
Quote:
[23-Jun-2015 11:10:59 Europe/Berlin] PHP Fatal error: Uncaught --> Smarty: unable to write file /Users/theborder/shop/var/cache/smarty_cache/smarty_/47829/95ca1f6e47c6b2421d746df8b1dc72f6/29f59b5eae0feb2bc72e870da44ebb8d/0b/c7/4d/wrt558922a36eb2a1_01912516
Backtrace:Array
(
[0] => Array
(
[function] => __toString
[class] => SmartyException
[type] => ->
[args] => Array
(
)
)
)
<--
thrown in /include/lib/smarty3/sysplugins/smarty_internal_write_file.php on line 46
[23-Jun-2015 13:00:39] Warning: fread(): Length parameter must be greater than 0 in /include/templater/plugins/function.fancycat_get_cache.php on line 72
[23-Jun-2015 13:41:19 Europe/Berlin] PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/skin/common_files/modules/Popup_Anywhere/admin/popup_settings.tpl" on line 7 "{assign var="title" value=`$lng.lbl_popup_settings_modify`}" - Unexpected "`" <--
thrown in /include/lib/smarty3/sysplugins/smarty_internal_templatecompilerbase.php on line 7
[23-Jun-2015 13:41:23 Europe/Berlin] PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/skin/common_files/modules/Popup_Anywhere/admin/popup_settings.tpl" on line 7 "{assign var="title" value=`$lng.lbl_popup_settings_modify`}" - Unexpected "`" <--
thrown in /include/lib/smarty3/sysplugins/smarty_internal_templatecompilerbase.php on line 7
|
This means it is not possible to edit Popups or set conditions for popups.
Redownloading the module & replacing the popup_settings.tpl file with the newly downloaded fixes it, since line 7 & 8 no longer contain the ' ' comma's, but the strange thing is that the file version is the same & apparently it was not automatically upgraded when upgrading the website to 4.7.2.
It is fixed now, but perhaps the correct file was not included in the X-Cart upgrade.
---- Edit
It also seems that since 4.7.2, popups will no longer follow the Location configured in the settings of the popup, the will always be located in the upper left corner of the screen, even if the Location is set to "fixed to bottom" or "fixed to right corner". I have no clue on how to fix that.
(even after removing the cache, issue still remains)