Fatal error Zarafa + Z-Push

Clarify issues about the installation

Fatal error Zarafa + Z-Push

Postby stormframe » Tue Sep 28, 2010 7:19 am

Hi,
i'm using Zarafa 6.40.0-20343 and Z-Push 1.4.2RC 473

I geht following errormessage:

Fatal error: Class name must be a valid object or a string in /usr/share/zarafa-webaccess/z-push/index.php on line 125

Code: Select all
09/22/10 15:02:40 [9921] Z-Push version: 1.4.2RC 473
09/22/10 15:02:40 [9921] Client IP: 195.243.201.20
09/22/10 15:02:40 [9921] /usr/share/zarafa-webaccess/z-push/index.php:125 Undef$
09/22/10 15:28:21 [8848] Start



Thx for help
Frame
stormframe
 
Posts: 6
Joined: Tue Sep 28, 2010 7:11 am

Re: Fatal error Zarafa + Z-Push

Postby mku » Tue Sep 28, 2010 3:22 pm

Hi Frame,

what is the value of $BACKEND_PROVIDER in the config.php? Are there any errors in apache logs?

Greets, Manfred
Try using forum search as well!
Please do not PN me asking for support. Use the forum instead. Thank you.
mku
Site Admin
 
Posts: 1239
Joined: Thu Sep 20, 2007 4:48 pm
Location: Belo Horizonte / Brazil

Re: Fatal error Zarafa + Z-Push

Postby stormframe » Tue Sep 28, 2010 6:30 pm

Hallo,

i think that the config should be ok, in the logfile of apache2 i also could not find Problems. :roll:

mfg

config.php
Code: Select all
    // The data providers that we are using (see configuration below)
    //    $BACKEND_PROVIDER = "BackendIMAP";

       $BACKEND_PROVIDER = "BackendICS";


var/log/apache2/error.log
Code: Select all
[Tue Sep 28 12:01:46 2010] [error] [client 94.100.189.220] File does not exist: /var/www/joomla, referer: http://www.uwg-moosbach.de/index.php/Entstehung-der-FUW.html
[Tue Sep 28 12:34:36 2010] [error] [client 91.10.72.237] File does not exist: /var/www/favicon.ico
[Tue Sep 28 12:34:40 2010] [error] [client 91.10.72.237] File does not exist: /var/www/favicon.ico
[Tue Sep 28 13:25:24 2010] [error] [client 62.153.229.214] File does not exist: /var/www/joomla, referer: http://www.uwg-moosbach.de/
[Tue Sep 28 17:16:05 2010] [error] [client 91.9.126.188] File does not exist: /var/www/favicon.ico
[Tue Sep 28 19:09:07 2010] [error] [client 91.10.72.237] File does not exist: /var/www/favicon.ico
[Tue Sep 28 19:09:14 2010] [error] [client 91.10.72.237] File does not exist: /var/www/favicon.ico
[Tue Sep 28 19:09:59 2010] [error] [client 95.88.148.231] File does not exist: /var/www/favicon.ico
[Tue Sep 28 19:10:00 2010] [error] [client 95.88.148.231] File does not exist: /var/www/favicon.ico
[Tue Sep 28 19:10:00 2010] [error] [client 95.88.148.231] File does not exist: /var/www/favicon.ico
[Tue Sep 28 19:17:47 2010] [error] [client 91.10.72.237] File does not exist: /var/www/favicon.ico
stormframe
 
Posts: 6
Joined: Tue Sep 28, 2010 7:11 am

Re: Fatal error Zarafa + Z-Push

Postby stormframe » Tue Sep 28, 2010 6:46 pm

Me again,

ca you tell me where this /usr/share/zarafa-webaccess/z-push/index.php get the declaration for the $backend = new $BACKEND_ICS ()

--> I do not find the $BACKEND_ICS ()


THX
stormframe
 
Posts: 6
Joined: Tue Sep 28, 2010 7:11 am

Re: Fatal error Zarafa + Z-Push

Postby dw2412 » Wed Sep 29, 2010 9:10 am

This is definition that needs to be done in config.php file.

There is a $BACKEND_PROVIDER variable that you need to change depending on your backend in use.
Using Zarafa 7.0.7b1 with my tuning patches, Z-Push AS12.1 Branch with GZip, SMS, SMime and HTML Support. Patches are available upon request and being announced on #IRC.
dw2412
 
Posts: 438
Joined: Fri Nov 28, 2008 5:35 pm
Location: Hilden, close to Duesseldorf, NRW, Germany, Europe, Earth...

Re: Fatal error Zarafa + Z-Push

Postby stormframe » Wed Sep 29, 2010 2:15 pm

Hallo,

in the config.php the $backend_provider is set to BACKENDICS
two post upper is posted the error.log and the config.php

?? Is the Config to ICS correct ??? when i'm using Zarafa Engine ??
stormframe
 
Posts: 6
Joined: Tue Sep 28, 2010 7:11 am

Re: Fatal error Zarafa + Z-Push

Postby mku » Wed Sep 29, 2010 2:45 pm

Hi Frame,

yes, $BACKEND_PROVIDER = "BackendICS"; is correct if you're using Z-Push with the Zarafa backend. Class BackendICS is in the file ics.php which is in the backend folder of your Z-Push installation.

Code: Select all
09/22/10 15:02:40 [9921] /usr/share/zarafa-webaccess/z-push/index.php:125 Undef$

It also seems that the end of the error is missing, can you post the complete line?

Have you edited the Z-Push files with some editor and line endings got broken?

Just for curiosity, you've put Z-Push under Webaccess folder, does it have some specific reason? Because Webaccess and Z-Push are actually two different programs.

Greets, Manfred
Try using forum search as well!
Please do not PN me asking for support. Use the forum instead. Thank you.
mku
Site Admin
 
Posts: 1239
Joined: Thu Sep 20, 2007 4:48 pm
Location: Belo Horizonte / Brazil

Re: Fatal error Zarafa + Z-Push

Postby stormframe » Wed Sep 29, 2010 8:31 pm

Hi,
thanks for information.
--> in my point of view is the problem the the return value is not ok.

I now have moved the folder up. For editing files is use the " NANO "

Code: Select all
09/29/10 21:22:26 [1808] Start
09/29/10 21:22:26 [1808] Z-Push version: 1.4.2RC 473
09/29/10 21:22:26 [1808] Client IP: 192.168.200.182
09/29/10 21:22:26 [1808] Access denied: no password sent.
09/29/10 21:22:26 [1808] end
09/29/10 21:22:26 [1808] --------
09/29/10 21:22:32 [1808] Start
09/29/10 21:22:32 [1808] Z-Push version: 1.4.2RC 473
09/29/10 21:22:32 [1808] Client IP: 192.168.200.182
09/29/10 21:22:32 [1808] /usr/share/z-push/index.php:125 Undefined variable: BACKEND_ICS (8)


mfg frame
stormframe
 
Posts: 6
Joined: Tue Sep 28, 2010 7:11 am

Re: Fatal error Zarafa + Z-Push

Postby dw2412 » Thu Sep 30, 2010 5:11 am

it looks like that variable $BACKEND_PROVIDER is not defined right way. Please have a look that config.php can be included and contains line:
$BACKEND_PROVIDER = "BackendICS";
like Manfred wrote in his last message. The word BackendICS is case sensitive! Please ensure that you have file ics.php in subfolder backend that must be inside the z-push main folder. This file needs to be readable by httpd daemon user.

Best regards

Andreas
Using Zarafa 7.0.7b1 with my tuning patches, Z-Push AS12.1 Branch with GZip, SMS, SMime and HTML Support. Patches are available upon request and being announced on #IRC.
dw2412
 
Posts: 438
Joined: Fri Nov 28, 2008 5:35 pm
Location: Hilden, close to Duesseldorf, NRW, Germany, Europe, Earth...

Re: Fatal error Zarafa + Z-Push

Postby stormframe » Thu Sep 30, 2010 8:30 am

Hi,
:D IT is working.
But what was the problem....

I have now removed the z-push folder --> then extracted it again. --> changed the permissions
--> changed the Provisoring ...... running.

Anyway Thx for Help

frame
stormframe
 
Posts: 6
Joined: Tue Sep 28, 2010 7:11 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron