Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Stuck at language selection screen while installing
EuclidBox wrote #328764:
I have now reuploaded the whole repository after removing everything else.
[…]
I am using Plesk to do all this as I don’t have direct access to the server itself. I don’t know if that could cause any problems.
Can you take and post a screenshot of your directory structure? Hide anything sensitive as needed.
Offline
Re: Stuck at language selection screen while installing
Baffling. Sounds like it can’t instantiate the $_SESSION that passes data between pages of the installation steps. Can’t for the life of me think why.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Stuck at language selection screen while installing
Bloke wrote #328767:
Baffling. Sounds like it can’t instantiate the
$_SESSIONthat passes data between pages of the installation steps. Can’t for the life of me think why.
Would a WAF or mod_security prevent this?
Offline
#19 2021-02-11 14:40:22
- EuclidBox
- Member
- Registered: 2021-02-11
- Posts: 16
Offline
#20 2021-02-11 14:42:13
- EuclidBox
- Member
- Registered: 2021-02-11
- Posts: 16
Re: Stuck at language selection screen while installing
Bloke wrote #328767:
Baffling. Sounds like it can’t instantiate the
$_SESSIONthat passes data between pages of the installation steps. Can’t for the life of me think why.
While doing my own debugging I have seen that the step_getDbInfo is passed via post request to the server.
Offline
Re: Stuck at language selection screen while installing
gaekwad wrote #328765:
Is there mileage in applying the changes from here, Bloke?
Can’t hurt, but if EuclidBox can’t get off the language choice step, nothing will be shown in the second step.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Offline
#23 2021-02-11 14:47:54
- EuclidBox
- Member
- Registered: 2021-02-11
- Posts: 16
Re: Stuck at language selection screen while installing
gaekwad wrote #328772:
That looks just fine – presumably the scrambled directory underneath
httpdocson the left side is your subdomain? I know some hosting setups have subdomains inside domains.
It is a domain. The httpdocs folder was created automatically. The blurred folder beneath contains the content you see on screen and is the main folder for the domain (like the www folder).
Offline
Re: Stuck at language selection screen while installing
Just to clarify. You are using the stable 4.8.4 release, yes? Not dev code from GitHub (although that should be working fine, too)?
Offline
#25 2021-02-11 15:49:43
- EuclidBox
- Member
- Registered: 2021-02-11
- Posts: 16
Re: Stuck at language selection screen while installing
Yes, I have downloaded the 4.8.4 release from the website. Uploaded the .zip to my website and unpacked it. Then moved everything from the textpattern-4-8-4 folder one directory up as everything else would be in the wrong directory. Then I opened the setup as explained in the initial post.
Edit: The problem I have, is that I cannot contact my hoster before I don’t know what is not working correctly and I do not no if it is even on their side even.
Last edited by EuclidBox (2021-02-11 15:51:49)
Offline
Offline
#27 2021-02-11 15:58:44
- EuclidBox
- Member
- Registered: 2021-02-11
- Posts: 16
Offline
Offline
#29 2021-02-11 16:11:53
- EuclidBox
- Member
- Registered: 2021-02-11
- Posts: 16
Re: Stuck at language selection screen while installing
etc wrote #328778:
Please inspect it closer: click on
index.phpand then at the response tab (or similar).
Here is the output when I click on index.php
General
Request URL: [HIDDEN]/textpattern/setup/Index.php
Request Method: POST
Status Code: 200
Remote Address: [HIDDEN]
Referrer Policy: no-referrer-when-downgrade
Response Headers
cache-control: no-store, no-cache, must-revalidate
content-encoding: gzip
content-length: 1747
content-type: text/html; charset=utf-8
date: Thu, 11 Feb 2021 16:03:48 GMT
expires: Thu, 19 Nov 1981 08:52:00 GMT
pragma: no-cache
server: Microsoft-IIS/10.0
vary: Accept-Encoding
x-powered-by: ASP.NET
x-powered-by-plesk: PleskWin
Request Headers
:authority: [HIDDEN]
:method: POST
:path: /textpattern/setup/Index.php
:scheme: https
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
accept-encoding: gzip, deflate, br
accept-language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
cache-control: max-age=0
content-length: 41
content-type: application/x-www-form-urlencoded
cookie: PHPSESSID=scein51hr7vsgqkvsnklfaa0nv
origin: [HIDDEN]
referer: [HIDDEN]/textpattern/setup/Index.php
sec-fetch-dest: document
sec-fetch-mode: navigate
sec-fetch-site: same-origin
sec-fetch-user: ?1
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 OPR/73.0.3856.396
Form Data
lang: en
Submit: Submit
step: step_getDbInfo
Response Tab as you requested
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow">
<title>Setup | Textpattern CMS</title>
<script src="../vendors/jquery/jquery/jquery.js"></script>
<script src="../vendors/jquery/jquery-ui/jquery-ui.js"></script>
<script>
var textpattern = {"prefs":{},"event":"setup","step":"","textarray":{"help":"Help"}};
</script>
<script src="../textpattern.js"></script>
<link rel="stylesheet" href="../admin-themes/hive/assets/css/textpattern.css">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
</head>
<body class="setup welcome" id="page-setup">
<script src="../admin-themes/hive/assets/js/darkmode.js"></script>
<main class="txp-body">
<div class="txp-setup">
<h1>Welcome to Textpattern CMS</h1>
<form class="prefs-form" method="post" action="/textpattern/setup/Index.php">
<div class="txp-form-field">
<div class="txp-form-field-label">
<label for="setup_language">Please choose a language</label>
</div>
<div class="txp-form-field-value">
<select id="setup_language" name="lang" autocomplete="language">
<option value="ar">العربية</option>
<option value="bg">български</option>
<option value="bn">বাংলা</option>
<option value="bs">Bosanski</option>
<option value="ca">Català</option>
<option value="ceb">Cebuano</option>
<option value="cs">Čeština</option>
<option value="cy">Cymraeg</option>
<option value="da">Dansk</option>
<option value="de">Deutsch</option>
<option value="el">Ελληνικά</option>
<option value="en-gb">English (British)</option>
<option value="en-us">English (American)</option>
<option value="en" selected="selected">English</option>
<option value="es">Español</option>
<option value="et">Eesti</option>
<option value="fa">فارسی</option>
<option value="fi">Suomi</option>
<option value="fil">Filipino</option>
<option value="fr">Français</option>
<option value="gl">Galego</option>
<option value="he">עברית</option>
<option value="hi">हिन्दी</option>
<option value="hr">Hrvatski</option>
<option value="hu">Magyar</option>
<option value="id">Bahasa Indonesia</option>
<option value="is">Íslenska</option>
<option value="it">Italiano</option>
<option value="ja">日本語</option>
<option value="km">ភាសាខ្មែរ</option>
<option value="ko">한국말 (대한민국)</option>
<option value="lt">Lietuvių</option>
<option value="lv">Latviešu</option>
<option value="nb">Norsk (Bokmål)</option>
<option value="nl">Nederlands</option>
<option value="nn">Norsk (Nynorsk)</option>
<option value="pl">Polski</option>
<option value="pt-br">Português (Brasil)</option>
<option value="pt">Português (Portugal)</option>
<option value="ro">Română</option>
<option value="ru">Русский</option>
<option value="sk">Slovenčina</option>
<option value="sr-rs">Српски</option>
<option value="sr">Srpski</option>
<option value="sv">Svenska</option>
<option value="th">ภาษาไทย</option>
<option value="tl">Tagalog</option>
<option value="tr">Türkçe</option>
<option value="uk">Українська</option>
<option value="ur">اردو</option>
<option value="vi">Tiếng Việt</option>
<option value="zh-cn">中文(简体)</option>
<option value="zh-tw">中文(繁體)</option>
</select>
</div>
</div>
<p>
<input name="Submit" class="publish" type="submit" value="Submit" /></p>
<input name="step" type="hidden" value="step_getDbInfo" />
</form>
</div></main>
</body>
</html>
Last edited by EuclidBox (2021-02-11 16:17:48)
Offline
Re: Stuck at language selection screen while installing
Weird, as if POST requests were blocked somehow. Can you try to add dmp($_POST); on line 133 of setup/index.php?
Offline