Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-09 16:49:43

worktobedestroyed
New Member
Registered: 2005-07-19
Posts: 7

Install problems.. newbie

Hi, I downloaded 4.0.4, unzipped, ftp’d it to my host (GoDaddy.com, Linux server), and ran the install scripts. Everything seemed to work ok, the admin page is ok, I can create and save an article and user ok, but, I am getting the following error on the front page of the site:

Warning: main(/textpattern/publish.php): failed to open stream: No such file or directory in /home/content/y/o/u/youngp/html/index.php on line 33

Fatal error: Call to undefined function: textpattern() in /home/content/y/o/u/youngp/html/index.php on line 34

I’m finding this rather odd.. as there is no /home/content/….. directory.. so I’m not sure why text pattern is looking for this. During install it came up with what looked like to be a good config.php (below), set up the tables in the DB with no problems, and set up the admin side with no problems.

I’ve installed and reinstalled this about 3 times (each time dropping the previously created tables), and all with the same result… Not sure what else to do… Any help would be greatly appreciated,

thanks,
ben

the config.php:
<?php
$txpcfg[‘db’] = ‘yp_textpattern’;
$txpcfg[‘user’] = ‘yp_textpattern’;
$txpcfg[‘pass’] = ‘XXXXXXXXX’;
$txpcfg[‘host’] = ‘mysql257.secureserver.net’;
$txpcfg[‘table_prefix’] = ‘’;
$txpcfg[‘txpath’] = ‘/textpattern’;
$txpcfg[‘dbcharset’] = ‘latin1’;
?>

Offline

#2 2007-01-09 17:38:59

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Install problems.. newbie

Not sure about that hosting company.

But here a couple of things to check.

  • Check to see, if txp path in config is pointing to your home directory, that has been assigned to you by your hosting provider. Must be the full path.
    ( from your above config it seems to be missing )
  • After that, go to admin prefs advanced, and make sure, that you have full path also for your temp and files directories ( if you need them later )
    *Unrelated but: Check/adjust for file permsissions for images folders (777)

regards, marios

Last edited by marios (2007-01-09 17:41:32)


⌃ ⇧ < ⌃ ⇧ >

Offline

#3 2007-01-09 21:04:22

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

Re: Install problems.. newbie

FAQ:

  • An incorrect txpath setting in config.php. The value automatically detected by the setup process is almost always correct, so don’t change it unless you know what you’re doing.

Alex

Offline

#4 2007-01-09 21:10:22

worktobedestroyed
New Member
Registered: 2005-07-19
Posts: 7

Re: Install problems.. newbie

yeah, I think txpath is ok… or at least I have a /textpattern/ dir on the server.

btw, here is the site: http://www.youngphilosopher.com/

Last edited by worktobedestroyed (2007-01-09 22:14:18)

Offline

#5 2007-01-09 22:59:28

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

Re: Install problems.. newbie

worktobedestroyed wrote:

yeah, I think txpath is ok…

As has been pointed out, no it is not. Please carefully read the advice you are given. Especially the FAQ entry you have been pointed to.

Offline

#6 2007-01-09 23:20:46

worktobedestroyed
New Member
Registered: 2005-07-19
Posts: 7

Re: Install problems.. newbie

Sencer wrote:

As has been pointed out, no it is not. Please carefully read the advice you are given. Especially the FAQ entry you have been pointed to.

hmm.. I guess I’m somewhat retarded here, what’s the home directory? Just spent some time looking thru the information my ISP sent me, and I am not sure what I should be looking for.

I thought it was odd that the web index that I have when opening the account fresh is was simply /index.html… but, the textpattern index is simply in /textpattern/ … what am I not getting here?

Offline

#7 2007-01-09 23:25:38

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

Re: Install problems.. newbie

txpath is your filesystem path, not URL path. It should probably be /home/content/y/o/u/youngp/html/textpattern. The Textpattern setup application should provide the correct value for you, as the FAQ says.


Alex

Offline

#8 2007-01-09 23:30:31

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

Re: Install problems.. newbie

Change your config.php to:

<?php
$txpcfg['db'] = 'yp_textpattern';
$txpcfg['user'] = 'yp_textpattern';
$txpcfg['pass'] = 'XXXXXXXXX';
$txpcfg['host'] = 'mysql257.secureserver.net';
$txpcfg['table_prefix'] = '';
$txpcfg['txpath'] = '/home/content/y/o/u/youngp/html/textpattern';
$txpcfg['dbcharset'] = 'latin1';
?>

GoDaddy: What is the absolute path for my Linux hosting account?

Edit: Ah, Alex beat me to it. :)

Last edited by Mary (2007-01-09 23:30:52)

Offline

#9 2007-01-09 23:31:18

worktobedestroyed
New Member
Registered: 2005-07-19
Posts: 7

Re: Install problems.. newbie

zem wrote:

txpath is your filesystem path, not URL path. It should probably be /home/content/y/o/u/youngp/html/textpattern. The Textpattern setup application should provide the correct value for you, as the FAQ says.

wow, yeah, nail on the head… Site works now… Thanks for the patience with my stupidity.

Offline

Board footer

Powered by FluxBB