XsToCloud Posted October 4, 2019 Share Posted October 4, 2019 Hello everyone, We did an update from 7.7.1 to 7.8.3. Now we get error messages when we add a new client and when we open the download windows from the support section in the Admin panel. Can some give us advise how to fix thess errors? Error when adding a new client: League\Flysystem\Exception: Impossible to create the root directory "/home/admin/domains/xstocloud.nl/public_html/whmcs/downloads". in /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/league/flysystem/src/Adapter/Local.php:106 Stack trace: #0 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/league/flysystem/src/Adapter/Local.php(78): League\Flysystem\Adapter\Local->ensureDirectory('/home/admin/dom...') #1 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/File/Provider/LocalStorageProvider.php(0): League\Flysystem\Adapter\Local->__construct('/home/admin/dom...') #2 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/File/Configuration/FileAssetSetting.php(0): WHMCS\File\Provider\LocalStorageProvider->createFilesystemAdapterForAssetType('email_template_...', '') #3 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/File/Storage.php(0): WHMCS\File\Configuration\FileAssetSetting->createFilesystemAdapter('') #4 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/File/Storage.php(0): WHMCS\File\Storage->createFilesystem('email_template_...') #5 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(215): WHMCS\File\Storage->emailTemplateAttachments() #6 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Mail/Message.php(0): Illuminate\Support\Facades\Facade::__callStatic('emailTemplateAt...', Array) #7 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Message::createFromTemplate(Object(WHMCS\Mail\Template)) #8 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/includes/functions.php(0): WHMCS\Mail\Emailer::factoryByTemplate(Object(WHMCS\Mail\Template), 169, Array) #9 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/includes/clientfunctions.php(0): sendMessage('Client Signup E...', 169, Array) #10 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/admin/clientsadd.php(0): addClient('169', '169', '169', '169@test.nl', '169', '169', '169', '', '1699', 'NL', '+31.123456789', '169', NULL, NULL, 'on', Array, '32606ffa-7744-4...', true, 0) #11 {main} Error on opening the download window from Support on the Admin Panel. League\Flysystem\Exception: Impossible to create the root directory "/home/admin/domains/xstocloud.nl/public_html/whmcs/downloads". in /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/league/flysystem/src/Adapter/Local.php:106 Stack trace: #0 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/league/flysystem/src/Adapter/Local.php(78): League\Flysystem\Adapter\Local->ensureDirectory('/home/admin/dom...') #1 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/File/Provider/LocalStorageProvider.php(0): League\Flysystem\Adapter\Local->__construct('/home/admin/dom...') #2 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/File/Configuration/FileAssetSetting.php(0): WHMCS\File\Provider\LocalStorageProvider->createFilesystemAdapterForAssetType('downloads', '') #3 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/File/Storage.php(0): WHMCS\File\Configuration\FileAssetSetting->createFilesystemAdapter('') #4 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/File/Storage.php(0): WHMCS\File\Storage->createFilesystem('downloads') #5 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(215): WHMCS\File\Storage->downloads() #6 /home/bilspbce/domains/xstocloud.nl/public_html/whmcs/admin/supportdownloads.php(0): Illuminate\Support\Facades\Facade::__callStatic('downloads', Array) #7 {main} Thanks. Have a nice day. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS William L Posted October 7, 2019 Share Posted October 7, 2019 XsToCloud: I notice the error indicates an inability to create a directory (beginning with /home/admin) that seems clearly to be outside of the path in which WHMCS is located (beginning with /home/bilspbce). My first recommendation would be to check your WHMCS Storage Settings for proper values. (See https://docs.whmcs.com/Storage_Settings). If the /home/admin/domains/xstocloud.nl/public_html/whmcs/downloads directory is indeed where you want the files stored, and it exists, there may be a directory permissions problem somewhere in that path preventing WHMCS from accessing it. (Or the directory doesn’t exist and WHMCS cannot create it for the same basic reason.) If this doesn’t help you identify and correct the problem, please feel welcome to open a support ticket (https://www.whmcs.com/submit-a-ticket/) so a WHMCS analyst can assist you. 0 Quote Link to comment Share on other sites More sharing options...
36ihBhm$ShwXt Posted October 10, 2019 Share Posted October 10, 2019 I found it, in PHPMyAdmin, I searched home/public_html/... and changed them to my own category which whmcs is located on it and the issue was resolved. Thanks a lot. 0 Quote Link to comment Share on other sites More sharing options...
XsToCloud Posted October 15, 2019 Author Share Posted October 15, 2019 Thank you for the help and time. We have fixed the issue. 0 Quote Link to comment Share on other sites More sharing options...
Bhondawe30 Posted October 22, 2019 Share Posted October 22, 2019 1 On 10/10/2019 at 7:56 PM, 36ihBhm$ShwXt said: I found it, in PHPMyAdmin, I searched home/public_html/... and changed them to my own category which whmcs is located on it and the issue was resolved. Thanks a lot. You are tactics will very helpful to me. I solved issues. 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.