Jump to content

Fix Lỗi Invalid IP Khi Cài JohnCMS

Featured Replies

Posted
comment_34

Đây là lỗi thường xuyên gặp phải khi cài JohnCMS. Cách fix cũng rất đơn giản

Vào incfiles/classes/core.php tìm:

$ip = ip2long($_SERVER['REMOTE_ADDR']) or die('Invalid IP');

Thay tất cả thành:

$ip = '127.0.0.1';

Chúc các bạn thành công!  😊

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...