PHP Fatal error: Call to undefined function templateInit()
You need to be logged in to post messages in the forums. New users may register here.
|
Pierre Tissot
Member since: 09 January 2008
Posts: 2
|
Thursday 03 June 2010 11:37:29 am
When I was submiting the survey I had a ugly ez publish error, and in the apache I had this error:
PHP Fatal error: Call to undefined function templateInit() in /var/.../ezpublish-4.3.0/..../ezsurvey/datatypes/ezsurvey/ezsurveytype.php on line 377
To solve this i change the line 377 from:
$tpl_email = templateInit();
to:
$tpl_email = eZTemplate::instance();
and work fine.
Ez survey Version 2.1-1
Ez publish 4.3
PiR
|
|
|
Brendan Pike
Member since: 09 January 2008
Posts: 66
|
Wednesday 18 August 2010 8:02:30 am
Thanks Pierre
I experienced this also and found your fix worked. Did you report this bug?
www.dbinformatics.com.au
We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.
|
|
You need to be logged in to post messages in the forums. New users may register here.