Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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: 12,460
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.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

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

etc
Developer
Registered: 2010-11-11
Posts: 5,680
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: 12,460
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.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#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,680
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

#37 2021-02-11 16:49:52

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 tried this and as it seems is the GET working but the POST does not. I will write an email to the hoster then. Thank you for help and keep working on this amazing software :D.

I think we can mark this ticket as closed ;) Thanks again for everyone who tried to help.

Offline

#38 2021-02-12 09:15:03

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,460
Website GitHub

Re: Stuck at language selection screen while installing

If you do get a response from your host and they reveal anything, I’d love to find out what caused this so we can maybe add it as an entry in our Troubleshooting docs. Or, if it’s a fault with Textpattern and IIS (we only have limited (read: next to none recently) testing of this platform in the core team as I believe we all run Linux-based hosting environments) then we might be able to patch it. Thanks in advance for any info.


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

Board footer

Powered by FluxBB