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-29, 02:04:23

Author Topic: [SOLVED] Problem Imap Gmail  (Read 5344 times)

0 Members and 1 Guest are viewing this topic.

Offline co_muda

  • Valuable Member
  • *
  • Posts: 55
  • Karma: +0/-0
    • View Profile
    • http://www.bobbysiagian.com
[SOLVED] Problem Imap Gmail
« on: 2016-08-23, 10:08:24 »
Hi All,

Saya menggunakan fitur imap untuk get inbox dari gmail, namun problem terjadi.
Apakah di kloxo sudah enable fitur imap ?

Fatal error: Call to undefined function imap_open() in /home/admin/cs.garena.co.id/otrsid/new/application/modules/admin/controllers/AutoEmail.php on line 62
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/admin/cs.garena.co.id/otrsid/new/application/modules/admin/controllers/AutoEmail.php:62)

Filename: core/Common.php

Line Number: 573

Backtrace:

A PHP Error was encountered

Severity: Error

Message: Call to undefined function imap_open()

Filename: controllers/AutoEmail.php

Line Number: 62

Backtrace:


Biasanya dengan apache, hanya perlu mengubah ini menjadi enable, extension=php_imap.dll

Bagaimana dengan di kloxo ?
« Last Edit: 2016-08-24, 06:14:55 by co_muda »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problem Imap Gmail
« Reply #1 on: 2016-08-23, 13:05:19 »
Jika anda pakai Kloxo-MR 7.0, lihat di 'php modules status'. Lakukan enable/disable di situ.

Umumnya module ini sudah enable di php.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline co_muda

  • Valuable Member
  • *
  • Posts: 55
  • Karma: +0/-0
    • View Profile
    • http://www.bobbysiagian.com
Re: Problem Imap Gmail
« Reply #2 on: 2016-08-23, 13:21:38 »
saya masih pakai ver 6.5 Pak,

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problem Imap Gmail
« Reply #3 on: 2016-08-23, 13:27:53 »
saya masih pakai ver 6.5 Pak,

Coba saja periksa pakai 'php -m' untuk lihat daftar module dari php yang terinstall.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline co_muda

  • Valuable Member
  • *
  • Posts: 55
  • Karma: +0/-0
    • View Profile
    • http://www.bobbysiagian.com
Re: Problem Imap Gmail
« Reply #4 on: 2016-08-23, 13:35:48 »
Sudah Pak,

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
geoip
gettext
gmp
hash
iconv
json
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

Tapi tidak ada imap, jadi sudah saya coba install php-imap , ada error begini :

Transaction Check Error:
  file /etc/php.ini from install of php-common-5.3.3-48.el6_8.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/curl.so from install of php-common-5.3.3-48.el6_8.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/fileinfo.so from install of php-common-5.3.3-48.el6_8.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/json.so from install of php-common-5.3.3-48.el6_8.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/phar.so from install of php-common-5.3.3-48.el6_8.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/zip.so from install of php-common-5.3.3-48.el6_8.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problem Imap Gmail
« Reply #5 on: 2016-08-23, 13:55:20 »
Ya installnya dengan 'yum install php53u-imap'. Kalau yang anda pakai ('yum install php-imap') ya 'dijamin' conflict.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline co_muda

  • Valuable Member
  • *
  • Posts: 55
  • Karma: +0/-0
    • View Profile
    • http://www.bobbysiagian.com
Re: Problem Imap Gmail
« Reply #6 on: 2016-08-24, 05:56:30 »
Wah iya bener,
thanks Pak, Solved.

Offline co_muda

  • Valuable Member
  • *
  • Posts: 55
  • Karma: +0/-0
    • View Profile
    • http://www.bobbysiagian.com
Re: [SOLVED] Problem Imap Gmail
« Reply #7 on: 2016-08-24, 10:48:50 »
Tambahan lagi Pak Mus,

Mengatasi 500 Internal Server Error untuk proses imap ini gimana ya Pak ?
UNtuk jumlah yang sedikit, tidak ada masalah. Ratusan email jadi error.

Untuk hal ini, saya sudah coba custom max exec php, naikin memory limit seperti yg ada di PHP Config maupun secara coding.

Ada solusi Pak ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [SOLVED] Problem Imap Gmail
« Reply #8 on: 2016-08-24, 11:44:00 »
Tambahan lagi Pak Mus,

Mengatasi 500 Internal Server Error untuk proses imap ini gimana ya Pak ?
UNtuk jumlah yang sedikit, tidak ada masalah. Ratusan email jadi error.

Untuk hal ini, saya sudah coba custom max exec php, naikin memory limit seperti yg ada di PHP Config maupun secara coding.

Ada solusi Pak ?
Mungkin ini terkait timeout.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline co_muda

  • Valuable Member
  • *
  • Posts: 55
  • Karma: +0/-0
    • View Profile
    • http://www.bobbysiagian.com
Re: [SOLVED] Problem Imap Gmail
« Reply #9 on: 2016-08-24, 17:22:07 »
Saya sudah coba semua termasuk di coding, namun seperti nya masih terus 500 internal server error Pak.

Sekedar info sys:
A. Kloxo-MR: 6.5.0.f-2016072201

B. OS: CentOS release 6.8 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.50-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.11.3-1.el6.ngx.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
   7. Dns: bind-9.9.7-1.mr.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         15941       4082      11858          0        194       2052
   -/+ buffers/cache:       1836      14105
   Swap:        15999          0      15999


Dengan menggunakan php-fpm, dimana saya harus set timeout tsb ya Pak ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [SOLVED] Problem Imap Gmail
« Reply #10 on: 2016-08-24, 17:52:35 »
Kalau di Kloxo-MR 7.0, anda cukup atur di 'web features'. Pada 6.5, anda harus lakukan customize pada domains.conf.tpl.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline co_muda

  • Valuable Member
  • *
  • Posts: 55
  • Karma: +0/-0
    • View Profile
    • http://www.bobbysiagian.com
Re: [SOLVED] Problem Imap Gmail
« Reply #11 on: 2016-08-25, 09:13:45 »
Ok Pak thanks,
saya coba dulu

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.046 seconds with 18 queries.

web stats analysis