Index: branches/5.0.x/core/install/steps_db.xml =================================================================== diff -u -r12199 -r12204 --- branches/5.0.x/core/install/steps_db.xml (.../steps_db.xml) (revision 12199) +++ branches/5.0.x/core/install/steps_db.xml (.../steps_db.xml) (revision 12204) @@ -1,93 +1,136 @@ - + - normally "localhost"), Database user name, and database Password. - These fields are required to connect to the database.

If you would like In-Portal - to use a table prefix, enter it in the field provided. This prefix can be any - text which can be used in the names of tables on your system. The characters entered in this field - are placed before the names of the tables used by In-Portal. For example, if you enter "inp_" - into the prefix field, the table named Category will be named inp_Category.

]]> + Database Hostname - IP or hostname of your database server (normally "localhost").

+ +

Database Name - name of the database where In-Portal will be installed.

+

Database User Name - name of the user for selected database.

+

Database User Password - password for selected username.

+

Database Collation - character set used to store data in text fields (normally "utf8_general_ci").

+

Prefix for Table Names - specified when multiple scripts will be run in the same database. + Prefix can be any text string allowed in table naming by your database engine (normally "inp_").

+

Use existing In-Portal installation setup in this Database - select "Yes" + if you already have In-Portal installed in this database and want to use it. Select "No" in all other cases.

+ ]]>
- A License is required to run In-Portal on a server connected to the Internet. - You can run In-Portal on localhost, non-routable IP addresses, or other computers on your LAN. - If Intechnic has provided you with a license file, upload it here. Otherwise select the first - option to allow Install to download your license for you.

If a valid license has been - detected on your server, you can choose the Use Existing License and continue - the installation process

]]> + In-Portal is an Open Source object-oriented framework that is developed in PHP + and provides a quick and easy way to build websites and web applications.

+ +

In-Portal is copyrighted and distributed under GPLv2 license.

+ +

GPL / Open Source License - by downloading and installing In-Portal + under GPLv2 license you understand and agree to all terms of the + GPLv2 license.

+ +

Upload License File - if you have obtained Commercial + Modules + or Support + from Intechnic you'll be provided with a license file, upload it here.

+ +

Use Existing License - if a valid license has been detected on your server, + you can choose this option and continue the installation process.

]]>
- A License is required to run In-Portal on a server connected to the Internet. You - can run In-Portal on localhost, non-routable IP addresses, or other computers on your LAN.

-

Here as you have selected download license from Intechnic you have to input your username - and password of your In-Business account in order to download all your available licenses.

]]> + In-Portal is an Open Source object-oriented framework that is developed in PHP + and provides a quick and easy way to build websites and web applications.

+ +

In-Portal is copyrighted and distributed under GPLv2 license.

+ +

GPL / Open Source License - by downloading and installing In-Portal + under GPLv2 license you understand and agree to all terms of + GPLv2 license.

+ +

Download from Intechnic Servers - if you have obtained Commercial + Modules + or Support + from Intechnic you'll be provided with a license, specify your Username and Password in order to download the license.

]]>
- Select the domain you wish to configure In-Portal for. The Other option can be - used to configure In-Portal for use on a local domain.

For local domains, enter the hostname or - LAN IP Address of the machine running In-Portal.

]]> + Select the domain you wish to install In-Portal on.

+ +

The Other option can be used to install In-Portal other custom domains. Note that your web server should match entered domain name.

]]>
- The Root Password is initially required to access the admin sections of In-Portal. - The root user cannot be used to access the front-end of the system, so it is recommended that you - create additional users with admin privlidges.

]]> + The Root Password is initially required to access the Admin Console of In-Portal. + The root user can NOT be used to access the Front-end of your In-Portal website.

+ +

Once installation is completed it's highly recommented to create additional users with admin privlidges.

]]>
- - Select the In-Portal modules you wish to install. The modules listed to the right - are all modules included in this installation that are licensed to run on this server.

]]> + + Please select additional In-Portal Modules you wish to install during this installation.

+ +

These and other Modules can be downloaded and installed later at any time.

]]>
Write
Shows folder and files, that write permissions should be adjusted to allow web server to write data into them.]]>
- - These options define the general operation of In-Portal. Items listed here are - required for In-Portal's operation.

When you have finished, click save to - continue.

]]> + + Please adjust Basic Configuration settings here.

+ +

Once your In-Portal is installed you can login into Admin Console to change these and other settings. The Configuration section is located in the main website navigation.

]]>
- This theme will be used whenever a front-end session is started. if you intend to - upload a new theme and use that as default, you can do so through the admin at a later date. - A default theme is required for session management.

]]> + Selected theme will be used as a default in your In-Portal website.

+

You can manage your themes in Admin Console via Configuration -> Website -> Themes section.

]]>
- - This step checks security level on your hosting account.

]]> + + Final security check for In-Portal performed here.

+ +

Write Permissions Check - checks whether critical In-Portal files are open for the outside world and can be used by hackers to attack your websites. You won't be able to continue until you correctly set these permissions!

+ +

Ability to Execute PHP in Writable Folders - checks if hackers can save and execute PHP files in your /system + folder used for the uploads. While it's recommened to adjust the settings it's not requored to complete the installation.

+ + ]]>
- Thanks for using In-Portal! Be sure to visit www.in-portal.net - for the latest news, module releases and support.

-

*Make sure to clean your browser' cache after upgrading In-portal version

]]> + Thanks for downloading and installing In-Portal!

+ +

Be sure to visit www.in-portal.net for the latest news, module releases and support.

+

* Make sure to clean your browser cache after upgrading to new In-Portal version

]]>
A Configuration file has been detected on your system and it appears In-Portal is correctly installed. - In order to work with the maintenance functions provided to the left you must provide the Intechnic - Username and Password you used when obtaining the license file residing on the server, or your admin Root password. - (Use Username 'root' if using your root password)

-

To removing your existing database and start with a fresh installation, select the first option - provided. Note that this operation cannot be undone and no backups are made! Use at your own risk.

-

If you wish to scrap your current installation and install to a new location, choose the second option. + In order to work with the maintenance functions provided to the left you must enter your admin Root password. + (Use Username 'root' if using your root password)

+ +

Upgrade In-Portal - available when you upload files from new In-Portal release into + your current installation. Upgrade scripts will run and upgrade your current In-Portal database to the uploaded version.

+ +

Reinstall In-Portal - cleans out your existing In-Portal database and starts with a fresh installation. + Note that this operation cannot be undone and no backups are made! Use at your own risk.

+ +

Install In-Portal to a New Database - keeps the existing installation and installs In-Portal to a new database. If this option is selected you will be prompted for new database configuration information.

-

The Update License Information option is used to update your In-Portal license data. Select this option if you have - modified your licensing status with Intechnic, or you have received new license data via email

-

The Fix Paths option should be used when the location of the In-portal files has changed. - For example, if you moved them from one folder to another. It will update all settings and ensure the - program is operational at the new location.

]]> + +

Update License Information - used to update your In-Portal license data. Select this option if you have + modified your licensing status with Intechnic (obtained commercial support or module), or you have received new license data via email.

+

Update Database Configuration - allows you to update your current database configuration variables such as + database server host, username, password and others.

+ +

Update Installation Paths - should be used when the location of your In-Portal files has changed. + For example, if you moved them from one folder to another. It will update all settings and ensure In-Portal + is operational at the new location.

]]>
Select modules from the list, you need to update to the last downloaded version of In-Portal

]]>
- + In-Portal needs to connect to your Database Server. Please provide the database server type*, host name (normally "localhost"), Database user name, and database Password. These fields are required to connect to the database.

If you would like In-Portal to use a table prefix, enter it in the field provided. This prefix can be any text which can be used in the names of tables on your system. The characters entered in this field are placed before the names of the tables used by In-Portal. For example, if you enter "inp_" into the prefix field, the table named Category will be named inp_Category.

]]>
- - Fix Paths option should be used when the location of the In-portal files has changed. + + Fix Paths option should be used when the location of the In-Portal files has changed. For example, if you moved them from one folder to another. It will update all settings and ensure the program is operational at the new location.]]> Index: branches/5.0.x/core/install/step_templates/db_reconfig.tpl =================================================================== diff -u -r12117 -r12204 --- branches/5.0.x/core/install/step_templates/db_reconfig.tpl (.../db_reconfig.tpl) (revision 12117) +++ branches/5.0.x/core/install/step_templates/db_reconfig.tpl (.../db_reconfig.tpl) (revision 12204) @@ -1,5 +1,5 @@ - Server Type*: + Database Server Type*: - Database Name*: + Database Name *: - Database Collation*: + Database User Name *: + + + + + + Database User Password: + + + + + + + Database Collation *: + - - - - - Database User Password: - - - - - - - Table Name Prefix: - \ No newline at end of file Index: branches/5.0.x/core/install/step_templates/install_setup.tpl =================================================================== diff -u -r12117 -r12204 --- branches/5.0.x/core/install/step_templates/install_setup.tpl (.../install_setup.tpl) (revision 12117) +++ branches/5.0.x/core/install/step_templates/install_setup.tpl (.../install_setup.tpl) (revision 12204) @@ -1,19 +1,19 @@ - In order to use the installation tool, please provide your Intechnic account information: + In order to use this installation tool, please identify yourself using the root password! - Username*: + Username *: - Password*: + Password *: @@ -33,11 +33,11 @@ $options = Array ( 'upgrade' => 'Upgrade In-Portal', - 'clean_reinstall' => 'Clean out the In-Portal database and reinstall', - 2 => 'Install to a new database', + 'clean_reinstall' => 'Reinstall In-Portal', + 2 => 'Install In-Portal to a New Database', 'update_license' => 'Update License Information', - 'db_reconfig' => 'Change Database Configuration', - 'fix_paths' => 'Fix Paths', + 'db_reconfig' => 'Update Database Configuration', + 'fix_paths' => 'Update Installation Paths', ); $upgradable_modules = $this->GetUpgradableModules(); Index: branches/5.0.x/core/install/incs/install.tpl =================================================================== diff -u -r12199 -r12204 --- branches/5.0.x/core/install/incs/install.tpl (.../install.tpl) (revision 12199) +++ branches/5.0.x/core/install/incs/install.tpl (.../install.tpl) (revision 12204) @@ -58,9 +58,11 @@ GetStepNumber().' - '.$this->GetStepInfo('step_title'); ?> + @@ -149,7 +151,7 @@ - Powered by In-portal © 1997-, Intechnic Corporation. All rights reserved. + Powered by In-Portal, Copyright © 1997- Intechnic. All rights reserved.
Index: branches/5.0.x/core/install.php =================================================================== diff -u -r12199 -r12204 --- branches/5.0.x/core/install.php (.../install.php) (revision 12199) +++ branches/5.0.x/core/install.php (.../install.php) (revision 12204) @@ -1,6 +1,6 @@ _IsLocalSite($domain)) { - $this->toolkit->setSystemConfig('Intechnic', 'Domain', $domain); + $this->toolkit->setSystemConfig('Misc', 'Domain', $domain); $this->toolkit->SaveConfig(); } else { @@ -1113,8 +1113,8 @@ if (!isset($modules)) { $modules = Array(); $fh = opendir(MODULES_PATH); - while (($sub_folder = readdir($fh))) { - $folder_path = MODULES_PATH.'/'.$sub_folder; + while ( ($sub_folder = readdir($fh)) ) { + $folder_path = MODULES_PATH . '/'.$sub_folder; if ($sub_folder != '.' && $sub_folder != '..' && is_dir($folder_path)) { if ($sub_folder == 'core') { // skip modules here Index: branches/5.0.x/core/install/step_templates/select_license.tpl =================================================================== diff -u -r12117 -r12204 --- branches/5.0.x/core/install/step_templates/select_license.tpl (.../select_license.tpl) (revision 12117) +++ branches/5.0.x/core/install/step_templates/select_license.tpl (.../select_license.tpl) (revision 12204) @@ -2,19 +2,20 @@ $license_found = $this->toolkit->getSystemConfig('Intechnic', 'License'); $license_source = $this->GetVar('license_source'); - if (($license_source === false) && $license_found) { + if ( ($license_source === false) && $license_found ) { $license_source = 3; } - if (!$license_found && $license_source == 3) { - // when disabled option is selected -> select 1st available - $license_source = 1; + if ( !$license_found && (!$license_source || $license_source == 3) ) { + // when disabled option is selected -> select 1st available - open source + $license_source = 4; } ?> + - > + > @@ -24,18 +25,18 @@ - + + type="radio" name="license_source" id="license_source_3" value="3"> - - - - > - - \ No newline at end of file Index: branches/5.0.x/core/install/step_templates/security.tpl =================================================================== diff -u -r12199 -r12204 --- branches/5.0.x/core/install/step_templates/security.tpl (.../security.tpl) (revision 12199) +++ branches/5.0.x/core/install/step_templates/security.tpl (.../security.tpl) (revision 12204) @@ -1,7 +1,7 @@ - %1$s + + %1$s '; $error_tpl = ' @@ -30,9 +30,8 @@ if (!$write_check) { $output .= ' - - For security reasons it\'s highly recommended to set 755 permissions on above files to prevent hacking attempts. - + + For security reasons it\'s highly recommended to set 755 permissions on above files to prevent hackers from attacking your website!

'; } @@ -52,23 +51,23 @@ unlink(WRITEABLE . '/install_check.php'); $execute_check = ($result !== 'OK'); - $output .= sprintf($heading_tpl, '
Ability to Execute PHP in Writable Folders', 'text'); + $output .= sprintf($heading_tpl, 'Ability to Execute PHP in Writable Folders', 'text'); $status_text = $execute_check ? 'Secure' : 'Vulnerable'; $output .= sprintf($error_tpl, 'Result of creating and executing PHP file(s) in "/system" (or "/system/images") folder', $status_text); if (!$execute_check) { $output .= ' - + For security reasons it\'s highly recommended disable the access (execution) to PHP files within "/system" folder and it\'s subfolders. You can do this by:

    -
  • changing your "httpd.conf" file to deny requests for all "*.php" files;
  • -
  • renaming ".htaccess-sample" (located in "/system") to ".htaccess" so it overrides default Apache settings.
  • +
  • changing your "httpd.conf" file to deny requests for all "*.php" files
  • +
  • renaming ".htaccess-sample" (located in "/system") to ".htaccess" so it overrides default Apache settings

Note that "AllowOverride LIMIT" option should be enabled by your hosting provider. Index: branches/5.0.x/core/install/step_templates/post_config.tpl =================================================================== diff -u -r12117 -r12204 --- branches/5.0.x/core/install/step_templates/post_config.tpl (.../post_config.tpl) (revision 12117) +++ branches/5.0.x/core/install/step_templates/post_config.tpl (.../post_config.tpl) (revision 12204) @@ -79,6 +79,27 @@ + + + + + + + + +
+ Additional Recommendations +
+

1. Use Cron (UNIX/BSD/Linux) or Task Scheduler (Windows) to run Regular Events in your In-Portal.
+ It's highly recommended to setup your cron to run every minute so all system events that are enabled will run in the background based on their schedule. These events can be managed in Admin Console via Configuration -> Website -> Agents section. +

In-Portal cron file is located in /tools/cron.php folder and can be setup using hosting Control Panel or manually. In Plesk or CPanel interfaces use dialog to add a new cron job and specify the following (use correct paths)
+    /absolute/path/to/bin/php -f /absolute/path/to/in-portal/tools/cron.php

+ +

2. Review and adjust Agents
+ As was explained in the previous recommendation there is a Configuration -> Website -> Agents section where you can control Events triggered by the system. These events do their job to cleanup the data, old image files, check the data integrity, RSS feeds and other processes required for your In-Portal to run efficiently. We do recommend to review and enable/disable these events based on your website needs.

+

3. Update Mail Server settings
+ It's recommended to review and adjust your mail server settings once your In-Portal is up and running. This can be done in Admin Console under Configuration -> Website -> Advanced section.

+
Application->InitParser(); Index: branches/5.0.x/core/install/step_templates/db_config.tpl =================================================================== diff -u -r12117 -r12204 --- branches/5.0.x/core/install/step_templates/db_config.tpl (.../db_config.tpl) (revision 12117) +++ branches/5.0.x/core/install/step_templates/db_config.tpl (.../db_config.tpl) (revision 12204) @@ -1,5 +1,5 @@ - Server Type*: + Database Server Type *: - Database Name*: + Database Name *: - Database Collation*: + Database User Name *: + + + + + + Database User Password: + + + + + + + Database Collation *: + - - - - - Database User Password: - - - - - - - Table Name Prefix: - - Use existing installation: + Use existing In-Portal installation in this Database: Index: branches/5.0.x/core/install/incs/style.css =================================================================== diff -u -r12117 -r12204 --- branches/5.0.x/core/install/incs/style.css (.../style.css) (revision 12117) +++ branches/5.0.x/core/install/incs/style.css (.../style.css) (revision 12204) @@ -2,29 +2,33 @@ margin: 0; padding: 0; background: #FFFFFF; - color: #333333; + color: #333333; } ol.install-steps { font: bold 12px verdana, sans-serif; color: #fff; - line-height: 20px - } - + line-height: 20px; +} + +.install-steps li { + padding-bottom: 3px; +} + .install-steps li.current-step { - color: #005786 + color: #FF0000; } -/*#nav { - margin-left: -1px; +/*#nav { + margin-left: -1px; text-align: center; - float: left + float: left } - + #content { padding: 10px; - color: darkblue; - float: right + color: darkblue; + float: right } #header { @@ -34,7 +38,7 @@ margin-bottom: 0px } */ - + .footer { background-color: #FFFFFF; color: #006; @@ -70,9 +74,9 @@ } .admintitle, .admintitle-white { - font-weight: bold; + font-weight: bold; font-size: 20px; - color: #009FF0; + color: #009FF0; font-family: verdana, arial; text-decoration: none; } @@ -83,33 +87,33 @@ .subsectiontitle { font-weight: bold; - font-size: 14px; + font-size: 14px; color: white; font-family: verdana, arial; background-color: #999999; - text-decoration: none; + text-decoration: none; height: 24px; } .subsectiontitle:hover { font-weight: bold; - font-size: 14px; - color: #ffcc00; - font-family: verdana, arial; + font-size: 14px; + color: #ffcc00; + font-family: verdana, arial; background-color: #999999; text-decoration: none; } .text { font-weight: normal; - font-size: 12px; - font-family: verdana, arial; + font-size: 12px; + font-family: verdana, arial; text-decoration: none; } .toolbar { border-right: #000000 1px solid; border-top: #000000 0px solid; - font-size: 10pt; + font-size: 10pt; border-left: #000000 1px solid; border-bottom: #000000 1px solid; font-family: Arial, Helvetica, sans-serif; @@ -126,21 +130,21 @@ } .tableborder_full { - border-right: #000000 1px solid; - border-top: #000000 1px solid; - font-size: 10pt; - border-left: #000000 1px solid; - border-bottom: #000000 1px solid; + border-right: #000000 1px solid; + border-top: #000000 1px solid; + font-size: 10pt; + border-left: #000000 1px solid; + border-bottom: #000000 1px solid; font-family: Arial, Helvetica, sans-serif; background-image: url(img/tab_middle.gif); background-repeat: repeat-x; } .tablenav { - font-weight: bold; - font-size: 14px; - color: white; - font-family: verdana, arial; + font-weight: bold; + font-size: 14px; + color: white; + font-family: verdana, arial; background-color: #73C4F5; text-decoration: none; } @@ -164,32 +168,32 @@ /*.table-color1 { font-weight: normal; font-size: 14px; - color: black; + color: black; font-family: verdana, arial; background-color: #F6F6F6; text-decoration: none; }*/ .table-color2 { - font-weight: normal; + font-weight: normal; font-size: 14px; color: black; - font-family: verdana, arial; + font-family: verdana, arial; background-color: #EBEBEB; text-decoration: none; } .error { font-weight: bold; font-size: 9pt; - color: #ff0000; + color: #ff0000; font-family: Arial, Helvetica, sans-serif; } .button { font-weight: normal; font-size: 12px; - background: url(img/button_back.gif) #F9EEAE repeat-x; + background: url(img/button_back.gif) #F9EEAE repeat-x; color: black; font-family: Arial, Verdana; text-decoration: none;