• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Admin

Well-Known Member
Staff member
Administrator
Nếu khi cài johncms trên localhost bạn bị lỗi Invalid IP, ví dụ khi cài bằng xampp
Để khắc phục lỗi này
Vào incfiles/classes/core.php
Tìm
PHP:
$ip = ip2long($_SERVER['REMOTE_ADDR']) or die('Invalid IP');
Thay tất cả thành
PHP:
$ip = '127.0.0.1';
Đây là code core.php anh mình đã sửa
Bạn vào incfiles/classes rồi upload chèn core.php cũ là xong
Tải xuống core.php (24.93 KB)
Lưu lại là xong
Chúc các bạn thành công!
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top