Actions
解析Bug #36
closed
XF
XF
Display the irregular text (strtoupper("LARGE ")) when exporting to Excel
解析Bug #36:
Display the irregular text (strtoupper("LARGE ")) when exporting to Excel
Description
Task Details
- The irregular text (strtoupper("LARGE ")) is displayed in the [Extra Info] excel column.
- New OTS->NG [attachment:OrderReport (8月).xls]
- Old OTS->OK [attachment:OrderReport (18).xls]
- Report and Solution
Others
Files
XF Updated by Xihua Fan over 5 years ago
- File OrderReport (18).xls OrderReport (18).xls added
- File OrderReport (8月).xls OrderReport (8月).xls added
- Copied from 运维支持 #3: Do system maintenance of our OTS website (order.easydingzhi.com) regularly added
XF Updated by Xihua Fan over 5 years ago
- Copied from deleted (运维支持 #3: Do system maintenance of our OTS website (order.easydingzhi.com) regularly)
XF Updated by Xihua Fan over 5 years ago
- % Done changed from 10 to 100
Analysis results and solution:¶
- Reason:
preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead.
So we can't use php code(eg. strtoupper) in preg_replace().
- New Solution:
Change to a new html2text (https://github.com/mtibben/html2text)
YII Error Log (/order/protected/runtime/application.log)¶
XF Updated by Xihua Fan over 5 years ago
- Status changed from 进行中 to 已关闭
XF Updated by Xihua Fan over 1 year ago
- Target version set to v3.0
Actions