Code được share tại freecode.com.vn
( link :http://freecode.com.vn/for@um/showthread.php?213297-share-code-sieuthibepgasgiare-vn&p=943376#post943376 )
Thuộc thư mục : Shop
Dạng code : Joomla
demo:
download:
https://drive.google.com/file/d/0B2tkj6qqZlIsOXprUm1jWlcxZzQ/edit?usp=sharing
Hình ảnh thực tế demo :
trích bài hướng dẫn của bác : Vinhson trên diễn đàn :
Code ổn định trên php 5.2
Dùng trên php >5.3 sẽ gặp lỗi.
Lỗi:
Code:
Deprecated: Assigning the return value of new by reference is deprecated in
Code:
Cách xử lý như sau, bạn hãy mở file lỗi ra, tìm đến dòng nó báo warning
tìm dòng có cấu trúc như (thủ thuật: hãy tìm những dòng có ký tự "&"):
Code:
$tên_biến = & new abc;
Bạn bỏ kí tự "&" đi là hết lỗi thôi.
Code:
http://freecode.vn/for@um/showthread.php?213758-T1B5ng-h1B3p-c31c-code-4133-share