Hi all,
About this error with ZC 1.5.4 while you are login to your admin page
Originally Posted by
gunangler
yep the poll works fine in v 1.5.4 by commenting out lines 13-35 inclusive in file admin/includes/functions/extra_functions/function_poll_manager.php
I am find what is wrong.
The author on /admin/includes/functions/extra_functions/function_poll_manager.php about line 12
Original
PHP Code:
if (!defined(zen_get_ip_address)) {
Replace it to
PHP Code:
if (!function_exists(zen_get_ip_address)) {
then it will fix.
Why this error is since ref on
http://php.net/manual/en/function.defined.php
where the php defined is use for check the "constants"
but on line 13, it is using
PHP Code:
function zen_get_ip_address() {
So we need change it to using php function_exists() to fix it
Ref
http://php.net/manual/en/function.function-exists.php
I will post this fix to the original module plugin page to update it version.
Bookmarks