{extends "base.tpl.html"} {block "title"}Eventum Installation{/block} {block javascripts} {/block} {block "stylesheets"} {/block} {block name="content"} {if $result|default:'' != '' and $result|default:'' != 'success'}
{t}An Error Was Found{/t}

{t}Details{/t}: {if $result == 'db_not_found'} {t}The provided database name could not be found. Review your information or specify that the database should be created in the form below.{/t} {elseif $result == 'db_user_not_found'} {t}The provided MySQL username could not be found. Review your information or specify that the username should be created in the form below.{/t} {elseif $result == 'db_create_access'} {t}The provided MySQL username doesn't have the appropriate permissions to create tables. Please contact your local system administrator for further assistance.{/t} {elseif $result == 'db_drop_access'} {t}The provided MySQL username doesn't have the appropriate permissions to drop tables. Please contact your local system administrator for further assistance.{/t} {elseif $result == 'db_phinx_failure'} {t}There was error initializing database.{/t} {else} {$result} {/if}

{/if} {if $db_result|default:''}

{t}Database setup log:{/t}

                
{$db_result|escape:html}
{/if} {if $result|default:'' == 'success'}
Success!

{t}Thank You, Eventum is now properly setup and ready to be used. Open the following URL to login on it for the first time:{/t}

{$core.base_url}

{t escape=no 1="admin@example.com"}Email Address: %1 (literally){/t}
{t escape=no 1="admin"}Password: %1{/t}

{t}NOTE: For security reasons it is highly recommended that the default password be changed as soon as possible.{/t}


{t 1="setup"}Remember to protect your '%1' directory (like changing its permissions) to prevent anyone else from changing your existing Eventum configuration.{/t}

{t}In order to check if your permissions are setup correctly visit the{/t} {t}Check Permissions{/t} {t}page{/t}. {if not $is_imap_enabled}


{t}WARNING: If you want to use the email integration features to download messages saved on a IMAP/POP3 server, you will need to enable the IMAP extension in your PHP.INI configuration file. See the PHP manual for more details.{/t} {/if}


{* Preload Eventum index via pixel to warm up cache *} {else}
{if $default_timezone == 'UTC'} {/if}

{t}Eventum Installation{/t}


  • {t 1=$core.app_version}Eventum Version: %1{/t}
  • {t 1=$core.php_version}PHP Version: %1{/t}
  • {t}Server Hostname{/t}: * {assign var="tabindex" value="1"} {include file="error_icon.tpl.html" field="hostname"}
    {t}Eventum Relative URL{/t}: * {include file="error_icon.tpl.html" field="relative_url"}
     {t}MySQL Server Hostname{/t}: * {include file="error_icon.tpl.html" field="db_hostname"}
    {t}MySQL Database{/t}: * {include file="error_icon.tpl.html" field="db_name"}
    {t}MySQL Username{/t}: * {include file="error_icon.tpl.html" field="db_username"}
    ({t}Note{/t}: {t}This user requires permission to create and drop tables in the specified database.{/t}
    {t}This value is used only for these installation procedures, and is not saved if you provide a separate user below.{/t})
    {t}MySQL Password{/t}:
    {t}Enter the details below{/t}:
     {t}Username{/t}: *    {include file="error_icon.tpl.html" field="eventum_user"}
     {t}Password{/t}:   
     

    {t}Defaults{/t}


    {t}Note{/t}:
    {t}You may help Eventum installer to figure out timezone if you configure PHP timezone parameters first:{/t}
    $ php -r 'echo "date.timezone = ", @date_default_timezone_get(), "\n";' | sudo tee -a /etc/php.ini
                  
    {t escape=no}if php.ini path is different, get proper filename from php --ini command output.{/t}
    {t}Timezone{/t}:
    {include file="lookup_field.tpl.html" lookup_field_name="search" lookup_field_target="default_timezone"}
    {t}Week starts on{/t}:   
     

    {t}SMTP Configuration{/t}


    {t}Note{/t}: {t}The SMTP (outgoing mail) configuration is needed to make sure emails are properly sent when creating new users/projects.{/t}  
    {t}Sender{/t}: * {include file="error_icon.tpl.html" field="setup[smtp][from]"}
    ({t}must be a valid email address{/t})
    {t}Hostname{/t}: * {include file="error_icon.tpl.html" field="setup[smtp][host]"}
    {t}Port{/t}: * {include file="error_icon.tpl.html" field="setup[smtp][port]"}
    {t}Requires Authentication?{/t}    
    {t}Username{/t}:  {include file="error_icon.tpl.html" field="setup[smtp][username]"}
    {t}Password{/t}:  {include file="error_icon.tpl.html" field="setup[smtp][password]"}
    * {t}Required Fields{/t}
    {/if} {/block}