Post by ibaker » Mon Sep 25, 2023 4:53 pm

Hi, I am trying to install OpenCart and are receiving an error when I go to the install directory.

I copied the files to my domain root
I renamed both config files
I changed the permissions on both config files to 777

This is the error I get before I even get a chance to install (useing xxx to hide sensitive info)
Warning: file_put_contents(/home/xxx/domains/xxx.com.au/public_html/system/storage/logs/error.log): Failed to open stream: Permission denied in /home/xxx/domains/xxx.com.au/public_html/system/library/log.php on line 34
Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/xxx/:/tmp/:/var/tmp/:/opt/alt/php74/usr/share/pear/:/dev/urandom:/usr/local/php80/lib/:/usr/local/php74/lib/:/usr/local/php80/lib/:/usr/local/php81/lib/:/usr/local/lib/php/) in /home/xxx/domains/xxx.com.au/public_html/system/storage/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 91
Warning: file_put_contents(/home/xxx/domains/xxx.com.au/public_html/system/storage/logs/error.log): Failed to open stream: Permission denied in /home/xxx/domains/xxx.com.au/public_html/system/library/log.php on line 34
Warning: file_put_contents(/home/xxx/domains/xxx.com.au/public_html/system/storage/logs/error.log): Failed to open stream: Permission denied in /home/xxx/domains/xxx.com.au/public_html/system/library/log.php on line 34Twig\Error\LoaderError: The "/" directory does not exist ("/"). in /home/xxx/domains/xxx.com.au/public_html/system/storage/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 92

Any help is appreciated

User avatar
New member

Posts

Joined
Thu Mar 13, 2014 8:41 am

Post by IP_CAM » Tue Sep 26, 2023 2:58 am

I renamed both config files
what you mean with 'renamed' the config files??

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ibaker » Tue Sep 26, 2023 7:38 am

IP_CAM wrote:
Tue Sep 26, 2023 2:58 am
I renamed both config files
what you mean with 'renamed' the config files??
The install instructions in the download it says to rename the config_dist.php file in the root and the admin folder to just config.php

User avatar
New member

Posts

Joined
Thu Mar 13, 2014 8:41 am

Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 2 guests