Home >Backend Development >PHP Problem >What to do if ueditor upload error occurs in php
Solution to ueditor upload error in php: 1. It may be a time zone setting problem, some systems are case-sensitive; 2. [page_trace] may be turned on, change it to ['SHOW_PAGE_TRACE' =>false] .
The operating environment of this tutorial: Windows 7 system, PHP version 5.6, DELL G3 computer.
Solution to ueditor upload error in php:
1, it may be a time zone setting problem, some systems are case-sensitive.
date_default_timezone_set("Asia/chongqing");
is changed to
date_default_timezone_set("Asia/chongqing");
2, it is possible that page_trace
is turned on. Just change
'SHOW_PAGE_TRACE' =>true
to
'SHOW_PAGE_TRACE' =>false
.
Or change the echo to die() when outputting json
Related video recommendations: PHP video tutorial
The above is the detailed content of What to do if ueditor upload error occurs in php. For more information, please follow other related articles on the PHP Chinese website!