[Solved] ispCP : An error occurred. Please contact your administrator

Posted: ตุลาคม 31, 2016 in ไม่มีหมวดหมู่

i have upgraded my server and can’t log in to ispCp. it show error massage

An error occurred. Please contact your administrator

Solution:

  1. set DEBUG mode

    vi /etc/ispcp/ispcp.conf
    DEBUG=1

  2. enter control panel to see what error.

    http://www.yoursite.com/ispcp/

    it’s show

    can’t load php5-mcrypt

  3. try this

    updatedb
    locate mcrypt.ini

    Should show it located at /etc/php5/mods-available

    locate mcrypt.so

    Edit mcrypt.ini and change extension to match the path to mcrypt.so, example:

    extension=/usr/lib/php5/20121212/mcrypt.so

  4. Now this

    php5enmod mcrypt

  5. Restart Apache

    service apache2 restart

  6. Restart php5 or php5-fpm

    service php5 restart

Ref: http://askubuntu.com/questions/460837/mcrypt-extension-is-missing-in-14-04-server-for-mysql

Advertisements

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s