SocialEngine 4: Forgotten Maintenance Code

What Is My Maintenance Access Code?

If you have put your site into maintenance mode, but have forgotten your access code, follow the steps below to retrieve it.

To retrieve your access code:

Login to your server with an FTP client.

Open the file “/application/settings/general.php” with a plain text editor such as Notepad or Wordpad.

The file will look something like this:

defined('_ENGINE') or die('Access Denied'); return array (

  'maintenance' =>

  array (

    'enabled' => true,

    'code' => '[ACCESS_CODE]',


  'environment_mode' => 'development',

); ?>

Your access code should be located where the “[ACCESS_CODE]” placeholder is above. Copy the code from your file, and use it to access your site.

Note: Your Maintenance Mode Code can be configured and recorded from your General Settings page

Looking for quality Social Engine Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

2 Comments on SocialEngine 4: Forgotten Maintenance Code

  1. Cognoscenti says:

    Great article. But when I have the right access code social engine doesn’t do anything. I am using the latest version of SE.

Leave a Reply

Your email address will not be published. Required fields are marked *