Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-04-16 13:09:15

dima
Member
Registered: 2010-11-21
Posts: 27

[nginx] Undefined index: duser in textpattern/setup/index.php

Hello. Got these errors durring setup process trough “/textpattern/setup/index.php”. Need advice.
textpattern-4.6.2, nginx 1.12.2, php 7.2.4-1, php-fpm 7.2.4-1
Notice: Undefined index: lang in textpattern/setup/index.php on line 480
Notice: Undefined index: ddb in textpattern/setup/index.php on line 502
Notice: Undefined index: ddb in textpattern/setup/index.php on line 708
Notice: Undefined index: duser in textpattern/setup/index.php on line 709
Notice: Undefined index: dpass in textpattern/setup/index.php on line 710
Notice: Undefined index: dhost in textpattern/setup/index.php on line 711
Notice: Undefined index: dclient_flags in textpattern/setup/index.php on line 712
Notice: Undefined index: dprefix in textpattern/setup/index.php on line 713
Notice: Undefined index: dbcharset in textpattern/setup/index.php on line 715
Before you proceed: Create a file called config.php in the /textpattern/ directory and paste the following inside…
<?php
$txpcfg[‘db’] = ‘’;
$txpcfg[‘user’] = ‘’;
$txpcfg[‘pass’] = ‘’;
$txpcfg[‘host’] = ‘’;
$txpcfg[‘table_prefix’] = ‘’;
$txpcfg[‘txpath’] = ‘/tmp/textpattern’;
$txpcfg[‘dbcharset’] = ‘’;
?>

Edited: Label. — uli

Last edited by uli (2018-04-16 16:22:29)

Offline

#2 2018-04-16 14:05:23

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,768
Website

Re: [nginx] Undefined index: duser in textpattern/setup/index.php

dima wrote #311067:

Before you proceed: Create a file called config.php in the /textpattern/ directory and paste the following inside…

Hi dima
I guess you will have to fill up the config file. Unless of course txp is not compatible with php7.2.+.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#3 2018-04-16 14:17:27

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,049
Website

Re: [nginx] Undefined index: duser in textpattern/setup/index.php

Hi.

Nginx isn’t officially supported on Textpattern 4.6.2 (although it is in 4.7.0 coming very soon).

However, 4.6.2 can be run on Nginx, please see this document and let us know if that helps at all?

Offline

#4 2018-04-16 14:49:58

dima
Member
Registered: 2010-11-21
Posts: 27

Re: [nginx] Undefined index: duser in textpattern/setup/index.php

Fixed.
Site name field require “/” at the end. This hint availabale on “i” link of the setup page.

Offline

Board footer

Powered by FluxBB