OpenCart Softaclicous installation (open_basedir restriction in effect. )

Username (e.g. epiz_XXX) or Website URL

epiz_30576056 / https://open-repair-shop.42web.io/

Error Message

<details>
  <summary>Admin panel</summary>

  <ul>
    <li>
Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/request.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/response.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/db.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/db/mysqli.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/session.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/session/db.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/cache.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/cache/file.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/url.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/language.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/document.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/cart/customer.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/cart/currency.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/cart/tax.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/cart/weight.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/cart/length.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/cart/cart.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: is_file(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/modification/system/library/encryption.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/startup.php on line 62Warning: fopen(): open_basedir restriction in effect. File(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/logs/error.log) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol7_1/epizy.com/epiz_30576056/htdocs) in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/library/log.php on line 22Warning: fopen(/home/vol7_1/epizy.com/epiz_30576056/opencartdata/storage/logs/error.log): failed to open stream: Operation not permitted in /home/vol7_1/epizy.com/epiz_30576056/htdocs/system/library/log.php on line 22
</li>
  </ul>
</details>

Other Information

Installed the OpenCart in softalicous the same way i installed Wordpress / phpbb/ mediawiki and so on but this one gives me an error

The problems installing OpenCart here are well known. Maybe this guide works for you too?

4 Likes

Unfourtainly it isn’t since this solution only sets the getCookie to 1 month,

my problem here is that openCart has no permission to operate on the server…

1 Like

Unfortunately, OpenCart does not work here since you do not have access to save files outside of the root directory.

I have tried installing OpenCart here many times and only succeeded once. However, my success was short-lived as my workaround hack was easily hackable, and someone could have easily messed up my entire store, and stolen all the private information if they were tempted.

Hence the reason I tell you that OpenCart does not work here, unless you can apply the solution is Admins reply above.

Please let me know if you have any questions!

4 Likes

Hello thank you for your answer

the files in question are in the root folder, but not in htDocs since it is the data folder of OpenCart, publishing a data folder in htdocs would be a no go…

the admin has suggestet to give the SetCookie a time variable of 1 month, this has nothing to do with file permission…

InfinityFree requires that all site files must be within the /htdocs folder. Since OpenCart requires that files be stores outside this folder for security reasons, it cannot be hosted here.

There are many other great scripts in softaculous if you would like to check them out.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.