Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#26 2021-02-11 15:53:15

etc
Developer
Registered: 2010-11-11
Posts: 5,255
Website GitHub

Re: Stuck at language selection screen while installing

EuclidBox wrote #328770:

While doing my own debugging I have seen that the step_getDbInfo is passed via post request to the server.

Hello, what is in the server response (browser network console)?

Offline

#27 2021-02-11 15:58:44

EuclidBox
Member
Registered: 2021-02-11
Posts: 16

Re: Stuck at language selection screen while installing

etc wrote #328776:

Hello, what is in the server response (browser network console)?

The server response looks normal to me. But I ain’t a professional tho.

Offline

#28 2021-02-11 16:01:48

etc
Developer
Registered: 2010-11-11
Posts: 5,255
Website GitHub

Re: Stuck at language selection screen while installing

EuclidBox wrote #328777:

The server response looks normal to me. But I ain’t a professional tho.

Please inspect it closer: click on index.php and then at the response tab (or similar).

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.php and 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 &#124; 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

#30 2021-02-11 16:26:25

etc
Developer
Registered: 2010-11-11
Posts: 5,255
Website GitHub

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

#31 2021-02-11 16:28:17

EuclidBox
Member
Registered: 2021-02-11
Posts: 16

Re: Stuck at language selection screen while installing

etc wrote #328781:

Weird, as if POST requests were blocked somehow. Can you try to add dmp($_POST); on line 133 of setup/index.php?

The dump is array (). Empty I guess…

Offline

#32 2021-02-11 16:30:18

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,475
Website GitHub

Re: Stuck at language selection screen while installing

It’s not suhosin or some installed PHP extension (or similar) getting in the way is it? Can you perchance upload some random filename with a .php extension to your root web server directory, with this in it:

<?php
phpinfo();

Run it in your browser and see if there are any filters or security extensions loaded that might give us a clue. This really is a head-scratcher but based on the fact $_POST is empty, something is swallowing your post data.

Last edited by Bloke (2021-02-11 16:31:28)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#33 2021-02-11 16:34:36

etc
Developer
Registered: 2010-11-11
Posts: 5,255
Website GitHub

Re: Stuck at language selection screen while installing

Yep, this explains it. Now we need to know what is blocking it, will you be able to send post data via your browser? Then you could create some test.php file on your server with just

<?php
var_dump($_POST);

and post some data to test.php. If the result is empty, I would inquire your webhost.

Offline

#34 2021-02-11 16:38:36

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,475
Website GitHub

Re: Stuck at language selection screen while installing

Also, just out of morbid curiosity, what happens if you var_dump($_REQUEST) in place of the var_dump($_POST) where etc suggested? I expect it’ll do the same thing. But if you add some parameter such as ?test=value to the URL of your file that submits to the server, see if those show up in the REQUEST output too. Then we’ll know if it’s just limited to POST, or if GET is involved too.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#35 2021-02-11 16:43:38

EuclidBox
Member
Registered: 2021-02-11
Posts: 16

Re: Stuck at language selection screen while installing

etc wrote #328784:

Yep, this explains it. Now we need to know what is blocking it, will you be able to send post data via your browser? Then you could create some test.php file on your server with just

<?php...

and post some data to test.php. If the result is empty, I would inquire your webhost.

I uploaded the output here
Hope it gives us a clue.

Offline

#36 2021-02-11 16:49:31

etc
Developer
Registered: 2010-11-11
Posts: 5,255
Website GitHub

Re: Stuck at language selection screen while installing

I can’t (quickly) see anything unusual, I would rather suspect some extra-zealous security filter. Try sending some post data and dumping it on the server.

Offline

Board footer

Powered by FluxBB