Path

ez projects / ezsurvey_ezp4 / forum / general / automatic installation (wiz... / re: automatic installation...


Automatic installation (wizard)

You need to be logged in to post messages in the forums. New users may register here.

Anthony M.

Member since:
09 January 2008

Posts: 14

Wednesday 23 November 2011 12:28:04 pm

Hi,
i want to install automatically the ezsurvey with the wizard, but when i go in the tabs 'Survey', i haven't the wizard...
Do you know why ? (of course i activate the extension in the ini file)

My ezpublish version is 4.4.0.

Thanks a lot

Anthony

Up

Bjørn Reiten

Member since:
22 February 2008

Posts: 39

Wednesday 23 November 2011 1:14:21 pm

Have you runned the script to generate PHP autoloads?




php bin/php/ezpgenerateautoloads.php --extension



Up

Anthony M.

Member since:
09 January 2008

Posts: 14

Wednesday 23 November 2011 2:15:19 pm

yes i have made this and the result is :



Scanning for PHP-files.


 

Scan complete. Found 173 PHP files.


 

Searching for classes (tokenizing).


 

Found 71 classes, added 71 of them to the autoload array.




Is there anything else to do ?

Anthony

Up

Anthony M.

Member since:
09 January 2008

Posts: 14

Wednesday 23 November 2011 2:21:09 pm

i don't know if i have eZ Components installed... how can i know that ?

is this component really important to install ezsurvey ?

thanks

Anthony

Up

Anthony M.

Member since:
09 January 2008

Posts: 14

Wednesday 23 November 2011 2:25:13 pm

I see the components are located in lib/ezc, so i think it's good for this installation.

Anthony

Up

Anthony M.

Member since:
09 January 2008

Posts: 14

Wednesday 23 November 2011 2:55:59 pm

In the error.log, i have this :




eZMySQLDB:


Query error: Table 'ezpublish44.ezsurvey' doesn't exist. Query: SELECT ezcontentobject.id AS contentobject_id,


                        ezcontentobject_attribute.language_code as contentobjectattribute_language_code,


                        ezcontentobject.name,


                        ezsurvey.*


                 FROM ezsurvey, ezcontentobject, ezcontentobject_attribute


                 WHERE ezcontentobject_attribute.data_type_string='ezsurvey' AND


                       ezsurvey.id=ezcontentobject_attribute.data_int AND


                       ezcontentobject_attribute.contentobject_id=ezcontentobject.id AND


                       ezcontentobject.current_version=ezcontentobject_attribute.version AND


                       ezcontentobject.status=1


                 ORDER BY ezcontentobject.id DESC, ezcontentobject.current_version DESC




but it's normal because this is the wizard which create the tables...

Anthony

Up

Anthony M.

Member since:
09 January 2008

Posts: 14

Wednesday 23 November 2011 4:37:57 pm

i would like to create manually the 2 classes "Survey" and "Survey Attribute" but i don't know the parameters of these classes (class name, identifier, object name pattern...) and the details of the attributes for each classes ?

Thanks a lot

Anthony

Up

Bjørn Reiten

Member since:
22 February 2008

Posts: 39

Wednesday 23 November 2011 4:55:50 pm

I think you will find the information you need in the file:

extension/ezsurvey/doc/INSTALL

You'll also find the package for the content classes in:
extension/ezsurvey/packages/

Bjørn
Up

Anthony M.

Member since:
09 January 2008

Posts: 14

Wednesday 23 November 2011 5:01:29 pm

I already see that but it's not complete, there isn't the identifier for each attribute, can i write what i want as identifier for XML block", "Text block" or "Text entry" ?

Anthony

Up

Anthony M.

Member since:
09 January 2008

Posts: 14

Wednesday 23 November 2011 5:16:47 pm

With the package, i have this error :




Fatal error: Maximum execution time of 1000 seconds exceeded in /var/www/myserver.com/lib/ezc/Archive/src/utils/checksums.php on line 57


Fatal error: eZ Publish did not finish its request


Anthony

Up

Anthony M.

Member since:
09 January 2008

Posts: 14

Thursday 24 November 2011 3:42:48 pm

Nobody can help me ?

Anthony

Up

You need to be logged in to post messages in the forums. New users may register here.