Author |
|
afterlogicUser Newbie
Joined: 03 November 2019
Online Status: Offline Posts: 6
|
Posted: 30 March 2020 at 4:15pm | IP Logged
|
|
|
Hi,
I have mailenable standard and Afterloigc webmail lite, When I delete mail, it's moved to trash but then it goes into refresh mode and after some time get error "Data transfer has failed, probably due to server error. Please contact the system administrator."
When I checked PHP error logs see that it's failing at libraries\afterlogic\common\managers\filecache\storages\file\storage.php on line 173
It checks if file exists, which I think is moved to trash
if (file_exists($sFileName))
Any help is appreciated
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 30 March 2020 at 11:52pm | IP Logged
|
|
|
Can you post the error message from the logs? Thanks.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
afterlogicUser Newbie
Joined: 03 November 2019
Online Status: Offline Posts: 6
|
Posted: 31 March 2020 at 7:19am | IP Logged
|
|
|
[25-Nov-2019 16:34:17 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(/1de38182ac9acf8095716ccf74c02c26) is not within the allowed path(s): (C:/Inetpub/....\;C:\Windows\Temp\) in C:\Inetpub\....\libraries\afterlogic\common\managers\filecache\storages\file\storage.php on line 173
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 31 March 2020 at 11:26pm | IP Logged
|
|
|
Thing is, WebMail doesn't handle email messages as files, it processes those via IMAP protocol on mail server directly. What's happening here is related to saving attachments temporarily onto webserver for processing further, and adjusting open_basedir setting of PHP configuration so that WebMail directory is covered by it is the only suggestion we have here.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
afterlogicUser Newbie
Joined: 03 November 2019
Online Status: Offline Posts: 6
|
Posted: 04 April 2020 at 7:30pm | IP Logged
|
|
|
Igor,
Thanks for the reply. I am not sure what to change.
I have ...libraries\afterlogic\common\settings.php but unable to find open_basedir
Checked config.php too
If you can point which file and which setting needs to be changed, I can try it. Thanks
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 06 April 2020 at 2:03am | IP Logged
|
|
|
Oh, this isn't about configuring WebMail, I'm talking about configuring your PHP environment. Please see Description of core php.ini directives. Also, if you might be running a control panel of some sort, the configuration options might be available there as well.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
afterlogicUser Newbie
Joined: 03 November 2019
Online Status: Offline Posts: 6
|
Posted: 06 May 2020 at 4:58pm | IP Logged
|
|
|
Igor,
Your suggestion helped and its working. Sometimes intermittently i get data transfer error but better than before. thanks for your help
|
Back to Top |
|
|