Jump to content

Errors after update from 7.7.1 to 7.8.3


Recommended Posts

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated