Server IP : 68.65.122.142  /  Your IP : 18.227.111.18
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /var/softaculous/bludit/../documentor/../epesi/../odm/../yourls/../wintercms/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //var/softaculous/bludit/../documentor/../epesi/../odm/../yourls/../wintercms/notes.txt
1) Install using web installer zip from here : https://github.com/wintercms/web-installer/releases/latest/download/install.zip
Step mentioned here : https://wintercms.com/docs/setup/installation#web-based-installation
Installer is at /install.html 

2) Make our zip from zip archive mentioned in the code in web installer folder i.e /install/install/api/src/Api.php
i.e in constant const WINTER_ARCHIVE = 'https://github.com/wintercms/winter/archive/refs/heads/1.1.zip';

3) Copy 'vendor' folder, 'composer.lock' file from manual installation folder to our zip. Check and copy composer.json as well from manual installation if there is a difference in downloaded zip's file  and installed file.

4) Check development dependencies in every version in this file /install/api/src/Api.php i.e in 'postCleanUp()' function,
i.e only the one's mentioned with comment //Remove core development files. Add those files to our <exclude> tag in install.xml.
These dependencies are removed by the script. Also compare with manual installation zip with original zip downloaded from https://github.com/wintercms/winter/archive/refs/heads/1.1.zip to 
check these changes and do them accordingly in our install.xml.

5. PHP REQUIREMENT LINK : https://wintercms.com/docs/v1.2/docs/setup/installation#minimum-system-requirements. Also check in install/api/src/Api.php in MIN_PHP_VERSION its mentioned 7.2.9 so we have kept the same in info.xml. Check PHP version on release notes as well for every major version release.

6. In config/cms.php, Change 'linkPolicy' => env('LINK_POLICY', 'detect'), to 'linkPolicy' => env('LINK_POLICY', 'force'), suggested by vendor as the image preview and the URL was breaking. Check in next version if the issue is resolved
https://github.com/wintercms/winter/issues/947#issuecomment-1872392255
Checked in 1.2.6 . Need to keep it to 'force', as image preview breaks.