tmp_cache_location + home.pl + cache error
Posted: Wed May 06, 2020 2:42 pm
I try to move website of my client to home.pl hosting (one of the largest hosting provider) and folder tmp is blocked, so I changed:
So now I have few bugs:
1. In front I have:
2. In backend, when I try edit content page:
3. When I try clear cache:
Path is correct because CMS created few files in templates folder.
PLS Help me.
Code: Select all
$config['tmp_cache_location'] = $config['root_path'].'/templates/cache';
$config['tmp_templates_c_location'] = $config['root_path'].'/templates/templates_c';
1. In front I have:
Code: Select all
The following directories must be writable by the web server:
tmp/cache
tmp/templates_c
Please correct by executing:
chmod 777 tmp/cache
chmod 777 tmp/templates_c
or the equivalent for your platform before continuing.
Code: Select all
Warning: PHP Startup: failed to open stream: No such file or directory in /modules/MicroTiny/lib/class.microtiny_utils.php on line 115
Fatal error: Uncaught CmsFileSystemException: Problem writing data to //tmp/cache/mt_e31547a1da5578a393dc5f68db6cbda8.js in /modules/MicroTiny/lib/class.microtiny_utils.php:116 Stack trace: #0 /modules/MicroTiny/lib/class.microtiny_utils.php(102): microtiny_utils::_save_static_config('//tmp/cache/mt_...', false, NULL, NULL, 'pl') #1 /modules/MicroTiny/MicroTiny.module.php(43): microtiny_utils::WYSIWYGGenerateHeader(NULL, NULL) #2 /admin/footer.php(88): MicroTiny->WYSIWYGGenerateHeader() #3 /admin/moduleinterface.php(104): include_once('/admin/footer.p...') #4 {main} thrown in /modules/MicroTiny/lib/class.microtiny_utils.php on line 116
Code: Select all
Fatal error: Uncaught UnexpectedValueException: PHP Startup: failed to open dir: No such file or directory in /lib/classes/class.CmsApp.php:505 Stack trace: #0 /lib/classes/class.CmsApp.php(505): RecursiveDirectoryIterator->__construct('/templates/cach...') #1 /admin/systemmaintenance.php(159): CmsApp->clear_cached_files(0) #2 {main} thrown in /lib/classes/class.CmsApp.php on line 505
PLS Help me.