# Basedir and Softacolous bugs (OpenCart)

**URL:** <https://forum.infinityfree.com/t/basedir-and-softacolous-bugs-opencart/109994>\
**Category:** Hosting Support\
**Created:** [May 7, 2025, 2:47am UTC](https://forum.infinityfree.com/t/basedir-and-softacolous-bugs-opencart/109994 "2025-05-07T02:47:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoftHub](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/softhub/32/43417_2.png) [@SoftHub](https://forum.infinityfree.com/u/SoftHub)\
**Post date:** [May 7, 2025, 2:47am UTC](https://forum.infinityfree.com/t/basedir-and-softacolous-bugs-opencart/109994/1 "2025-05-07T02:47:27Z")

</div>

### Website URL

[https://conny.parts](https://conny.parts)

### Error Message (during OpenCart MANUAL install)

Warning: open\_basedir needs to allow access to /home/vol9\_7/infinityfree.com/if0\_38910973/conny.parts/  
Required basedir:  
/home/vol9\_7/infinityfree.com/if0\_38910973/conny.parts/  
Actual basedir:  
/home/vol9\_7/infinityfree.com/if0\_38910973/conny.parts/htdocs/

### Other Information

Whenever i try to manually upload and install OpenCart on my site, it won’t work because of basedir restriction etc etc (OC software needs “ocartdata” folder right outside htdocs).  
That wouldnt even be a problem, because there’s SOFTACOLOUS for us to help and install the software right away with the root power!  
Except if you install the latest OpenCart with the tool, the frontpage works, but the admin panel  
[https://conny.parts/admin](https://conny.parts/admin)  
gives you a straight middle finger with a 500 server error.  
Any ideas why?

**EDIT(before posting):**  
I just tried installing an older version of opencart (3.x instead of 4.x) (working in some older website i built on the platform) and DOESNT give you an error 500 middle finger but explains why that happens.

**Warning** : is\_file(): open\_basedir restriction in effect. File(/home/vol9\_7/infinityfree.com/if0\_38910973/conny.parts/ocartdata/storage/modification/system/library/request.php) is not within the allowed path(s): (/php\_sessions:/tmp:..:/var/www/errors:/home/vol9\_7/infinityfree.com/if0\_38910973/conny.parts/htdocs) in **/home/vol9\_7/infinityfree.com/if0\_38910973/conny.parts/htdocs/system/startup.php** on line **62**

**So, i’d say it’s some open\_basedir related trouble.** editing the htaccess with [php\_admin\_value open\_basedir none] does nothing.  
Could the admin please fix this for me? Or just make it clear that the OpenCart software will not work anymore for nobody on Infinityfree and maybe delete it from Softacolous?  
Thanks  
Conny

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [May 7, 2025, 2:56am UTC](https://forum.infinityfree.com/t/basedir-and-softacolous-bugs-opencart/109994/2 "2025-05-07T02:56:08Z")

</div>

> [@How to install OpenCart on InfinityFree](https://forum.infinityfree.com/t/how-to-install-opencart-on-infinityfree/96859):
>
> OpenCart is a popular and powerful option for building an online store, and you can run it on InfinityFree! However, there are a few special steps you need to follow to ensure OpenCart runs smoothly on our hosting platform. The good news is that you can install OpenCart using Softaculous with just a few minor changes. Configuring the Data Directory OpenCart requires a Data Directory to function properly. This directory stores part of OpenCart’s code, as well as uploaded files, caches, and othe…

---

<div class="post-metadata">

**Author:** ![SoftHub](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/softhub/32/43417_2.png) [@SoftHub](https://forum.infinityfree.com/u/SoftHub)\
**Post date:** [May 7, 2025, 3:07am UTC](https://forum.infinityfree.com/t/basedir-and-softacolous-bugs-opencart/109994/3 "2025-05-07T03:07:01Z")

</div>

I am very sorry to disappoint you, but i did the first part without reading the guide (setting the wrong ocartdata path breaks the installer with some undefined errors and/or breaks the whole site - frontpage AND admin wont work- ) **and** i just checked the second part, which is a known opencart 4.0.2.3 issue and HAS been in fact fixed in the actual (still broken here) 4.1.0.3.  
Still thanks for the swiftness in helping me.  
Conny

EDIT: i activated php error display, so you can now read the full errors that happen.  
[https://conny.parts/admin/](https://conny.parts/admin/)  
Hope you will understand those better than I do.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [May 7, 2025, 10:31am UTC](https://forum.infinityfree.com/t/basedir-and-softacolous-bugs-opencart/109994/4 "2025-05-07T10:31:54Z")

</div>

> [@SoftHub](#):
>
> I am very sorry to disappoint you, but i did the first part without reading the guide (setting the wrong ocartdata path breaks the installer with some undefined errors and/or breaks the whole site - frontpage AND admin wont work- )

The first part is the important part. If you just leave the default ocdata path, your website WILL break your website. The reason your website doesn’t work is because of this reason.

Looking at the error messages on your website, it seems that your current ocata path is `conny.parts/ocdata`. But that should probably be `conny.parts/htdocs/ocdata`.

---

<div class="post-metadata">

**Author:** ![SoftHub](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/softhub/32/43417_2.png) [@SoftHub](https://forum.infinityfree.com/u/SoftHub)\
**Post date:** [May 7, 2025, 11:34am UTC](https://forum.infinityfree.com/t/basedir-and-softacolous-bugs-opencart/109994/5 "2025-05-07T11:34:01Z")

</div>

Thank you. The addon domain not located in the root folder confused me a little.  
solved.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [May 14, 2025, 11:34am UTC](https://forum.infinityfree.com/t/basedir-and-softacolous-bugs-opencart/109994/6 "2025-05-14T11:34:39Z")

</div>

Closed on May 14, 2025, 11:34am UTC

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