Home >Backend Development >PHP Problem >What to do if ueditor upload error occurs in php

What to do if ueditor upload error occurs in php

coldplay.xixi
coldplay.xixiOriginal
2021-03-03 17:46:292231browse

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] .

What to do if ueditor upload error occurs in php

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn