search
HomeBackend DevelopmentPHP Tutorialueditor的问题后端配置项没有正常加载,上传插件不能正常使用

做好的网站,后台文章模块用了ueditor编辑器,可以上传图片和附件。但是,当网站上线后,测试的时候,发现里面的上传单张图片按钮成灰色,无法点击,而上传多张图片按钮和上传附件按钮可以点击,但是提示错误:后端配置项没有正常加载,上传插件不能正常使用。
请问各位大神,如何解决该问题?需要详细的步骤哦,谢谢!
附图如下:


回复讨论(解决方案)

都提示你后端配置没有正常加载造成的。。检查一下
看看是不是路径变了什么的。。。

路径没有动过额,有没有也遇到过同样的问题呢?

没有动过不代表没有问题,毕竟可能你本地的环境与线上的环境不一样。

1、检查加载配置项路径是否有问题。
2、在firebug 控制台下看有没有错误信息。

路径没有动过额,有没有也遇到过同样的问题呢?


感谢您的回答,我试试看

路径没有动过额,有没有也遇到过同样的问题呢?


感谢您的回答,我试试看

路径没有动过额,有没有也遇到过同样的问题呢?


感谢您的回答,我试试看

我遇到过    把路径改一下     URL = "/ueditor/";//这里你可以配置成ueditor目录在您网站的相对路径或者绝对路径(指以http开头的绝对路径)

这里用相对路径   

我遇到过    把路径改一下     URL = "/ueditor/";//这里你可以配置成ueditor目录在您网站的相对路径或者绝对路径(指以http开头的绝对路径)

这里用相对路径   


好的,3Q

你好。。我也遇到了同样的问题。。你解决了么。。求教?

请问怎么解决的呀,,?

我也遇到这个问题了,.net版本的,下载的demo里面那个index.html,我直接打开就不行,但是在VS2013里面浏览器打开就没有任何问题郁闷啊,求大神解答!!!

请问楼上各位问题解决了么,我也遇到了相同的问题,揪心那?

请问楼上各位问题解决了么,我也遇到了相同的问题,揪心那?

问题已解决,路径的问题,1.你要保证你的服务器上有Newtonsoft.json.dll的引用(这个很重要)2.根据官网文档,保证上传路径的配置没错

前街的小裤衩lsboot这个博客已经有解决方案了

百度Ueditor 开发的一个疏忽导致的,  因为很多正式环境对大小写敏感。

打开ueditor下的php/controller.php,(其他环境选对应的文件夹)把时区设置按如下改个字母大小写,再打开该文件就正确返回json。然后,ueditor就不会报“后台配置项没有正常加载,上传插件将不能正常使用!”了

原来设置的是:
date_default_timezone_set("Asia/chongqing");
把重庆的首字母改成大写,就可以了:
date_default_timezone_set("Asia/Chongqing");

按照15楼的说法真的成功了

请问楼主解决了  可以告诉下我怎么解决的么  我的是jsp版本的

请问楼主解决了  可以告诉下我怎么解决的么  我的是jsp版本的
跪求帮忙

请问jsp版的解决了没

我也遇到同样的问题,大家解决没有

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
Working with Flash Session Data in LaravelWorking with Flash Session Data in LaravelMar 12, 2025 pm 05:08 PM

Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

Build a React App With a Laravel Back End: Part 2, ReactBuild a React App With a Laravel Back End: Part 2, ReactMar 04, 2025 am 09:33 AM

This is the second and final part of the series on building a React application with a Laravel back-end. In the first part of the series, we created a RESTful API using Laravel for a basic product-listing application. In this tutorial, we will be dev

Simplified HTTP Response Mocking in Laravel TestsSimplified HTTP Response Mocking in Laravel TestsMar 12, 2025 pm 05:09 PM

Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

cURL in PHP: How to Use the PHP cURL Extension in REST APIscURL in PHP: How to Use the PHP cURL Extension in REST APIsMar 14, 2025 am 11:42 AM

The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

12 Best PHP Chat Scripts on CodeCanyon12 Best PHP Chat Scripts on CodeCanyonMar 13, 2025 pm 12:08 PM

Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

Notifications in LaravelNotifications in LaravelMar 04, 2025 am 09:22 AM

In this article, we're going to explore the notification system in the Laravel web framework. The notification system in Laravel allows you to send notifications to users over different channels. Today, we'll discuss how you can send notifications ov

Explain the concept of late static binding in PHP.Explain the concept of late static binding in PHP.Mar 21, 2025 pm 01:33 PM

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

PHP Logging: Best Practices for PHP Log AnalysisPHP Logging: Best Practices for PHP Log AnalysisMar 10, 2025 pm 02:32 PM

PHP logging is essential for monitoring and debugging web applications, as well as capturing critical events, errors, and runtime behavior. It provides valuable insights into system performance, helps identify issues, and supports faster troubleshoot

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version