User Tools

Site Tools


general_and_faq:tech_faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
general_and_faq:tech_faq [2014/12/03 04:09]
mooadmin
general_and_faq:tech_faq [2015/06/21 23:33]
mooadmin removed
Line 1: Line 1:
-====== ​Developer ​FAQ ======+====== ​Technical ​FAQ ======
  
-  ​I got a 500 error / internal server error when trying to install mooSocial. What should I do? +  ​* ** 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
-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? +  ​* ** How do I enable debugging mode? ** \\ Open app/​Config/​core.php and change "​debug"​ param to 1
-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? +  ​* ** 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)
-Try to clear the global cache (Admin Dashboard ​-> Clear Global Cache)+
  
-  ​- Why don'​t ​see the admin settings page? +  ​* ** can not upload large images while smaller sizes work fine. What should I do?** \\ Check your //​upload_max_filesize// ​in //​php.ini//​. This is the maximum allowed size for an uploaded file. Increase this setting to let your site to accept larger image size
-Only super admins has access to the admin settings and some other pages in the admin panel.+
  
-  ​had a foo folder in the root directoty but now I cannot ​access ​it in the browser after installing mooSocial. What happened? +  ​* ** Why don'​t ​see the admin settings page? ** \\ Only super admins has access ​to the admin settings and some other pages in the admin panel.
-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 change the favicon? +  ​* ** 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)
-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 oneAll public accessible files should be in that directory+
  
-  ​- What do I need to do after migrating mooSocial to a new server? +  ​* ** How do I change the favicon** \\ You can change the favicon by uploading it to app/webrootAfter that, clear your browser cache and restart your browser to see the new one. All public accessible files should be in that directory
-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? +  ​* ** 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)
-It's located ​in app/webroot/themes/themefolder/img/cover.jpg+
  
-  ​- My users keep getting logged out (remember me feature does not work). Why? +  ​* ** Where do I change the default cover image** \\ It'​s ​located in app/​webroot/​themes/​themefolder/​img/​cover.jpg
-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.comWhat do I do? +  ​* ** My users keep getting logged out (remember ​me feature does not work)Why? **\\ It's mostly because you have Suhosin installed on your serverPlease ask your server admin to disable these 2 settings: suhosin.srand.ignore ​and suhosin.mt_srand.ignore.
-Open app/​Controllers/​AppController.php and add the line below right after the openning php tag +
-$_SERVER['​HTTP_X_FORWARDED_HOST'​] = '';​+
  
-  ​- How do integrate Facebook registration?​ +  ​* ** Whenever ​submit a form or loginit 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'​] = '';​
-Firstyou 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 onAfter 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? +  ​* ** How do I integrate Facebook registration** \\ First, you need to create a Facebook app ([[https://developers.facebook.com/​apps|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 → IntegrationFinally, check the Facebook Registration check box and click Save
-Adding "​RewriteBase ​/" after "​RewriteEngine On" in all three .htaccess files might fix this problem.+
  
-  ​- Where do I get information about the framework?​ +  ​* ** 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.
-mooSocial ​is built on top of CakePHP frameworkYou can find CakePHP documentation here+
  
 +  * ** Where do I get information about the framework? ** \\ mooSocial is built on top of CakePHP framework. You can find CakePHP documentation [[http://​book.cakephp.org/​2.0/​en/​index.html|here]]