Forums | Mahara Community
Support
/
No CSS formatting
25 April 2010, 23:19
After installing Mahara it was working perfectly on our LAN but from the internet none of the CSS formatting worked and the login box was missing. I hadn't defined the document root and I thought this was the problem. When I defined the document root as the fully qualified name and restarted Apache the problem with the CSS formatting was also happening within the LAN.
Does anyone have any ideas about what is going on here?
Thanks.
I think I've found the problem...
Mahara stores the wwwroot for the site in the config table in the database. If you move your site, you must update this value too. An SQL command such as this will suffice:
UPDATE config SET value = '[new-wwwroot]' WHERE field = 'wwwroot';