jqhph / dcat-admin-ueditor Goto Github PK
View Code? Open in Web Editor NEWDcat Admin扩展 - 百度在线编辑器
License: MIT License
Dcat Admin扩展 - 百度在线编辑器
License: MIT License
Illuminate\Foundation\ComposerScripts::postAutoloadDump
PHP Fatal error: Uncaught Error: Call to undefined method Dcat\Admin\Admin::extend() in /home/vagrant/code/cms/vendor/dcat-admin-extension/ueditor/src/bootstrap.php:4
Stack trace:
#0 /home/vagrant/code/cms/vendor/composer/autoload_real.php(69): require()
#1 /home/vagrant/code/cms/vendor/composer/autoload_real.php(59): composerRequire2777f953bda6b748e883e3991ec109ce()
#2 /home/vagrant/code/cms/vendor/autoload.php(7): ComposerAutoloaderInit2777f953bda6b748e883e3991ec109ce::getLoader()
#3 /home/vagrant/code/cms/vendor/laravel/framework/src/Illuminate/Foundation/ComposerScripts.php(43): require_once('/home/vagrant/c...')
#4 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(305): Illuminate\Foundation\ComposerScripts::postAutoloadDump()
#5 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(209): Composer\EventDispatcher\EventDispatcher->executeEventPhpScript()
#6 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(96): Composer\EventDispatcher\E in /home/vagrant/code/cms/vendor/dcat-admin-extension/ueditor/src/bootstrap.php on line 4
Fatal error: Uncaught Error: Call to undefined method Dcat\Admin\Admin::extend() in /home/vagrant/code/cms/vendor/dcat-admin-extension/ueditor/src/bootstrap.php:4
Stack trace:
#0 /home/vagrant/code/cms/vendor/composer/autoload_real.php(69): require()
#1 /home/vagrant/code/cms/vendor/composer/autoload_real.php(59): composerRequire2777f953bda6b748e883e3991ec109ce()
#2 /home/vagrant/code/cms/vendor/autoload.php(7): ComposerAutoloaderInit2777f953bda6b748e883e3991ec109ce::getLoader()
#3 /home/vagrant/code/cms/vendor/laravel/framework/src/Illuminate/Foundation/ComposerScripts.php(43): require_once('/home/vagrant/c...')
#4 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(305): Illuminate\Foundation\ComposerScripts::postAutoloadDump()
#5 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(209): Composer\EventDispatcher\EventDispatcher->executeEventPhpScript()
#6 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(96): Composer\EventDispatcher\E in /home/vagrant/code/cms/vendor/dcat-admin-extension/ueditor/src/bootstrap.php on line 4
vagrant@homestead:~/code/cms$ php artisan admin:import ueditor
PHP Fatal error: Uncaught Error: Call to undefined method Dcat\Admin\Admin::extend() in /home/vagrant/code/cms/vendor/dcat-admin-extension/ueditor/src/bootstrap.php:4
Stack trace:
#0 /home/vagrant/code/cms/vendor/composer/autoload_real.php(69): require()
#1 /home/vagrant/code/cms/vendor/composer/autoload_real.php(59): composerRequire2777f953bda6b748e883e3991ec109ce()
#2 /home/vagrant/code/cms/vendor/autoload.php(7): ComposerAutoloaderInit2777f953bda6b748e883e3991ec109ce::getLoader()
#3 /home/vagrant/code/cms/artisan(18): require('/home/vagrant/c...')
#4 {main}
thrown in /home/vagrant/code/cms/vendor/dcat-admin-extension/ueditor/src/bootstrap.php on line 4
Fatal error: Uncaught Error: Call to undefined method Dcat\Admin\Admin::extend() in /home/vagrant/code/cms/vendor/dcat-admin-extension/ueditor/src/bootstrap.php:4
Stack trace:
#0 /home/vagrant/code/cms/vendor/composer/autoload_real.php(69): require()
#1 /home/vagrant/code/cms/vendor/composer/autoload_real.php(59): composerRequire2777f953bda6b748e883e3991ec109ce()
#2 /home/vagrant/code/cms/vendor/autoload.php(7): ComposerAutoloaderInit2777f953bda6b748e883e3991ec109ce::getLoader()
#3 /home/vagrant/code/cms/artisan(18): require('/home/vagrant/c...')
#4 {main}
thrown in /home/vagrant/code/cms/vendor/dcat-admin-extension/ueditor/src/bootstrap.php on line 4
/ueditor/image/{yyyy}/{mm}/{dd}/{MD5_FILE}.{EXT}
建议修改成这样吧,文件名用文件的MD5或者其他的随机值
修改 /public/vendors/dcat-admin-extensions/ueditor/php/config.json下的 videoMaxSize 已经加大为300M
php上传限制的参数已经修改为300M
视频源文件大小仅为150M
还是提示文件大小超出
虽然可以直接去改js,但会破坏ueditor源代码,也不利于在项目里有多个编辑器样式的情况。
之前用laravel-admin-extensions/UEditor,不知道这个问题有什么方案?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.