Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » setup troubles

#1 2006-05-26 11:05:44

radean
New Member
Registered: 2006-05-26
Posts: 3

setup troubles

I’ve been searching for stuff on the forum for hours now. I’m pretty bad at database stuff, and am getting quite frustrated.

at the moment I’m recieving the following when visiting the setup dir:

config.php is not ok or not found. If you would like to install, go to (/subdir)/textpattern/setup/

my config.php looks like this:

?php

/** * mysql database */ $txpcfg[‘db’] = ‘deadleav_textpattern’;

/** * database login name */ $txpcfg[‘user’] = ‘andreab’;

/** * database password */ $txpcfg[‘pass’] = ‘password’;

/** * database host */

$txpcfg[‘host’] = ‘deadleavs’;

/** * table prefix (Use ONLY if you require multiple installs in one db) */

$txpcfg[‘table_prefix’] = ‘’;

/** * full server path to textpattern dir (no slash at end) */

$txpcfg[‘txpath’] = ‘/home/deadleav/public_html/textpattern’;

/** * DB Connetion Charset, only for MySQL4.1 and up. Must be equal to the Table-Charset. */

$txpcfg[‘dbcharset’] = ‘latin1’;

?>

my problem, i think is the txpath area, I have no idea what I need to put there, or where it should point. Anyhelp would be greatly appreciated.

Thanks.

Last edited by radean (2006-05-26 11:07:03)

Offline

#2 2006-05-26 11:31:27

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: setup troubles

Looks like it could be right to me.

Is this an actual paste of the code?

Is anything work?

Can you output a diagnostic?

this is what I see
$txpcfg[‘dbcharset’] = ‘latin1’;

this is what you should have:
<code>
$txpcfg[‘dbcharset’] = ‘latin1’;
</code>

(Those single quotes are not standard……unless it’s being processed by textile in this forum.)

Put code in <code></code>.

Also, if you want to check the path (and your host is super nice) they allow you to move up the ftp path (just not manipulate any of the files). Btw, who is your host?

Last edited by Walker (2006-05-26 11:31:48)

Offline

#3 2006-05-26 11:39:17

radean
New Member
Registered: 2006-05-26
Posts: 3

Re: setup troubles

It is just a copy and paste of the code.

my host is cyberpixels. i’ve just never used mysql before this point. so i’m pretty lost at this point.

Offline

#4 2006-05-26 11:53:09

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

Re: setup troubles

at the moment I’m recieving the following when visiting the setup dir

You wouldn’t see that if you visited the setup dir. Looks like you’re going to the wrong url. Remember that if you didn’t put the files in the root, you have to add the subdir. For example if you copied your files into a directory named textpattern, you will find setup in textpattern/textpattern/setup/

Also: Do not create a config.php file beforehand, setup will prompt you to create one and provide the contents.

Offline

#5 2006-05-26 11:54:12

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: setup troubles

You should ask your host what it is. This is something they should add to their terrible knowledgebase.

Say “I have an account with you, what is the generic path to a user’s web directory on your servers?”

They should say something like “/users/home/_username_/web/public_html”.

Offline

#6 2006-05-27 01:53:05

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

Re: setup troubles

The correct txpath setting should be automatically detected by Textpattern, and included in the copy-paste config.php text it provides.


Alex

Offline

#7 2006-05-27 02:15:06

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: setup troubles

Yeah, I think Sencer hit the nail on the head when he said that this guy hadn’t visited the setup dir.

Offline

#8 2006-05-27 05:21:55

radean
New Member
Registered: 2006-05-26
Posts: 3

Re: setup troubles

seems o be working fine now. i did got to the setup dir initially and still got the mesage to go to it, strangely enough. it was the txpath that was the problem, all sorted, fingers crossed, cheers guys.

Offline

  1. Index
  2. » Archives
  3. » setup troubles

Board footer

Powered by FluxBB