ezsurvey - function not registered

ezsurvey - function not registered

Tuesday 02 May 2006 1:37:16 am - 7 replies

Author Message

Xavier Dutoit

Tuesday 02 May 2006 2:53:45 am

ez 3.7 doesn't work (properly) in a php 4.3 environment. You should use ez 3.6 instead.

X+

http://www.sydesy.com

paolo tikulin

Wednesday 03 May 2006 12:06:37 am

Hello,

I've got the same problem of Nathalie in the ezSurvey (Function "survey_question_view_gui" is not registered),
here my configuration:

OS: Linux Debian 3.1
eZpublish: 3.7.2
PHP 4.4.2

I also applied the changes suggested by Kristof, nothing change...

Should I decrease eZ and PHP version or have someone another solution?

Thanks

Kristof Coomans

Wednesday 03 May 2006 1:40:52 am

Did you clear all caches after enabling the extension? That maybe solves the problem with the undefined survey_question_view_gui template functions.

Can you post any parser errors, they can be helpful to investigate what goes wrong.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Nathalie Grimaud

Wednesday 03 May 2006 2:03:17 am

Hi Kristof,

all the caches have been cleared, when I try to edit a survey I've got :

<i>parser error @ extension/ezsurvey/design/standard/templates/survey/edit.tpl:107[0]
Unterminated tag "survey_question_edit_gui" does not match tag "section"</i>
in the error log

and

<i>Function "survey_question_edit_gui" is not registered</i>
in the warning log

Kristof Coomans

Wednesday 03 May 2006 4:36:26 am

I couldn't reproduce your problem at an eZ publish 3.8 site.

Do you have an override in settings/override or settings/[yoursiteaccessname]/override for site.ini with something like this:

[TemplateSettings]
ExtensionAutoloadPath[]
ExtensionAutoloadPath[]=...

Then remove the line <i>ExtensionAutoloadPath[]</i> from that file.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Nathalie Grimaud

Wednesday 03 May 2006 5:49:44 am

Kristof,

I can't find the word to tell you how happy I am thanks to you because you just solved my problem !

I had a <i>ExtensionAutoloadPath[]</i> in my override/site.ini added by someone else working on the project.

So now ezsurvey works fine with
eZpublish: 3.7.2
PHP 4.4.2

Thank you so much
Nathalie

Kristof Coomans

Wednesday 03 May 2006 6:51:29 am

You're welcome ;)

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.