Google Apps wont work

Issue #184 resolved
Former user created an issue

When I add the four lines of code to the config-sites.php file for Google Apps, Mailpiler wont start. I see the following in the nginx log file:

Stack trace: #0 /var/www/piler.x.com/system/startup.php(19): require_once() #1 /var/www/piler.x.com/index.php(8): require('/var/www/piler....') #2 {main} thrown in /var/www/piler.x.com/google-api/apiClient.php on line 20" while reading response header from upstream, client: 10.1.2.20, server: piler.x.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "piler.x.com" 2013/10/29 10:02:25 [error] 2453#0: *13 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Exception' with message 'Google PHP API Client requires the CURL PHP extension' in /var/www/piler.x.com/google-api/apiClient.php:20 Stack trace: #0 /var/www/piler.x.com/system/startup.php(19): require_once() #1 /var/www/piler.x.com/index.php(8): require('/var/www/piler....') #2 {main} thrown in /var/www/piler.x.com/google-api/apiClient.php on line 20" while reading response header from upstream, client: 10.1.2.20, server: piler.x.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "piler.x.com"

Comments (4)

  1. Karsten Bandlow

    In last commit you remove this line from gmail-imap -if(isset($_SERVER['argv'][1])) { $webuidir = $_SERVER['argv'][1]; }

    So GMAIL Import doesnt run anymore. Do I change the configuration in another way?

  2. Log in to comment