Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-13 14:21:41

maxim-usik
Member
Registered: 2006-02-13
Posts: 16

SETUP folder disappear

SETUP folder disappears

I was updating my web-site through the textpattern programm and then, when I saved my changes, database shows me the error. The reason was that the whole database folder SETUP was just gone! So now I took a fresh copy of “setup” folder from the new textpattern version.

The question is: How SETUP folder may just disappear? And Is this the right way to fix a problem, just to copy new SETUP files? Will I lose any information from my web-site?

Thanx

(Edit: assumed resolved and marked as such. :) -Mary)

Offline

#2 2006-02-14 00:23:14

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

Re: SETUP folder disappear

Textpattern doesn’t delete the setup dir. The problem is elsewhere.


Alex

Offline

#3 2006-02-14 06:18:04

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

Re: SETUP folder disappear

Not only that, the folder doesn’t contain the database, it merely contains the setup of it. Once you’ve set up Textpattern you’re supposed to delete that folder.

“…when I saved my changes, database shows me the error.” What is “the error”?

Offline

#4 2006-02-14 14:14:38

maxim-usik
Member
Registered: 2006-02-13
Posts: 16

Re: SETUP folder disappear

> mary wrote:

> Not only that, the folder doesn’t contain the database, it merely contains the setup of it. Once you’ve set up Textpattern you’re supposed to delete that folder.

“…when I saved my changes, database shows me the error.” What is “the error”?

The error was:

Warning: main(/www/asiakkaat/barentss/public_html/textpattern/index.php): failed to open stream: No such file or directory in

/www/asiakkaat/barentss/public_html/textpattern/setup/index.php on line 114

—————————-

on line 114 is code:

} else { include txpath.’/setup/index.php’; exit(); }

Offline

#5 2006-02-14 14:23:26

maxim-usik
Member
Registered: 2006-02-13
Posts: 16

Re: SETUP folder disappear

and the second line was:

Warning: main(): Failed opening ‘/www/asiakkaat/barentss/public_html/textpattern/setup/index.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /www/asiakkaat/barentss/public_html/textpattern/index.php on line 114

What can it be?

Offline

#6 2006-02-14 14:28:35

rskar
Member
Registered: 2006-02-13
Posts: 25

Re: SETUP folder disappear

This isn’t a database error, it is a path error. If you get a shell into your account (through telnet or SSH or whatever) and try to do a ‘cd /www/asiakkaat/barentss/public_html/textpattern/’ you will probably get a ‘file not found’ error.

You need to get the path to your www directory from your host. It is probably something like /home/your-user-name/www/asiakkaat/barentss/public_html/textpattern/.

Offline

#7 2006-02-14 14:52:46

maxim-usik
Member
Registered: 2006-02-13
Posts: 16

Re: SETUP folder disappear

So Where I have to write it? To which file? to index.php?

Offline

#8 2006-02-14 15:03:43

rskar
Member
Registered: 2006-02-13
Posts: 25

Re: SETUP folder disappear

Look for txpath in config.php (in your textpattern directory).

You really need to find out from your host provider what the path to your www directory is though. Until you have that you won’t be able to get your site working.

Offline

#9 2006-02-14 16:31:00

maxim-usik
Member
Registered: 2006-02-13
Posts: 16

Re: SETUP folder disappear

thanx, a lot!

Offline

#10 2006-02-16 10:55:03

maxim-usik
Member
Registered: 2006-02-13
Posts: 16

Re: SETUP folder disappear

I’ve checked the path and the problemm IS NOT in path directory. Directory is right.

So what else it could be?

Offline

#11 2006-02-16 12:21:05

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

Re: SETUP folder disappear

Where is your file config.php sitting? It should be sitting in the folder “textpattern” alongwith publish.php, textpattern.css, etc. The line you quoted above: Textpattern looks for the setup folder when it cannot find the config file.

Offline

#12 2006-02-16 12:44:09

maxim-usik
Member
Registered: 2006-02-13
Posts: 16

Re: SETUP folder disappear

Config.php is in the right place, insede the “textpattern”-folder. alongwith publish.php and index.php..

Offline

Board footer

Powered by FluxBB