User Tools

Site Tools


general_and_faq:tech_faq

This is an old revision of the document!


Developer FAQ

  • I got a 500 error / internal server error when trying to install mooSocial. What should I do?
    Enable debugging mode to see what happens (see below). Your server might be missing a required PHP extension to run mooSocial
  • How do I enable debugging mode?
    Open app/Config/core.php and change “debug” param to 1
  • I made some changes ( e.g. language strings… ) but I do not see them on the site. What should I do?
    Try to clear the global cache (Admin Dashboard → Clear Global Cache)
  • Why don't I see the admin settings page?
    Only super admins has access to the admin settings and some other pages in the admin panel.
  • I had a foo folder in the root directoty but now I cannot access it in the browser after installing mooSocial. What happened?
    It's because mooSocial redirects all requests to app/webroot folder so you will need to move your foo folder to app/webroot if you want to access it in the browser (e.g. yourdomain.com/foo)
  • How do I change the favicon?
    You can change the favicon by uploading it to app/webroot. After that, clear your browser cache and restart your browser to see the new one. All public accessible files should be in that directory
  • What do I need to do after migrating mooSocial to a new server?
    You need to update the database details in app/Config/config.php file and clear the persistent cache folder (app/tmp/cache/persistent)
  • Where do I change the default cover image?
    It's located in app/webroot/themes/themefolder/img/cover.jpg
  • My users keep getting logged out (remember me feature does not work). Why?
    It's mostly because you have Suhosin installed on your server. Please ask your server admin to disable these 2 settings: suhosin.srand.ignore and suhosin.mt_srand.ignore.
  • Whenever I submit a form or login, it redirects me to yourdomain.com/somecontroller/yourdomain.com. What do I do?
    Open app/Controllers/AppController.php and add the line below right after the openning php tag
    $_SERVER['HTTP_X_FORWARDED_HOST'] = '';
  • How do I integrate Facebook registration?
    First, you need to create a Facebook app (https://developers.facebook.com/apps). Make sure the domain name of your app matches the one that mooSocial is installed on. After that, copy and paste your app id and secret to the Facebook integration fields in System Settings → Integration. Finally, check the Facebook Registration check box and click Save
  • Why do I get an internal server error when I install mooSocial in a sub directory?
    Adding “RewriteBase /” after “RewriteEngine On” in all three .htaccess files might fix this problem.
  • Where do I get information about the framework?
    mooSocial is built on top of CakePHP framework. You can find CakePHP documentation here
general_and_faq/tech_faq.1417587937.txt.gz · Last modified: 2015/08/24 01:12 (external edit)