Thẻ div sử dụng background image. Để background không bị biến dạng và vẫn sử dụng image đó, tiến hành set padding-bottom % theo tỉ lệ.
[imgHeight/imgWidth] %
div.contain{
padding:0;
padding-bottom:66%;
}
Thẻ div sử dụng background image. Để background không bị biến dạng và vẫn sử dụng image đó, tiến hành set padding-bottom % theo tỉ lệ.
[imgHeight/imgWidth] %
div.contain{
padding:0;
padding-bottom:66%;
}
1. Backup all site
2. Scan source Code, scan database
3. Cron Jobs: check and remove each job.
Beware: cron job backup site or statistics
Đối với site thông thường thì Cron Job là trống không có cái nào
Để backup và restore Wordpress site bằng plugin Duplicator miễn phí, sau khi tạo ra file .zip có hể download hoặc di chuyển qua host khác. Tiến hành install là hoàn thành.
Plugin Back up khác WP All In One
Phát hiện lỗi: khi upgrade joomla 4 lên joomla 5, lưu article xuất hiện lỗi
Save failed with the following error: Joomla\Component\Finder\Administrator\Table\MapTable::_getNode(1, id) failed.
Giải pháp: sử dụng phpmyadmin INSERT INTO `#_finder_taxonomy` (`id`, `parent_id`, `title`, `state`, `access`, `lft`, `rgt`) VALUES (1, 0, 'ROOT', 1, 1, 0, 1);
Nguyên nhân table #_finder_taxonomy thiếu 1 record không có dữ liệu ROOT
Link test php XAMPP local: https://localhost/dashboard/phpinfo.php
1. Rename php to php_old
2. Download PHP8.5 from: https://www.php.net/downloads
3. Unzip and rename folder
4. Copy php.ini from php_old to new
5. Copy extras from php_old to new
The simplest solution
Check and good luck
XAMPP 3.3.0
SET FOREIGN_KEY_CHECKS = ON;
#2006 - MySQL server has gone away
Open mysql.ini
[mysqld]
max_allowed_packet=1M -> max_allowed_packet=32M


