Fatal error: require_once(): Failed opening required '[...]/administrator/includes/toolbar.php' (include_path='.:/usr/lib/php7.2') in [...]/templates/[theme_name]/app/index.php on line 25
Dopo l'aggiornamento di Joombla si riceve errore 500 quando si va in modifica del template Themler
- Open theme folder on the server:
www/Joomla_directory/templates
; - open
/app
folder; - open
index.php
for editing in any html or text editor; - find the line
require_once JPATH_BASE . DS . 'includes' . DS . 'toolbar.php';
and replace it with the following line:$prefix = version_compare(JVERSION, '3.9', '>=') ? 'sub' : '';
;
require_once JPATH_BASE . DS . 'includes' . DS . $prefix . 'toolbar.php'; - open
/app/start
folder; - open
data.php
file for editing and follow step 4; - open
manifest.php
file for editing and follow step 4; - start Themler.
https://answers.themler.io/articles/173620/how-to-fix-the-error-after-updating-to-joomla-3-9
Commenti
0 commenti
Accedi per aggiungere un commento.