Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-18 14:54:39

Wolfgang
Member
From: Germany
Registered: 2006-07-18
Posts: 71
Website

First argument should be an array in extract() of publish.php

Hello

I’ve installed TP first time in http://devsup.de/

I’ve extracted the files and created a config.php containing all necessary informations for the database access.

The I get the following error message:

Warning: extract() [function.extract]: First argument should be an array in /home/devsupde/http/pub/textpattern/publish.php on line 56

Unknown section

Can someone give me a hint to solve this problem?

Thanks for all help

Best regards
Wolfgang

Offline

#2 2006-07-18 16:10:20

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: First argument should be an array in extract() of publish.php

Did you go through setup as is explained in the instructions?

Offline

#3 2006-07-18 16:29:43

Wolfgang
Member
From: Germany
Registered: 2006-07-18
Posts: 71
Website

Re: First argument should be an array in extract() of publish.php

I believe 5 times …

Offline

#4 2006-07-18 16:41:27

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: First argument should be an array in extract() of publish.php

I am asking, because you do not need to this manually:

and created a config.php containing all necessary informations for the database access.

because setup will prompt you with what to put in config.php.

Did you get any error-messages after setup ran? What happens when you log.in to the backend?

Offline

#5 2006-07-18 20:39:49

Wolfgang
Member
From: Germany
Registered: 2006-07-18
Posts: 71
Website

Re: First argument should be an array in extract() of publish.php

Hello

Sorry the old posting has been something damaged

I have done the installation part:

> Installation
> * Extract the files to your site (in the web root, or choose a
> subdirectory). The top-level index.php should reside in this
> directory, as should the /textpattern/ directory.
> * Create, or establish the existence of, a working mysql database,
> load /textpattern/setup/ (or /subpath/textpattern/setup/ )
> in a browser, and follow the directions.

The config.php works correctly and I can connect to the DB.

In the config.php, this path is correct:
$txpcfg[‘txpath’] = ‘/home/devsupde/http/pub/textpattern/textpattern’;

And the next step is to go to the Admin-Area and then I find the message:

Warning: extract() [function.extract]: First argument should be an array in /home/devsupde/http/pub/textpattern/textpattern/publish.php on line 56

Best regards
Wolfgang Uhr

Offline

#6 2006-07-18 22:45:56

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: First argument should be an array in extract() of publish.php

Did you actually run and complete the setup script at /textpattern/setup/?

Last edited by zem (2006-07-18 22:46:38)


Alex

Offline

#7 2006-07-18 23:54:43

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: First argument should be an array in extract() of publish.php

You have uloaded textpattern here:
http://devsup.de/textpattern/

So your admin-directory is here:
http://devsup.de/textpattern/textpattern/

The setup directory is here:
http://devsup.de/textpattern/textpattern/setup/

A simply way to find out whether you ran setup or not: Did you get asked, in a form, the details for connecting to a database? Were you asked to create a user-account? If not, then you didn’t run setup.

The instructions don’t tell you to manually edit config.php or input any values. It doesn’t matter if the values are correct or not. If you create a config.php file before running setup, you will not be able to even run setup…

Last edited by Sencer (2006-07-18 23:58:03)

Offline

#8 2006-07-19 18:13:17

Wolfgang
Member
From: Germany
Registered: 2006-07-18
Posts: 71
Website

Re: First argument should be an array in extract() of publish.php

Oh thank you it works …
It’s the wrong place but it works …

Offline

#9 2006-07-19 21:34:25

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: First argument should be an array in extract() of publish.php

It’s the wrong place but it works…

?

Offline

Board footer

Powered by FluxBB