Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-13 23:44:17

popmoc
New Member
From: Essex, UK
Registered: 2005-12-13
Posts: 8
Website

Caught in 'setup' limbo

Hi,

I’m just trying to setup textpattern for the first time. Got the database all setup and up and running. Uploaded all textpattern files to my site fine. As I went through the setup procedure though I got to the point where the message:

“Before you proceed, create a file called config.php in the /textpattern/ directory and paste the following inside:”

.. appears. I setup the config file on the site, and then press “I did it!” and the screen just remains the same. So I can’t seem to get any further.

Does anyone know What might be happening? I seem very near the point of being setup, but I can’t get onto the next logon screen which should come-up.

I’d be really grateful for any ideas or help.

Mark

Offline

#2 2005-12-14 00:21:02

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

Re: Caught in 'setup' limbo

Most likely you’re uploading config.php to the wrong place.


Alex

Offline

#3 2005-12-14 10:02:24

mattwebb
Member
From: Australia (but im in London)
Registered: 2004-06-16
Posts: 17
Website

Re: Caught in 'setup' limbo

Dont forget to take off the “default” from “config.php.default” if thats the file you edited…..


Dont worry… The flash site is being re-developed with txp !

Offline

#4 2005-12-16 21:20:12

popmoc
New Member
From: Essex, UK
Registered: 2005-12-13
Posts: 8
Website

Re: Caught in 'setup' limbo

Thankyou for your replies Alex and Matt. I have several times tried re-uploading the config.php file (also in different places), and yes I’ve removed the “.default” from the end of the extension.

I’m still having the same trouble. Any other ideas.

Basically I get to that setup screen where I am asked to copy script to “config.php”, which I do, then when I press the “I’ve done it” button, the screen just stays on the same form page.

… I will look again, as it does seem that the most obvious thing would be that config.php is in the wrong place.

Offline

#5 2005-12-16 21:28:50

popmoc
New Member
From: Essex, UK
Registered: 2005-12-13
Posts: 8
Website

Re: Caught in 'setup' limbo

Just tried loading config.php again several times. First in (subdirectory/textpattern/), then also just directly in the subdirectory. I do get a message, can’t find database sometimes. I’m wondering if my MySql database is setup properly. However the setup process is clearly connecting to the database at a certain point.

Mark

Offline

#6 2005-12-16 22:26:57

popmoc
New Member
From: Essex, UK
Registered: 2005-12-13
Posts: 8
Website

Re: Caught in 'setup' limbo

This is remarkably similar to what is described at http://forum.textpattern.com/viewtopic.php?id=13060

which was eventually resolved thru discovering that Dreamweaver MX was adding HTML code to the config.php file. I’m also using Dreamweaver MX, but I can’t find any sign of any extra code in the file.

Offline

#7 2005-12-16 22:34:32

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Caught in 'setup' limbo

Hi popmoc.

Try creating the file in a simple text editor, like Notepad or ConTEXT, and upload it with a simple FTP client, like Filezilla


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#8 2005-12-16 23:28:45

popmoc
New Member
From: Essex, UK
Registered: 2005-12-13
Posts: 8
Website

Re: Caught in 'setup' limbo

Hi Maniqui,

Thanks. I tried this after your suggestion. But I still get the same problem. Frustrating. i really thought this would resolve it.

I also tried completely removing my original download of Textpattern and starting from the beginning again. Same problem.

Might this be a problem with my server possibly?

Mark

Offline

#9 2005-12-16 23:39:52

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

Re: Caught in 'setup' limbo

Might this be a problem with my server possibly?

Possible but unlikely. Can you post the complete contents of config.php please? You can blank out the mysql password. Use pastebin to post it.


Alex

Offline

#10 2005-12-17 16:53:19

popmoc
New Member
From: Essex, UK
Registered: 2005-12-13
Posts: 8
Website

Re: Caught in 'setup' limbo

Hi Alex,

I’m not familiar with pastebin. But going into it and putting in the contents of config.php, I presumed I need to give you the url where it appears, which is http://pastebin.com/467960

When I opened the config.php file this time, I did find some extra code in it, that I didn’t put in there. It was something like “/par” after each line of php code. And it was also preceeded by a whole lot of code. I also thought this was the config file which I placed there from a simple text editor. But maybe not. I will go back and find out, as this may well be the problem?

Thanks for your time

Mark

Offline

#11 2005-12-17 17:03:18

popmoc
New Member
From: Essex, UK
Registered: 2005-12-13
Posts: 8
Website

Re: Caught in 'setup' limbo

Further to my previous post Alex, I have just double checked that the current config.php file is without all that extra script. However it is strange that all that script appeared somehow before.

Mark

Offline

#12 2005-12-17 21:38:16

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

Re: Caught in 'setup' limbo

I will go back and find out, as this may well be the problem?

It could be, if that’s making it into the copy on the server. Perhaps you used a HTML editor or similar.

The other possible problem is the txpath setting:

$txpcfg['txpath'] = '\\\\nas25ent\\domains\\r\\rspopuk.com\\user\\htdocs\\txp\\textpattern';

I don’t think those double backslashes are correct. Try this:

$txpcfg['txpath'] = '\\nas25ent\domains\r\rspopuk.com\user\htdocs\txp\textpattern';

Is your server a Windows machine? There’s no drive letter at the start of the path, perhaps that’s an issue.

Also, can you confirm that the config.php file is located in the \\nas25ent\\domains\\r\\rspopuk.com\\user\\htdocs\\txp\\textpattern directory, and is readable?


Alex

Offline

Board footer

Powered by FluxBB