Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 00:53:35

Author Topic: Client domain's webmail gives blank page  (Read 6613 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Client domain's webmail gives blank page
« on: 2014-01-29, 22:27:49 »
Hi,
today i discovered that webmail.clientdomain.com gives a blank page. Checked the Apache logs and i can see error code 500. I'm using PHP55u with PHP-FPM_event. Created a simple PHP file with phpinfo() inside client domain's docroot and it works fine. Kloxo-MR web panel also works fine. I've run sh /scripts/fixweb/fix-all/restart-all without any luck. I got it working with PHP54 and mod_ruid2, but setting back to PHP55u and PHP-FPM_event, it works for a while and then gives blank page again.

Any clues?  :-\
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Client domain's webmail gives blank page
« Reply #1 on: 2014-01-29, 22:31:59 »
Look like it's related to php rather than apache. Enable display error and you will see error.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Client domain's webmail gives blank page
« Reply #2 on: 2014-01-29, 22:50:35 »
Thanks for your prompt reply  ;)
I've enabled display_errors (on) and error_reporting = E_ALL in /etc/php.ini, restarted php-fpm, but  still blank page and no output/
Just read that Roundcube enforces  E_ALL &~ (E_NOTICE | E_STRICT), not sure about it's E_ALL inclusive though.
« Last Edit: 2014-01-29, 23:04:52 by Mella »
Kloxo-MR!

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Client domain's webmail gives blank page
« Reply #3 on: 2014-01-29, 23:13:54 »
I've with will introduced an error in a file inside client domains docroot and i can see the error displayed on the page, so error_reporting = E_ALL works fine.
Tested with Afterlogic, same issue so it's not limited to Roundcube. I'll investigate a bit more.

My findings so far using PHP55u and PHP-FPM:
 Afterlogic error: blank page, but error in the log:
FastCGI: server "/home/kloxo/httpd/webmail/afterlogic/webmail.clientdomain.com.1fake" stderr: PHP message: PHP Fatal error:  Call to undefined function json_encode() in /home/kloxo/httpd/webmail/afterlogic/libraries/afterlogic/common/managers/integrator/manager.php on line 957.

Roundcube: blank page, no error in the log

SquirrelMail: works fine!

N-th update/edit: might look like php55u-pecl-jsonc was the missing link, but i will let it go for some time and see.
« Last Edit: 2014-01-29, 23:45:09 by Mella »
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Client domain's webmail gives blank page
« Reply #4 on: 2014-01-29, 23:56:35 »
Maybe they are not compatible php55u. Try using php54 or php53u.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Client domain's webmail gives blank page
« Reply #5 on: 2014-01-31, 10:37:29 »
I got it working finally :)
Thanks!
Kloxo-MR!

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.028 seconds with 19 queries.

web stats analysis