Joomla
From A2Wiki
[edit]
Joomla Problems
I could not log in to Joomla after installing with Fantistico (also found same problem after installing Joomla manually). The fix: create an .htaccess file in the Joomla root directory with the following content:
php_value session.save_path "/home/myusername/joomla/sessions"
Make sure /home/myusername/joomla/sessions is chmod 0777
Note: this entry was updated from the original in order to change the session path. Putting session info into /tmp is dangerous, as /tmp is cleared out periodically and session info can just disappear. A custom session dir for each of your applications is recommended.
This script should set ownership and permissions properly on your Joomla subdirectories. Make a file in your Joomla root dir called perms_fix.sh with these contents:
#!/bin/bash # Based on http://www.netadmintools.com/art560.html # # A2 Hosting Apache is 'nobody' instead of 'apache' # Uncomment mambots lines if you have the mambots subdirectory chgrp nobody administrator/backups chgrp nobody administrator/components chgrp nobody administrator/modules chgrp nobody administrator/templates chgrp nobody cache chgrp nobody components chgrp nobody images chgrp nobody images/banners chgrp nobody images/stories chgrp nobody language #chgrp nobody mambots #chgrp nobody mambots/content #chgrp nobody mambots/editors #chgrp nobody mambots/editors-xtd #chgrp nobody mambots/search #chgrp nobody mambots/system chgrp nobody media chgrp nobody modules chgrp nobody templates chmod g+w administrator/backups chmod g+w administrator/components chmod g+w administrator/modules chmod g+w administrator/templates chmod g+w cache chmod g+w components chmod g+w images chmod g+w images/banners chmod g+w images/stories chmod g+w language chmod g+w mambots #chmod g+w mambots/content #chmod g+w mambots/editors #chmod g+w mambots/editors-xtd #chmod g+w mambots/search #chmod g+w mambots/system chmod g+w media chmod g+w modules chmod g+w templates
Then do
sh ./perms_fix.sh </cpre> ---- '''A file manager/editor that will work through Joomla:''' This should help to avoid permissions problems, or files that are owned by user 'nobody' and can't be edited by your user: [http://www.joomlahacks.com/component/option,com_remository/Itemid,41/func,fileinfo/id,275/ JoomlaXplorer] ---- We had high hopes for Joomla as a CMS and used it to design a couple of websites. We were disappointed actually, and ended up trying out WordPress instead, which tended to fulfill our needs a bit better. Joomla appears to have a lot of features, but somehow it didn't work out to be an efficient way of getting the job done. ----
