Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: [solved] CSS not loading properly Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ElectricDuck
Newbie
Newbie


Joined: 10 September 2013
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 10 September 2013 at 2:52pm | IP Logged Quote ElectricDuck

I've installed everything according to the documentation, and set the right permissions. However, the CSS/skin does not seem to be loading up.

This is what it looks like now...


Lighttpd's error log doesn't seem to show anything obvious either.
There are a few messages relating to AfterLogic WebMail Lite...
Code:

2013-09-10 21:35:53: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  file_put_contents(/srv/http/mail/data/cache/templates-28d14b47338f273ae463f5202a7b3039.cache): failed to open stream: Permission denied in /srv/http/mail/libraries/afterlogic/common/managers/integrator/manager.php on line 138

2013-09-10 21:39:21: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619
PHP Warning:  Invalid argument supplied for foreach() in /srv/http/mail/libraries/afterlogic/common/utils.php on line 1619

Back to Top View ElectricDuck's Profile Search for other posts by ElectricDuck
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Online
Posts: 6104
Posted: 10 September 2013 at 10:21pm | IP Logged Quote Igor

Can you confirm you've run the installer to set up the product? It's available at the URL you'd get by appending /install/ to main URL of WebMail, and it would allow to detect and correct various configuration issues. I don't think the product was actually tested on lighttpd - but I don't see why it wouldn't work there either, and the log file doesn't really shed any light on it. There's one suggestion though: make sure that data directory and its cache subdirectory are there and are writable by web server.

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


Joined: 10 September 2013
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 11 September 2013 at 8:26am | IP Logged Quote ElectricDuck

- When I installed the product, CSS wasn't loading after. I thought it would sort itself out when intsalled.
- data and cache are 777.
- Also, interestingly, when I "Inspect Element" in Chrome, and tamper with the CSS file, the skin loads up.
Back to Top View ElectricDuck's Profile Search for other posts by ElectricDuck
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Online
Posts: 6104
Posted: 11 September 2013 at 9:35pm | IP Logged Quote Igor

I see. But can you confirm there were no errors or warnings reported by step 1 of the installer?

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


Joined: 10 September 2013
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 12 September 2013 at 8:33am | IP Logged Quote ElectricDuck

Definitely no errors. The only compatibility problem was SSL obviously.
Back to Top View ElectricDuck's Profile Search for other posts by ElectricDuck
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Online
Posts: 6104
Posted: 13 September 2013 at 1:28am | IP Logged Quote Igor

As far as we can see, your webserver is configured so that JSS and CS files get incorrect content-type application/octet-stream, while it should be application/x-javascript and text/css respectively. Reconfiguring that on webserver should eliminate the issue.

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


Joined: 24 June 2008
Location: United States
Online Status: Online
Posts: 6104
Posted: 13 September 2013 at 1:35am | IP Logged Quote Igor

Actually, there's a helpful tip at ArchLinux wiki regarding CSS issues with lighttpd, check this link.

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


Joined: 10 September 2013
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 13 September 2013 at 3:58pm | IP Logged Quote ElectricDuck

Yup, that fixed it!

Maybe this issue should be added to the install guide and/or the FAQ?
Back to Top View ElectricDuck's Profile Search for other posts by ElectricDuck
 

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