- apply patch from the D496
- in a Web Browser:
- empty the database, where In-Portal will be installed
- (in CLI) restart Memcache Server
- (in CLI) delete the /system/config.php file
- do a clean install of In-Portal and choose to use Memcache for caching
- in IDE:
- remove contents of the core/units/helpers/xml_helper.php and core/units/helpers/xml_helper5.php files
- copy/paste the /tools/build/build.properties file from the /tools/build/build.properties.dist file
- edit /tools/build/build.properties file and make these changes:
- set client.ip.address property to the 127.0.0.1
- set website.domain property to the value of the $_CONFIG['Misc']['Domain'] key in /system/config.php file
- set website.path property to the value of the $_CONFIG['Misc']['WebsitePath'] key in /system/config.php file
- set security.security_hmac_key property to the value of the $_CONFIG['Misc']['SecurityHmacKey'] key in /system/config.php file
- set security.security_encryption_key property to the value of the $_CONFIG['Misc']['SecurityEncryptionKey'] key in /system/config.php file
- set db.host property to the value of the $_CONFIG['Database']['DBHost'] key in /system/config.php file
- set db.name property to the value of the $_CONFIG['Database']['DBName'] key in /system/config.php file
- set db.user property to the value of the $_CONFIG['Database']['DBUser'] key in /system/config.php file
- set db.password property to the value of the $_CONFIG['Database']['DBUserPassword'] key in /system/config.php file
- set db.collation property to the value of the $_CONFIG['Database']['DBCollation'] key in /system/config.php file
- set db.tableprefix property to the value of the $_CONFIG['Database']['TablePrefix'] key in /system/config.php file
- set db.charset property to the value of the $_CONFIG['Database']['DBCharset'] key in /system/config.php file
- copy/paste contents of the /system/config.php file somewhere to use later in a comparison procedure
- in CLI:
- delete the /system/build-schema.sql, /system/build-data.sql, /system/build-patch.sql files (if present)
- run the phing -f tools/build/build_all.xml db-dump command
- confirm, that
- command finished without errors
- the /system/build-schema.sql, /system/build-data.sql, /system/build-patch.sql files were created
- run the phing -f tools/build/build_all.xml build command
- confirm, that
- command finished without errors
- the /system/config.php file is identical to the previously remembered /system/config.php file with these exceptions:
- the // Generated by Phing. comment is added on the next line after the <?php line
- the $_CONFIG['Misc']['CacheHandler'] key has 'Fake' value
Details
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Error on Clean install without applying patch
On "Step 8 - Basic Configuration" first page load after previous step.
Notice (#1): Constant EDITING_MODE already defined in \home\sites\dev\web\SVN\5.2.x\core\install\step_templates\post_config.tpl on line 85
Not passed 3 E a part of the plan. Made run of php74 which phing` -f tools/build/build_all.xml build` command.
Command finished with fatal error.
"PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 5.6.0". You are running 5.4.45. in /home/sites/dev/web/SVN/5.2.x/vendor/composer/platform_check.php on line 25"
All passed, excepting last part - config.php comparision.
Excessive difference detected
EnableSystemLog = 1 (generated by Phing)
EnableSystemLog = 0 was before