Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Warning: Invalid argument Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Squiz
Newbie
Newbie


Joined: 09 August 2013
Location: Netherlands
Online Status: Offline
Posts: 2
Posted: 09 August 2013 at 6:59am | IP Logged Quote Squiz

Hello, I just tried out AfterLogic lite, intalling went smooth but when I directed to the main login, I get these errors to show:

Warning: Invalid argument supplied for foreach() in /home/***/domains/***/public_html/service/libraries/afterlogic/common/utils.php on line 1619

Warning: file_put_contents(/home/***/domains/***/public_html/service/data/cache/templates-28d14b47338f273ae463f5202a7b3039.cache) [function.file-put-contents]: failed to open stream: Permission denied in /home/***/domains/***/public_html/service/libraries/afterlogic/common/managers/integrator/manager.php on line 138

So, I've checked the utils.php file already, but Im far away from knowing php and have a solution for this, Also searched the net, but nothing came up..

So I end up here as hope that anyone of you know how to fix this warning.
Thanks in advance.
Back to Top View Squiz's Profile Search for other posts by Squiz
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 09 August 2013 at 7:23am | IP Logged Quote Igor

Make sure that there's actually cache subdirectory in data directory, if it's not there - create it. Also, make sure web server is allowed to write to data directory and its subdirectories. The recommended way for that is to assign ownership to webserver user, e.g.:

Code:
chown www-data:www-data -R /home/***/domains/***/public_html/service/data


Alternately, you can make the data directory world-writable, that should be recursively as well:

Code:
chmod 0777 -R /home/***/domains/***/public_html/service/data


--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Squiz
Newbie
Newbie


Joined: 09 August 2013
Location: Netherlands
Online Status: Offline
Posts: 2
Posted: 09 August 2013 at 9:45am | IP Logged Quote Squiz

Thanks for the fast reply, tried to do what you said, and it fixed the problems =]

you made my day, thank you.
Back to Top View Squiz's Profile Search for other posts by Squiz
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide