Table of Contents
回复讨论(解决方案)
Home Backend Development PHP Tutorial ueditor的问题后端配置项没有正常加载,上传插件不能正常使用

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

Jun 20, 2016 pm 12:34 PM

做好的网站,后台文章模块用了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 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

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

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Working with Flash Session Data in Laravel Working with Flash Session Data in Laravel Mar 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-

cURL in PHP: How to Use the PHP cURL Extension in REST APIs cURL in PHP: How to Use the PHP cURL Extension in REST APIs Mar 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.

Simplified HTTP Response Mocking in Laravel Tests Simplified HTTP Response Mocking in Laravel Tests Mar 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' =>

12 Best PHP Chat Scripts on CodeCanyon 12 Best PHP Chat Scripts on CodeCanyon Mar 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

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 Analysis PHP Logging: Best Practices for PHP Log Analysis Mar 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

HTTP Method Verification in Laravel HTTP Method Verification in Laravel Mar 05, 2025 pm 04:14 PM

Laravel simplifies HTTP verb handling in incoming requests, streamlining diverse operation management within your applications. The method() and isMethod() methods efficiently identify and validate request types. This feature is crucial for building

Discover File Downloads in Laravel with Storage::download Discover File Downloads in Laravel with Storage::download Mar 06, 2025 am 02:22 AM

The Storage::download method of the Laravel framework provides a concise API for safely handling file downloads while managing abstractions of file storage. Here is an example of using Storage::download() in the example controller:

See all articles