anantamishra Posted March 21, 2021 Share Posted March 21, 2021 Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. If the problem persists, please contact us. For additional assistance, please reference the WHMCS TroubleShooting Guide » League\Flysystem\Exception: Impossible to create the root directory "/home/<removed for security>/public_html/attachments". mkdir(): open_basedir restriction in effect. File(/home/<removed for security>) is not within the allowed path(s): (/home/<removed for security>/public_html:/home/<removed for security>public_shtml:/home/<removed for security>/tmp:/var/www/html:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/phppgadmin:/etc/roundcube:/var/lib/roundcube:/tmp:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt) in /home/<removed for security>public_html/vendor/league/flysystem/src/Adapter/Local.php:112 Stack trace: #0 /home/<removed for security>public_html/vendor/league/flysystem/src/Adapter/Local.php(78): League\Flysystem\Adapter\Local->ensureDirectory('/home/admin/web...') #1 /home/<removed for security>public_html/vendor/whmcs/whmcs-foundation/lib/File/Provider/LocalStorageProvider.php(0): League\Flysystem\Adapter\Local->__construct('/home/admin/web...') #2 /home/<removed for security>public_html/vendor/whmcs/whmcs-foundation/lib/File/Configuration/FileAssetSetting.php(0): WHMCS\File\Provider\LocalStorageProvider->createFilesystemAdapterForAssetType('email_template_...', '') #3 /home/<removed for security>public_html/vendor/whmcs/whmcs-foundation/lib/File/Storage.php(0): WHMCS\File\Configuration\FileAssetSetting->createFilesystemAdapter('') #4 /home/<removed for security>public_html/vendor/whmcs/whmcs-foundation/lib/File/Storage.php(0): WHMCS\File\Storage->createFilesystem('email_template_...') #5 /home/<removed for security>public_html/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\File\Storage->emailTemplateAttachments() #6 /home/<removed for security>public_html/vendor/whmcs/whmcs-foundation/lib/Mail/Message.php(0): Illuminate\Support\Facades\Facade::__callStatic('emailTemplateAt...', Array) #7 /home/<removed for security>public_html/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Message::createFromTemplate(Object(WHMCS\Mail\Template)) #8 /home/<removed for security>public_html/includes/functions.php(0): WHMCS\Mail\Emailer::factoryByTemplate(Object(WHMCS\Mail\Template), 32, '') #9 /home/<removed for security>public_html/admin/sendmessage.php(0): sendMessage(Object(WHMCS\Mail\Template), 32, '', true, Array) #10 {main} 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted March 24, 2021 Share Posted March 24, 2021 As the error mentions, you are trying to access files / directories and those are not listed in the open_basedir php settings. But also, you appear to be using different users and that wont be possible without permission changes. So you need to have WHMCS in one user or the other or relax security. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.