Answer the question
In order to leave comments, you need to log in
Why doesn't ckeditor work in Symfony2 after uploading to hosting?
Installed ckeditor in symfony2 using IvoryCKEditorBundle according to official documentation. The site has been uploaded to hosting. This hosting features:
3. Be sure to copy the files and directories of the system to the main directory of the site, but at the same time all the contents of the /web folder should also be placed in the main directory.
4. Next, in the app.php and app_dev.php files, you need to change the lines:
$loader = require_once __DIR__.'/../app/bootstrap.php.cache'; require_once __DIR__.'/../app/AppKernel.php';
on the:
$loader = require_once __DIR__.'/app/bootstrap.php.cache'; require_once __DIR__.'/app/AppKernel.php';
In the config.php file:
require_once dirname(__FILE__).'/../app/SymfonyRequirements.php';
change the line to:
require_once dirname(__FILE__).'/app/SymfonyRequirements.php';
Answer the question
In order to leave comments, you need to log in
Firstly, you may not have set the statics with the team assets:install
or assetic:dump
on the hosting.
Secondly, it's better to take an inexpensive VPS and test on it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question