Page 1 of 1
Error: Class "Twig\Node\Expression\TestExpression" not found
Posted: Fri May 19, 2023 6:35 pm
by camti
Hello,
I am using nubuilder
DB Version: V.4.5-2023.04.10.00
Files Version: V.4.5-2023.05.01.02
When I (as an admin) click on the button "Database" (Home, tab "Database"), only an error appears:
Error: Class "Twig\Node\Expression\TestExpression" not found
I am uncertain what is supposed to happen when that button is clicked.
in the tab Custom Code of its properties it says:
Maybe somebody could enlighten me what to expect there, or if something needs to be changed here? Thanks for your pointer!
Re: Error: Class "Twig\Node\Expression\TestExpression" not found
Posted: Fri May 19, 2023 6:59 pm
by kev1n
Hi,
What's your PHP version?
Re: Error: Class "Twig\Node\Expression\TestExpression" not found
Posted: Sat May 20, 2023 12:58 am
by camti
it is 8.1
Re: Error: Class "Twig\Node\Expression\TestExpression" not found
Posted: Sat May 20, 2023 7:27 am
by kev1n
Hi,
If you are experiencing problems with nuBuilder's phpMyAdmin, it is recommended that you open
an issue on the official GitHub repository and seek assistance.
Alternatively, you could consider upgrading to a more recent version for a possible solution.
1. Start by renaming the directory /core/libs/nudb/ to /core/libs/nudb_original/.
2. Next, download the file from the following URL:
https://files.phpmyadmin.net/snapshots/ ... nglish.zip
3. Create a new folder named /core/libs/nudb/.
4. Unpack the downloaded file and move its contents to the newly created /core/libs/nudb/ directory.
5. Finally, copy config.inc.php from the nudb_original directory to the (newly created) nudb directory.
Re: Error: Class "Twig\Node\Expression\TestExpression" not found
Posted: Sat May 20, 2023 9:44 pm
by camti
Thank you very much for those detailed, helpful instructions; I will try later that and report back.
Meanwhile, though, might I ask again - "What is supposed to happen when that button is clicked?"
Re: Error: Class "Twig\Node\Expression\TestExpression" not found
Posted: Mon May 22, 2023 7:49 am
by kev1n
phpMyAdmin is supposed to open in a new tab.
Re: Error: Class "Twig\Node\Expression\TestExpression" not found
Posted: Mon May 22, 2023 9:36 pm
by camti
Thanks for this hint.
I have copied the file, but changed your instructions from step 5:
Copied the config.inc.php from the nudb_original to the (newly created) nudb directory.
Now clicking the database button calls phpmy admin - thank you!