If I want to edit a template with Themler under Extension Templates I get the error message:

marco.tapia
20 Posts
marco.tapia posted this 12 April 2020

PHP-Version 7.4.3
Joomla! 3.9.16 Stable

If I want to edit a template with Themler under Extension Templates I get the error message:

Warning: require_once(/var/www/xxxxx/html/administrator/includes/toolbar.php): failed to open stream: No such file or directory in /var/www/xxxxx/html/templates/app/index.php on line 25

Fatal error: require_once(): Failed opening required '/var/www/xxxxx/html/administrator/includes/toolbar.php' (include_path='.:/opt/php/7.4.3/share/pear') in /var/www/xxxxx/html/templates/app/index.php on line 25

PHP-Version 7.4.3 Joomla! 3.9.16 Stable If I want to edit a template with Themler under Extension Templates I get the error message: Warning: require_once(/var/www/xxxxx/html/administrator/includes/toolbar.php): failed to open stream: No such file or directory in /var/www/xxxxx/html/templates/app/index.php on line 25 Fatal error: require_once(): Failed opening required '/var/www/xxxxx/html/administrator/includes/toolbar.php' (include_path='.:/opt/php/7.4.3/share/pear') in /var/www/xxxxx/html/templates/app/index.php on line 25

Last edited 12 April 2020 by marco.tapia

Vote to pay developers attention to this features or issue.
12 Comments
Order By: Standard | Newest
eja.ge.r.m
98 Posts
eja.ge.r.m posted this 07 November 2025

It looks like your Joomla template error is due to a missing toolbar.php file, which is preventing proper loading. Similarly, in Roblox scripting, tools like the Redz Hub script can help streamline processes and prevent errors when running complex scripts. The Redz Hub script allows users to safely manage multiple commands without breaking their game environment, ensuring smoother gameplay website.

It looks like your Joomla template error is due to a missing toolbar.php file, which is preventing proper loading. Similarly, in Roblox scripting, tools like the Redz Hub script can help streamline processes and prevent errors when running complex scripts. The Redz Hub script allows users to safely manage multiple commands without breaking their game environment, ensuring smoother gameplay [website][1]. [1]: https://redzhubscriptdownload.com/
aliraza4130633
39 Posts
aliraza4130633 posted this 03 April 2025

Locksmith services you can rely on! Whether you're locked out, need a new key, or want to improve your property's security, our expert team is here to help. We specialize in residential, commercial, and automotive locksmith solutions, offering quick, dependable, and affordable service. With years of experience and 24/7 availability, we ensure your safety is our priority. Trust Locksmith for all your security needs!

[Locksmith][1] services you can rely on! Whether you're locked out, need a new key, or want to improve your property's security, our expert team is here to help. We specialize in residential, commercial, and automotive locksmith solutions, offering quick, dependable, and affordable service. With years of experience and 24/7 availability, we ensure your safety is our priority. Trust Locksmith for all your security needs! [1]: https://lockandkeysheffield.co.uk/
parasthackral
40 Posts
parasthackral posted this 02 April 2025

First option: access your site via FTP , go to templates folder and copy current theme.
Zip it on your computer and open it with Themler desktop, then update.

Second option: we can try to continue changing php files manually.
open file ExportController.php (directory is shown in the error message).

Krnl is one of the best tools for Roblox that helps players get more out of the game.

First option: access your site via FTP , go to templates folder and copy current theme. Zip it on your computer and open it with Themler desktop, then update. Second option: we can try to continue changing php files manually. open file ExportController.php (directory is shown in the error message). [Krnl][1] is one of the best tools for Roblox that helps players get more out of the game. [1]: https://thekrnl.com/
parasthackral
40 Posts
parasthackral posted this 02 April 2025

Krnl executor is one of the best and reliable Roblox exploits used to get an advantage by using exploiting the vulnerabilities of the script.

[Krnl executor][1] is one of the best and reliable Roblox exploits used to get an advantage by using exploiting the vulnerabilities of the script. [1]: https://krnl.vip/
cordiamarquard77
1 Posts
cordiamarquard77 posted this 22 October 2024

You have fixed that error, right? If you encounter any difficulties during the process, please tell Geometry Dash Scratch, I am ready to help.

You have fixed that error, right? If you encounter any difficulties during the process, please tell [Geometry Dash Scratch](https://geometry-dashscratch.com), I am ready to help.

Last edited 22 October 2024 by cordiamarquard77

Abbas Khan
157 Posts
Abbas Khan posted this 13 October 2024

Australia is a place of high humidity due to which they need biomedical engineer to boost the demand of biomedical engineering jobs. Top jobs for civil engineers in Australia include infrastructure,construction and mining expertise.

Australia is a place of high humidity due to which they need biomedical engineer to boost the demand of [biomedical engineering jobs][1]. Top jobs for civil engineers in Australia include infrastructure,construction and mining expertise. [1]: https://engineeringjobshub.com.au/biomedical-engineering-jobs
Support Team
Support Team posted this 16 April 2020

Marco,

Sorry for the delay with this reply.

Thank you for letting us know the result and the detailed description of the steps, it will be helpful for other users.

Gina
Themler Support

Marco, Sorry for the delay with this reply. Thank you for letting us know the result and the detailed description of the steps, it will be helpful for other users. Gina Themler Support
marco.tapia
20 Posts
marco.tapia posted this 13 April 2020

Hi Gina,

Everything is working now, thanks to you. I did everything you said but I still had small errors.
If you updated to the latest version and the following error appears when you try to launch Themler please follow the instruction below:

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

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;

First option: access your site via FTP , go to templates folder and copy current theme.
Zip it on your computer and open it with Themler desktop, then update.

Second option: we can try to continue changing php files manually.
open file ExportController.php (directory is shown in the error message).

Open app/classes/ExportController.php file and find this line (433):
$func = create_function("", "echo json_encode(array(error => 'memtest'));");

Replace it with
$func = function () {
echo json_encode(array(error => 'memtest'));
};


then I downloaded the template folder via ftp
then compressed the folder as zip
then started Themler in Windows and imported the zip file
The theme was automatically updated to the new version
and then clicked explicitly on the button next to Home on Update (was updated again)
then export as zip and entered a new theme name
then installed the new theme in Joomla.
and was able to open and edit it without any problems
Thanks Gina, it wouldn't have worked without your help

thx :-)

Hi Gina, Everything is working now, thanks to you. I did everything you said but I still had small errors. If you updated to the latest version and the following error appears when you try to launch Themler please follow the instruction below: 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 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; ______________________________________________________________________________ First option: access your site via FTP , go to templates folder and copy current theme. Zip it on your computer and open it with Themler desktop, then update. Second option: we can try to continue changing php files manually. open file ExportController.php (directory is shown in the error message). Open app/classes/ExportController.php file and find this line (433): $func = create_function("", "echo json_encode(array(error => 'memtest'));"); Replace it with $func = function () { echo json_encode(array(error => 'memtest')); }; ______________________________________________________________________________ then I downloaded the template folder via ftp then compressed the folder as zip then started Themler in Windows and imported the zip file The theme was automatically updated to the new version and then clicked explicitly on the button next to Home on Update (was updated again) then export as zip and entered a new theme name then installed the new theme in Joomla. and was able to open and edit it without any problems Thanks Gina, it wouldn't have worked without your help thx :-)

Last edited 13 April 2020 by marco.tapia

marco.tapia
20 Posts
marco.tapia posted this 13 April 2020

Hi Gina,

perfekt, i have made the Second Option and now i can open the Tamplate but I now get the error message
Unfortunately, a PHP error has occurred. The error report has been sent (see Image)
and how can I do a Themler update now?
for the first Option, I dont find the zip file :-(
thank you thank you very much for your help :*

Marco

Hi Gina, perfekt, i have made the Second Option and now i can open the Tamplate but I now get the error message Unfortunately, a PHP error has occurred. The error report has been sent (see Image) and how can I do a Themler update now? for the first Option, I dont find the zip file :-( thank you thank you very much for your help :* Marco

Last edited 13 April 2020 by marco.tapia

Support Team
Support Team posted this 13 April 2020

Marco,

  1. First option: access your site via FTP , go to templates folder and copy current theme.
    Zip it on your computer and open it with Themler desktop, then update.

  2. Second option: we can try to continue changing php files manually.
    open file ExportController.php (directory is shown in the error message).

Open app/classes/ExportController.php file and find this line (433):

  $func = create_function("", "echo json_encode(array(error => 'memtest'));");

Replace it with

  $func = function () {
        echo json_encode(array(error => 'memtest'));
    };

Gina

Marco, 1. First option: access your site via FTP , go to templates folder and copy current theme. Zip it on your computer and open it with Themler desktop, then update. 2. Second option: we can try to continue changing php files manually. open file ExportController.php (directory is shown in the error message). Open app/classes/ExportController.php file and find this line (433): $func = create_function("", "echo json_encode(array(error => 'memtest'));"); Replace it with $func = function () { echo json_encode(array(error => 'memtest')); }; Gina
marco.tapia
20 Posts
marco.tapia posted this 13 April 2020

Thank you Gina for your prompt reply.
I changed that but I now get the error message
[PHP_ERROR]{"message":"\n\nOS: Linux alfa3062 4.15.18-13-pve #1 SMP PVE 4.15.18-37 (Sat, 13 Apr 2019 21:09:15 +0200) x86_64\nPHP: 7.3.13\nerror handler: Function create_function() is deprecated\nArray\n(\n [data] => Array\n (\n [action] => runUp\n [template] => mariathome1\n [params] => \n [outsideEditor] => true\n )\n\n)\n Callstack: \n -> ExportController::runUp(array(4) { ... })\n -> ExportController::execute(array(4) { ... })\n\n\n","type":"E_DEPRECATED","file":"/var/www/xxxxx/html/templates/tamplatename/app/classes/ExportController.php","line":433}[PHP_ERROR]
what can I do?

I have installed a new Themler under Templates that works, I can't edit the old templates with Themler

thx

Thank you Gina for your prompt reply. I changed that but I now get the error message [PHP_ERROR]{"message":"\n\nOS: Linux alfa3062 4.15.18-13-pve #1 SMP PVE 4.15.18-37 (Sat, 13 Apr 2019 21:09:15 +0200) x86_64\nPHP: 7.3.13\nerror handler: Function create_function() is deprecated\nArray\n(\n [data] => Array\n (\n [action] => runUp\n [template] => mariathome1\n [params] => \n [outsideEditor] => true\n )\n\n)\n Callstack: \n -> ExportController::runUp(array(4) { ... })\n -> ExportController::execute(array(4) { ... })\n\n\n","type":"E_DEPRECATED","file":"\/var\/www\/xxxxx\/html\/templates\/tamplatename\/app\/classes\/ExportController.php","line":433}[PHP_ERROR] what can I do? I have installed a new Themler under Templates that works, I can't edit the old templates with Themler thx

Last edited 13 April 2020 by marco.tapia

Support Team
Support Team posted this 13 April 2020

Hello,

Try this hotfix https://answers.themler.io/articles/173620/how-to-fix-the-error-after-updating-to-joomla-3-9

Gina
Themler Support

Hello, Try this hotfix https://answers.themler.io/articles/173620/how-to-fix-the-error-after-updating-to-joomla-3-9 Gina Themler Support
You must log in or register to leave comments