Forums / Install & configuration / Configuring eZComponents for eZPublish

Configuring eZComponents for eZPublish

Author Message

Lane Marie

Monday 11 August 2008 10:19:09 am

I've been researching my problem all day and i still haven't a solution, so apologies if it exists and is logged somewhere - I just couldn't find it.

I'm new to EZ Publish. I downloaded the ez components, changed my php.ini (I'm using WAMP) and I'm stuck as to what to do next. How do i get EZ Publish to see the ez components? I don't understand the autoload environment requirement.

When I attempt to run the runcronjobs.php I get an error.

I tried to run the generateautoload script and I got the following error in my cmd:

Warning: require(Base/src/base.php): failed to open stream: No such file or dire
ctory in C:\wamp\www\soge\bin\php\ezpgenerateautoloads.php on line 36

Fatal error: require(): Failed opening required 'Base/src/base.php' (include_pat
h='.;C:\wamp\bin\php\php5.2.6\pear') in C:\wamp\www\soge\bin\php\ezpgenerateauto
loads.php on line 36

1) i attempted to move the components directory into the root of ez publish.
2) i attempted to create a config file as per (http://ez.ryba.eu/index.php/ez_components/ez_publish_using_ez_components_in_shared_hosting_environment)
3) i attempted to PEAR but i couldn't connect to components.ez.no

my include file has:
include_path = ".;C:\wamp\www\my_site\ezc; C:\wamp\bin\php\php5.2.6\pear;"

Please point me in the right direction.
Many thanks in advance.
M.

André R.

Monday 11 August 2008 11:11:37 pm

In that file and in autoload.php, you'll find something like:
@include( 'ezc/Base/base.php' )

Meaning that you can place ezc directly in the eZ Publish folder, so that base.php is accessible on the above path relative to the root of your eZ Publish install.

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