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
Release: 2023-03-08 12:26:01
Original
2221 people have browsed it

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");
Copy after login

is changed to

date_default_timezone_set("Asia/Chongqing");
Copy after login

2, it is possible that page_trace is turned on. Just change

'SHOW_PAGE_TRACE' =>true
Copy after login

to

'SHOW_PAGE_TRACE' =>false
Copy after login

.

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template