{tr}Tiki Installer{/tr} {$tiki_version_name} {icon name="help"}

{feedback} {if $install_step eq '0' or !$install_step}{* start of installation *}

{tr}Welcome{/tr}

{tr _0=$tiki_version_name}Welcome to the Tiki %0 installer.{/tr}
{tr}Use this script to install a new database or upgrade your existing database.{/tr}

  • {tr}For the latest information about this release, please read the{/tr} {tr}Release Notes{/tr}.
  • {tr}For complete documentation, please visit{/tr} doc.tiki.org.
  • {tr}For more information about Tiki, please visit{/tr} tiki.org.
{if $multi} {/if}
{if $multi} {/if}
{elseif $install_step eq '1'}

{tr}License{/tr}

{tr}Tiki is software distributed under the LGPL license.{/tr}

{if $multi}{/if} {if $lang}{/if}
{elseif $install_step eq '2'}

{tr}Review the System Requirements{/tr}

{remarksbox type=tip title="{tr}Tip{/tr}" close="n"} {tr}Before installing Tiki, review the documentation and confirm that your system meets the minimum requirements.{/tr} {/remarksbox}

{tr}This installer will perform some basic checks automatically.{/tr} {tr}Please see: {/tr}{tr}a detailed report about your server.{/tr}

{if $php_properties_missing} {remarksbox type=warning title="{tr}Missing minimum requirements{/tr}" close="n"}
    {foreach from=$php_properties_missing item=missing}
  • {$missing}
  • {/foreach}
{/remarksbox} {/if}

{tr}Memory{/tr}

{if $php_memory_limit <= 0} {remarksbox type=confirm title="{tr}Success{/tr}" close="n"} {icon name="ok"} {tr}Tiki has not detected your PHP memory_limit.{/tr} {tr}This probably means you have no set limit (all is well).{/tr} {/remarksbox} {elseif $php_memory_limit < 128 * 1024 * 1024} {remarksbox type=warning title="{tr}Warning{/tr}" close="n"}

{tr}Tiki has detected your PHP memory limit at:{/tr} {$php_memory_limit|kbsize:true:0}

{tr}Tiki requires at least 128MB of PHP memory for script execution.{/tr} {tr}Allocating too little memory will cause Tiki to display blank pages.{/tr}

{tr}To change the memory limit, use the memory_limit key in your php.ini file (for example: memory_limit = 128M) and restart your webserver.{/tr}

{/remarksbox} {else} {remarksbox type=confirm title="{tr}Success{/tr}" close="n"} {icon name="ok"} {tr}Tiki has detected your PHP memory_limit at:{/tr} {$php_memory_limit|kbsize:true:0}. {/remarksbox} {/if}

{tr}Mail{/tr}

{tr}Tiki uses the PHP mail function to send email notifications and messages.{/tr}

{if $mail_test_performed ne 'y'}

{tr}To test your system configuration, Tiki will attempt to send a test message to you.{/tr}

{if isset($email_test_err)} {$email_test_err} {else}
{tr}Email address to send test to.{/tr}
{/if}
{if $multi}{/if} {if $lang}{/if}
{else} {if $mail_test eq 'y'} {remarksbox type=confirm title="{tr}Success{/tr}" close="n"} {icon name="ok"} {tr}Tiki was able to send a test message to{/tr} {$email_test_to}. {/remarksbox} {else} {remarksbox type=error title="{tr}Error{/tr}" close="n"} {icon name="error"} {tr}Tiki was not able to send a test message.{/tr} {tr}Review your mail log for details.{/tr}

{tr}Review the mail settings in your php.ini file (for example: confirm that the sendmail_path is correct).{/tr} {tr}If your host requires SMTP authentication, additional configuration may be necessary.{/tr}

{/remarksbox} {/if} {/if}

{tr}Image Processing{/tr}

{if $gd_test eq 'y'} {remarksbox type=confirm title="{tr}Success{/tr}" close="n"} {icon name="ok"} {tr}Tiki detected:{/tr} GD {if $lang eq 'he' or $lang eq 'ar'}{$gd_info|regex_replace:"/[()]/":""}{else}{$gd_info}{/if} {if $sample_image eq 'y'}

{icon name="ok"} {tr}Tiki can create images.{/tr}

{else}

{icon name="warning"} {tr}Tiki was not able to create a sample image. Please check your GD library configuration.{/tr}.

{/if} {/remarksbox} {else} {remarksbox type=error title="{tr}Error{/tr}" close="n"} {icon name="error"} {tr}Tiki was not able to detect the GD library.{/tr} {/remarksbox} {/if}

{tr}Tiki uses the GD library to process images for the Image Gallery and CAPTCHA support.{/tr}

{if $multi}{/if} {if $lang}{/if}
{elseif $install_step eq '3' or ($dbcon eq 'n' or $resetdb eq 'y')} {* we do not have a valid db connection or db reset is requested *}

{tr}Set the Database Connection{/tr}

{tr}Tiki requires an active database connection.{/tr} {tr}You must create the database and user before completing this page, unless your database user has also permissions to create new databases and not just use them.{/tr}

{if $dbcon ne 'y'}
{icon name="warning"} {tr}Tiki cannot find a database connection.{/tr} {tr}This is normal for a new installation.{/tr}
{else} {remarksbox type=confirm title="{tr}Success{/tr}" close="n"} {if $dbname} {tr}Tiki found an existing database connection in your local.php file.{/tr}
{tr _0=$dbname}Database name: %0{/tr} {else} {tr}Tiki found an automatic database connection for your environment.{/tr} {/if} {/remarksbox}
{if $multi}{/if} {if $lang}{/if}

{tr}Modify database connection{/tr}
{/if}
{elseif $install_step eq '4'}

{if $tikidb_created}{tr}Install & Upgrade{/tr}{else}{tr}Install{/tr}{/if}

{if $max_exec_set_failed eq 'y'} {remarksbox type="warning" title="{tr}Warning{/tr}" close="n"} {tr}Failed to set max_execution_time for PHP. You may experience problems when creating/upgrading the database using this installer on a slow system. This can manifest itself by a blank page.{/tr} {/remarksbox} {/if} {if $tikidb_created} {tr}This install will populate (or upgrade) the database.{/tr}

{remarksbox type=tip title="{tr}Tip{/tr}" close="n"} {tr}If you want to upgrade from a previous Tiki release, ensure that you have read and understood the Upgrade instructions.{/tr} {/remarksbox} {else} {tr}A new install will populate the database.{/tr} {/if} {if (($database_charset neq 'utf8mb4' and $database_charset neq 'utf8') or isset($legacy_collation)) and $tikidb_created} {remarksbox type=error title="{tr}Encoding Issue{/tr}" close="n"} {if isset($legacy_collation)} Something is wrong with the database encoding. The database has UTF-8 as default encoding but some tables in the database have a different collation, {$legacy_collation}. Converting to UTF-8 may solve this but may also make matters worse. You should investigate what happened or only proceed with backups. {else} {tr _0=$database_charset}

Your database encoding is not in UTF-8mb4.

Current encoding is %0. The languages that will be available for content on the site will be limited. If you plan on using languages not covered by the character set, you should re-create or alter the database so the default encoding is utf8mb4.

{/tr} {/if}

{tr}More information{/tr}

{tr}Character Set Conversion{/tr}

{tr}Use at your own risk. If the data in the database currently contains improperly converted data, this may make matters worse. Suitable for new installations. Requires ALTER privilege on the database.{/tr}

{if $multi}{/if} {if $lang}{/if}

{/remarksbox} {/if} {if $dbdone eq 'n'} {if $logged eq 'y'}{* we are logged if no admin account is found or if the admin user is logged in*}
{if $multi}{/if} {if $lang}{/if}

{tr}Install{/tr}

{if $tikidb_created} {remarksbox type="danger" title="{tr}Warning{/tr}" close="n"} {tr _0=$dbname}This will destroy your current database: %0.{/tr} {/remarksbox} {/if} {if $tikidb_created}
{if $tikidb_created}

{tr}Upgrade{/tr}

{if $tikidb_oldPerms gt 0} {remarksbox type="warning" title="{tr}Warning: Category Permissions Will Not Be Upgraded{/tr}" close="n"} {tr}Category permissions have been revamped since version 3. If you have been using category permissions, note that they may not work properly after upgrading to version 4 onwards, and it will be necessary to reconfigure them.{/tr} {/remarksbox} {/if} {remarksbox type="info" title="{tr}OK{/tr}" close="n"}{tr}Automatically upgrade your existing database to version{/tr} {$tiki_version_name}. {/remarksbox}

{/if} {else}{* we are not logged then no admin account found and user not logged *}

{icon name="warning"} {tr}This site has an admin account configured.{/tr}

{tr}Please log in with your admin password to continue.{/tr}

{if $multi}{/if} {if $lang}{/if}
{tr}User:{/tr}
{tr}Pass:{/tr}

{/if}
{/if}
{elseif $install_step eq '5' or ($dbdone ne 'n')}

{if isset($smarty.post.update)}{tr}Review the Upgrade{/tr}{else}{tr}Review the Installation{/tr}{/if}

{remarksbox type=confirm title="{if isset($smarty.post.update)}{tr}Upgrade complete{/tr}{else}{tr}Installation complete{/tr}{/if}" close="n"}

{tr}Your database has been configured and Tiki is ready to run!{/tr} {if isset($smarty.post.scratch)} {tr}If this is your first install, your admin password is admin.{/tr} {/if} {tr}You can now log in into Tiki as user admin and start configuring the application.{/tr}

{/remarksbox} {if $installer->queries.successful|@count gt 0}

{icon name="ok"} {if isset($smarty.post.update)} {tr}Upgrade operations executed successfully:{/tr} {else} {tr}Installation operations executed successfully:{/tr} {/if} {$installer->queries.successful|@count} {tr}SQL queries.{/tr}

{else}

{icon name="ok"} {tr}Database was left unchanged.{/tr}

{/if}
{if $installer->queries.failed|@count > 0}

{icon name="error"} {tr}Operations failed:{/tr} {$installer->queries.failed|@count} {tr}SQL queries.{/tr} {tr}Display details.{/tr}

{/if}

 

{if $multi}{/if} {if $lang}{/if}
{elseif $install_step eq '6'}

{tr}Configure General Settings{/tr}

{tr}Complete these fields to configure common, general settings for your site.{/tr} {tr}The information you enter here can be changed later.{/tr}

{remarksbox type=info title="{tr}Tip{/tr}" close="n"} {tr}Refer to the documentation for complete information on these, and other, settings.{/tr} {/remarksbox}
{tr}General{/tr} {icon name="help"}
{tr}This will appear in the browser title bar.{/tr}
{tr}Email sent by your site will use this address.{/tr}
{tr}Toggle section display{/tr}
{icon name="help"}

{tr}Secure Log in{/tr} {icon name="help"} {remarksbox type=info title="{tr}Tip{/tr}" close="n"} {tr}It is recommended to choose the "Require secure (HTTPS) login" option for better security. A security certificate and dedicated IP address are required to implement a secure login.{/tr} {/remarksbox}

{tr}Logging and Reporting{/tr}
{remarksbox type=warning title="{tr}Warning{/tr}" close="n"} {tr}Use only for development, not in production at a live site, because these warnings are added to emails as well, and are visible to users in the page source.{/tr} {/remarksbox}

{tr}Administrator{/tr}
{tr}This is the email address for your administrator account.{/tr}
{if not empty($htaccess_options)}
{tr}Set up htaccess file{/tr}
{tr}Select how to set up your htaccess file.{/tr}
{/if} {if $upgradefix eq 'y' && $install_type eq 'update'}
{icon name="warning"} {tr}Upgrade fix{/tr}

{tr}Experiencing problems with the upgrade? Your administrator account lost its privileges? This may occur if you upgraded from a very old version of Tiki.

We can fix it! Doing so will:{/tr}

  1. {tr}Create the Admins group, if missing{/tr}
  2. {tr}Grant tiki_p_admin to the group, if missing{/tr}
  3. {tr}Add the administrator account to the group, if missing{/tr}

{tr}To do so enter the name of the main admin account in the field below{/tr}

{tr}The default account is admin{/tr}
{if !empty($disableAccounts)}

{tr}List of accounts that will be enabled:{/tr}
    {foreach from=$disableAccounts item=account}
  • {$account}
  • {/foreach}
{/if}
{/if}
{if $multi}{/if} {if $lang}{/if}
{elseif $install_step eq '7'}

{tr}Last Notes{/tr}

{remarksbox type=note title="{tr}Important{/tr}" close="n"} {tr}Read the following information to ensure that your website data stays protected, your site healthy and you don't unnecessarily loose time or data while setting up your Tiki site now or while maintaining it in the future.{/tr} {/remarksbox}

{icon name="shield-alt"} {tr}Subscribe to Tiki Releases newsletter{/tr} - {tr}Critical & Security update{/tr}

{tr}It is highly recommended that you subscribe to the Tiki Releases newsletter, so that you receive important notices about new releases and critical security updates.{/tr} {tr}We don't share subscribed emails and we send very few of these newsletters per year.{/tr}

{tr}Please use the following link and subscribe:{/tr} {tr}Tiki Releases newsletter{/tr}

{icon name="magic"}{icon name="filter"} {tr}First Wizards, then Control Panels with Preference Filter{/tr}

{tr}Tiki contains thousands of options and parameters (what we call "preferences"), which can be overwhelming for a new site administrator.{/tr} {tr}That's why we suggest you to start by using our Wizards ({icon name='magic'}).{/tr} {tr}Once basic parameters will be set, you will always be able to gain full control of the options using the Control Panels. Note: basic preferences will be displayed by default after a new install.{/tr}

{tr}You can modify the default filter choice at your own convenience to also display Advanced, Experimental or Unavailable preferences in Control Panels.{/tr} {tr}You'll find the Preference Filter at the top of the Navigation Bar in the Control Panels by clicking on the funnel icon ({icon name='filter'}) or use the search box provided.{/tr}

{icon name="hdd"} {tr}Storing your uploaded files{/tr}

{tr}To ease the install process and first access, Tiki saves your uploaded files (office documents, images, pdf, etc. attached to wiki pages, forum posts, tracker items, file galleries, ...) by default in its database.{/tr} {tr}This works perfectly in most cases but it is not the recommended setup if you need to save many thousands of files or more.{/tr}

{tr}In that case, consider switching from "Store to database" to "Store to directory", which you will find in the Configuration Wizard - Set up File Gallery & Attachments or in the Control Panels - File Galleries where you will be able to migrate your currently uploaded files from one to the other.{/tr}

{icon name="group"} {tr}Tiki Community{/tr}

{tr}The Tiki Community is a global network of developers, site operators, consultants and end users.{/tr}

{if $multi}{/if} {if $lang}{/if}
{elseif $install_step eq '8'}

{tr}Enter Your Tiki{/tr}

{remarksbox type='confirm' title="{tr}Ready to run{/tr}" close="n"}

{tr}The installation is complete!{/tr} {tr}Your database has been configured and Tiki is ready to run.{/tr}

{/remarksbox} {if isset($htaccess_error) and $htaccess_error eq 'y'}

{tr}.htaccess File{/tr} {icon name="help"}

{tr}We recommend enabling the .htaccess file for your Tiki{/tr}. {tr}This will enable you to use SEFURLs (search engine friendly URLs) and help improve site security{/tr}.

{tr _0="_htaccess" _1=".htaccess"}To enable this file, simply copy the %0 file (located in the main directory of your Tiki installation) to %1.{/tr}

{elseif not empty($htaccess_feedback)}

{tr _0=$htaccess_feedback}Your .htaccess file has been set up (%0){/tr}

{/if}

{if $install_type eq 'scratch'} {tr}If this is your first install, your admin password is admin.{/tr} {/if} {tr}You can now log in into Tiki as user admin and start configuring the application.{/tr}

{if isset($smarty.post.update)}

{icon name='information'} {tr}Upgrade{/tr}

{tr}If this is an upgrade, clean the Tiki caches manually (the temp/templates_c directory) or by using the Admin > System option from the Admin menu.{/tr}

{/if} {if $tikidb_is20}
{if $multi} {/if}
{if $multi} {/if}
{icon name="warning"} {tr}Not recommended due to security risk{/tr}.
{/if} {if $install_type eq 'update'} {if $double_encode_fix_attempted eq 'y'}

{tr}You can now access the site normally. Report back any issues that you might find (if any) to the Tiki forums or bug tracker{/tr}

{elseif not isset($legacy_collation)}
{tr}Upgrading and running into encoding issues?{/tr}

{tr}We can try to fix it, but make sure you have backups, and can restore them.{/tr}

{if $client_charset_in_file eq 'utf8'}
{else}

{tr}Oops. You need to make sure client charset is forced to UTF-8. Reset the database connection to continue.{/tr}

{/if}
{/if} {/if}
{/if}{* end elseif $install_step... *}
{if $virt}

{tr}MultiTiki Setup{/tr} {icon name='help'}

{if !empty({$multi})}
{/if} {foreach key=k item=i from=$virt}
{if $i eq 'y'}{tr}DB OK{/tr}{else}{tr}No DB{/tr}{/if} {if $k eq $multi} {$k} {else} {$k}
{/if}
{/foreach}
{tr}Adding a new host:{/tr}
{tr}To add a new virtual host run the setup.sh with the domain name of the new host as a last parameter.{/tr} {if $multi}

({tr}MultiTiki{/tr})

{$multi|default:"{tr}Default{/tr}"}
{/if}
{/if}
{if $dbcon eq 'y' and ($install_step eq '0' or !$install_step)}
{remarksbox type=info title="{tr}Upgrade{/tr}" close="n"} {tr}Are you upgrading an existing Tiki site?{/tr} {tr}Go directly to the Install/Upgrade step.{/tr} {if $dbcon eq 'y' or isset($smarty.post.scratch) or isset($smarty.post.update)} {icon name="next" href="#" onclick="$('[name=install_step][value=4]').prop('disabled', false).click();return false;" title="{tr}Install/Upgrade{/tr}"} {/if} {/remarksbox}
{/if}
{*
*}