Share » Forums » Install & configuration » PEAR installation of a previous...

PEAR installation of a previous version of eZComponents

PEAR installation of a previous version of eZComponents

Monday 21 July 2008 12:22:14 am - 16 replies

Modified on Monday 21 July 2008 12:26:58 am by Jeremy A

Author Message

Derick Rethans

Monday 21 July 2008 12:41:07 am

Please see this thread on the mailing list:
http://thread.gmane.org/gmane.comp.web.ezcomponents.devel/3858

Jeremy A

Monday 21 July 2008 2:26:11 am

Thanks a lot,

For others :
# pear install ezc/ezcomponents-2007.1
should be ok.

Jeremy A

Monday 21 July 2008 3:37:35 am

I met some problems.

Do eZComponents 2007.2 is compatible with eZP 4 ?

André R.

Monday 21 July 2008 4:02:47 am

Should be, as it was the version that where out when ezp 4.0 was launched.
You should probably use 2007.2.1 though, since it's a fix version for 2007.2 that fixes some issues in Base:
http://ezcomponents.org/files/downloads/ezcomponents-2007.2.1.changelog.html

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jeremy A

Monday 21 July 2008 8:16:04 am

I installed this version, but I still have this error

"Fatal error: Class 'ezcFile' not found in /var/www/vhosts/xxxxxxxxx/httpdocs/lib/ezutils/classes/ezautoloadgenerator.php on line 283
Fatal error: eZ Publish did not finish its request "

When I want to enabled a new extension.

For a package installation (.tar.bz2) I have to unzip it in the web root directory (with autoload,bin,cronjobs,design,extension,settings...) or in the PEAR directory ?

André R.

Monday 21 July 2008 9:11:25 am

And you placed the components so BASE ends up like this inside to the ezp installation:

ezc/Base/base.php
or
Base/src/base.php

?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jeremy A

Tuesday 22 July 2008 5:16:10 am

Actually I can't install it by PEAR.
I choose the tar package method. But the installation documentation is very short :

Download of Archives
The packaged releases of eZ components can be downloaded as .tar.bz2 or .zip archive from the download page. The bundles that we offer for download always include the whole library.

I don't know where to put the unzipped archive ? in the website root ? Must I rename into 'ezc' ?
I have tried to find in the source code where 'ezcFile' class were loaded, but I did not find.

Thank you for giving me more details about installing from archives.

Jeremy A

Tuesday 22 July 2008 6:54:10 am

Finally I put the absolute path instead of the relative one, and it works : but I don't really know what I am supposed to see after ?
In Admin > Extension, I ticked extensions I want to install, then press the button "Apply changes", and I am redirected to the same page, and extensions and ticked.

Please can somebody confirm it ?

André R.

Tuesday 22 July 2008 6:59:15 am

in autoload/ezp_extension.php you should now be able to see the (php) classes used in the extensions.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jeremy A

Tuesday 22 July 2008 7:33:53 am

Arght.. no, I don't see them.
If I add php classes and path in this file it could be ok ?

André R.

Tuesday 22 July 2008 1:08:02 pm

yes. then you can activate the extensions manually in site.ini as well.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jeremy A

Wednesday 23 July 2008 5:17:16 am

I added

 'addcollabruleInfo'         => 'extension/addcollabrule/ezinfo.php', 

(the extension I'd like to use) in autoload/ezc_extension.php
And in site.ini, <i>ActiveExtensions</i> well contains addcollabrule.

But the extension still does not work.

Which other files should I edit ?

Thank you.

André R.

Wednesday 23 July 2008 6:22:13 am

Ok, maybe it's time to define what 'Still does not work' means,what is this extension supposed to do and what does not work?

The thing you just did, should at least make it appear when you go to /ezinfo/about page with info on the extension, does it?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jeremy A

Wednesday 23 July 2008 7:47:15 am

The extension is <i>addcollabrule</i> : http://projects.ez.no/addcollabrule "Add collaboration notification rules when a user registers "

According to the flash movie (http://pubsvn.ez.no/addcollabrule_config.htm), when I create a new workflow, I should have the two more items "Event/Add collab. rule" and "Event/ Approve membership".
But I don't have them. That explain "still does not work".

<i>ezinfo/about</i> doesn't give me expected extensions :

Extensions
The following is a list of the extensions that have been loaded at run-time by this copy of eZ Publish.
    * name: eZ Online Editor 
          [...]
    * Name: eZ OpenOffice.org extension
          [...]
    * Name: eZ Publish Website Interface
          [...]

I don't understand why I can't see addcollabrule extension ezinfo ?! (the file is present)

Jeremy A

Thursday 24 July 2008 8:31:56 am

Resolved.
I move ezc directory to the web root instead of pear root, and it's ok :)

André R.

Thursday 24 July 2008 8:46:14 am

yes, that would help a lot :)

ref:

And you placed the components so BASE ends up like this inside to the ezp installation:

ezc/Base/base.php
or
Base/src/base.php

?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

36 542 Users on board!

Forums menu