Share » Forums » Setup & design » Problems with mailimport

Problems with mailimport

Problems with mailimport

Monday 20 July 2009 12:44:53 am - 4 replies

Author Message

Łukasz Serwatka

Monday 20 July 2009 1:27:36 am

Hi,

The error is descriptive well. The eZCLI class name is missing in the PHP autoload array. You can fix it by executing from eZ Publish root folder following command:

$ php bin/php/ezpgenerateautoloads.php -e

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

Richard Lundberg

Tuesday 21 July 2009 11:31:51 am

Thanks for the quick response.

I ran the command from the eZ Publish home directory and got the following error.

Fatal error: Class 'ezConsoleInput' not found in /var/www/vhsost/mysite/httpdocs/bin/php/ezpgenerateautoloads.php on line 48

eZ components are installed

any more pointers would be greatly appreciated.

www.peakm3.com

Richard Lundberg

Thursday 23 July 2009 4:34:45 pm

UPDATE

I have finally got ezpgenerateautoloads.php to work. I downloaded eZComponents using SVN so had to change the source code from

if ( !@include( 'ezc/Base/base.php' ) )
{
    require "ezc/Base/base.php";
}

to

if ( !@include( 'Base/src/base.php' ) )
{
    require "Base/src/base.php";
}

However, I still get the original message that Class eZCLI cannot be found

Any help welcome......

www.peakm3.com

Max Keil

Thursday 23 July 2009 5:07:24 pm

Hi Richard,

you should check your autoload/ezp_kernel.php file again, if the eZCLI Class is defined. If yes, then the cronjob or the extension is not configured correct.

Quick and dirty:
put

include_once( 'lib/ezutils/classes/ezcli.php' );

into the cronjob php file.

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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

36 542 Users on board!

Forums menu