Important for Mobile Owners: Required changes after upgrading site to SocialEngine 4.9

Friday April 21, 2017   |   News & Updates , New Releases , Mobile Apps   |   Leave a Comment

If you have upgraded your website to SocialEngine 4.9, then please make sure that you apply below change on your site. Without this change, your apps may stop working and your users will not be able to login to the app.


1. Login to FTP or cPanel.


2. Go to directory root path and open index.php file.


3. Search for below code:


define('_ENGINE_R_TARG', 'index.php');


4. Replace above code with below one:


$getRequestUri = htmlspecialchars($_SERVER['REQUEST_URI']);if(isset($getRequestUri) && !empty($getRequestUri) && strstr($getRequestUri, "api/rest")) define('_ENGINE_R_TARG', 'siteapi.php');else define('_ENGINE_R_TARG', 'index.php');


5. Upgrade REST API Plugin on your website to the latest version


If you are unable to do it, then file a support ticket from Client Area and our team will help you out.


Please contact us in case of any queries.