Forums / General / Fatal error after adding a new extension

Fatal error after adding a new extension

Author Message

Viktor Juhász

Saturday 12 September 2009 12:18:09 pm

Hi!

When I try to add a new extension, I always get a fatal error after I push "Apply changes" button:

<i><b>Fatal error:</b> eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.</i>

The "Regenerate autoload arrays for extensions" button makes the same error.

The eZ and the Apache log files are not content any error about it.

I'm using eZ 4.1.3 with eZ Components 2009.1.2.

Any idea?

Christian Rößler

Saturday 12 September 2009 3:31:15 pm

Hi,

strange that even ezpublish-errorlog does not contain any information about that error. so we are a bit struggled here.

a few questions:

a) can you activate other extensions or does it throws errors too
b) has your webserver-user proper permissions to write and create files in the settings/override and/or settings/siteaccess/xxx folders and files
c) also make sure the files in var/autoloads/* are writeable by the webserver-user

if everything fails, try to activated the extension manually by editing the proper files (site.ini.append.php in settings/override as example) and then run 'php bin/php/ezpgenerateautoloads.php' in the shell (i assume you are using linux as server).

btw: what extension are you trying to install? perhaps there is a known issue somewhere.

lets hear how things are going and don't hesitate to check back ...

cheers,
chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Stéphane Couzinier

Sunday 13 September 2009 2:09:56 pm

hi
you will find the real error in the php error log
or just enable php to display error:
at the top of the index.php add
error_reporting(E_ALL);
ini_set("display_errors", 1);

http://www.kouz-cooking.fr

Geoff Bentley

Sunday 13 September 2009 10:18:03 pm

2 suggestions:

1. Try clearing the cache - either via the admin interface, or via by running the command-line script in /bin/php/ezcache.php --clear-all

2. Check your DB permissions your user has - http://ez.no/developer/forum/install_configuration/mysql_database_privileges

Łukasz Serwatka

Monday 14 September 2009 12:17:42 am

Most likely it is eZ Components related issue as extension activation mechanism require it. However you have to first change error reporting as suggested above to get more details.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog