Whenever i try to intall opencart (i've already uploaded files) via domain i get this error:
Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/opt/awex-pages:/storage/ssd3/986/19676986) in /storage/ssd3/986/19676986/public_html/shop/system/storage/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 91Twig\Error\LoaderError: The "/" directory does not exist ("/"). in /storage/ssd3/986/19676986/public_html/shop/system/storage/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 92
example: my main index.html file is in the public_html directory. All the files that were in the upload folder (before it was deleted) are in public_html/shop. when i go to mydomain.com/shop i get this error.
What should i do?
It would be helpful to post your OpenCart and PHP version.
Your PHP open_basedir setting is restricting access. This may be of help.
viewtopic.php?f=210&t=228527
Your PHP open_basedir setting is restricting access. This may be of help.
viewtopic.php?f=210&t=228527
soo, i did what this reply says viewtopic.php?f=210&t=228527#p843814ADD Creative wrote: ↑Mon Oct 10, 2022 2:13 amIt would be helpful to post your OpenCart and PHP version.
Your PHP open_basedir setting is restricting access. This may be of help.
viewtopic.php?f=210&t=228527
and now, i get a different error:
Error: Class "Twig\Node\Expression\NameExpression" not found in /storage/ssd3/986/19676986/public_html/shop/system/storage/vendor/twig/twig/src/ExpressionParser.php on line 237
PHP: 8.0
OpenCart v4.0.1.1 August 27, 2022
Check that you have the file system/storage/vendor/twig/twig/src/Node/Expression/NameExpression.php and it correct.
Nope, i have system/storage/vendor/twig/twig/src/node/ and then a list of files:ADD Creative wrote: ↑Mon Oct 10, 2022 4:21 amCheck that you have the file system/storage/vendor/twig/twig/src/Node/Expression/NameExpression.php and it correct.
AutoEscapeNode.php
BlockNode.php
BlockReferenceNode.php
BodyNode.php
CheckSecurityCallNode.php
CheckSecurityNode.php
CheckToStringNode.php
DeprecatedNode.php
DoNode.php
EmbedNode.php
FlushNode.php
ForLoopNode.php
ForNode.php
IfNode.php
ImportNode.php
IncludeNode.php
MacroNode.php
ModuleNode.php
Node.php
NodeCaptureInterface.php
NodeOutputInterface.php
PrintNode.php
SandboxNode.php
SetNode.php
TextNode.php
WithNode.php
Upload your files again form a clean install, as you seem to be missing some.
Who is online
Users browsing this forum: SohBH and 21 guests