Forums / Install & configuration / ez style editor installation problems

ez style editor installation problems

Author Message

Stefan Sicurella

Friday 21 May 2010 6:16:48 am

hi,

i'm trying to install ez style editor with no luck.

i followed the installation procedure and activated the extension in the ez publish Setup

Now i tried to do step 3:

Update PHP autoload array by executing the following script from the eZ Publish root folder:

php bin/php/ezpgenerateautoloads.php -e -p

this does not work, i get an error, i know i need php5 but my provider says i have to create a .htaccess file with

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

i done this and the installation of ez publish wored

X-Powered-By: PHP/4.4.9
Content-type: text/html
<br />
<b>Parse error</b>: syntax error, unexpected ')', expecting '(' in <b>/homepages/11/d220849016/htdocs/rosemarie/bin/php/ezpgenerateautoloads.php</b> on line <b>74</b><br />

any idea?

Best

Stefan

André R.

Friday 21 May 2010 3:00:34 pm

.htaccess only works for http requests, not cli. try using "php5" instead of "php", like:

php5 bin/php/ezpgenerateautoloads.php -e -p

If not, ask your hoster how you can execute php 5 cli scripts.

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

Stefan Sicurella

Monday 24 May 2010 11:24:58 pm

i' ve done this and get:

(uiserver):u46750937:~ > php5 bin/php/ezpgenerateautoloads.php -e -p

X-Powered-By: PHP/5.2.13
Content-type: text/html
<br />
<b>Warning</b>: require(Base/src/base.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in <b>/homepages/11/d220849016/htdocs/rosemarie/bin/php/ezpgenerateautoloads.php</b> on line <b>49</b><br />
<br />
<b>Fatal error</b>: require() [<a href='function.require'>function.require</a>]: Failed opening required 'Base/src/base.php' (include_path='.:/usr/lib/php5') in <b>/homepages/11/d220849016/htdocs/rosemarie/bin/php/ezpgenerateautoloads.php</b> on line <b>49</b><br />