Error Couldn't create directory "files/2/9"

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
AcePilot
Posts: 1
Joined: 19 Feb 2018, 18:07

Error Couldn't create directory "files/2/9"

Post by AcePilot » 22 Feb 2018, 00:57

I am trying to create to upload pictures in products within Aimeos and I am getting this error:

Error Couldn't create directory "files/2/9", /var/www/html/amnascloset/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/Filesystem/Standard.php:78

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: Error Couldn't create directory "files/2/9"

Post by tenkraD » 22 Feb 2018, 21:27

dont know which framework or aimeos version you use but have you tried to set the content baseurl config like described in the docs

plugin.tx_aimeos.settings.client.html.common.content.baseurl = https://your-domain/uploads/tx_aimeos/
Docs for aimeos with typo3: https://aimeos.org/docs/TYPO3/Install_A ... gure_TYPO3

and has the uploads directory file permission 0755

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Error Couldn't create directory "files/2/9"

Post by aimeos » 22 Feb 2018, 23:59

Seems to me like a permission problem. Your web server is not allowed to create the necessary directories.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply