Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-02-16 12:49:37

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

Re: SETUP folder disappear

Maybe this is the reason? (in index.php)

if (!@include ‘./config.php’) { include txpath.’/setup/index.php’; exit(); }

Is this the right path to config.php if it is very near? I mean, do we need any slash there?

Last edited by maxim-usik (2006-02-16 12:50:45)

Offline

#14 2006-02-16 13:48:50

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

Re: SETUP folder disappear

Make sure you have the right index.php in the right place. At the top of the file there is a line that is something like:
HeadURL: http://svn.textpattern.com/development/4.0/index.php

Make sure that the index.php in your textpattern directory has 4.0/textpattern/index.php on at the end of the file, not just index.php as above. You should be able to do this for all the files on your site.

The error that you have posted above really sounds like you have the path wrong. How do you know that the path isn’t the problem?

Offline

#15 2006-02-16 14:14:42

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

Re: SETUP folder disappear

Here is my HeadURL: $HeadURL: http://svn.textpattern.com/current/textpattern/index.php $

Is it right?

I have tasted the www-directory by Telnet, writing as you said, www/asiakkaat/barentss/public_html/textpattern/, and Telnet said that THAT IS A DIRECTORY. Also I asked my hosting-provider to check, is the directory right. Thay sad that my www-directory is: /www/asiakkaat/barentss/public_html/textpattern

Offline

#16 2006-02-16 15:51:55

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

Re: SETUP folder disappear

You need to double check that path via telnet. If you type exactly this (without the quotes): “cd /www/asiakkaat/barentss/public_html/textpattern/” (note that there is a ‘/’ before the first w) do you get to that directory? If you do a ‘ls -a’ when you are in that directory what is the output?

Textpattern needs the whole path to your site from the server side so if your host has some directories above the www directory, those directories need to be included in your path.

Offline

#17 2006-02-16 17:35:54

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

Re: SETUP folder disappear

That what I get in Telnet:

-bash: /www/asiakkaat/barentss/public_html/textpattern/: is a directory
[barentss@peippo textpattern]$ cd /www/asiakkaat/barentss/public_html/textpattern/
[barentss@peippo textpattern]$ ls -a
./ config.php css.php include/ lang/ license.txt publish.php textpattern.css txp_img/ update/
../ config.php.default en-gb.php index.php lib/ publish/ setup-langs.php tmp/ txpsql.php _update.php
[barentss@peippo textpattern]$

Last edited by maxim-usik (2006-02-16 17:41:29)

Offline

#18 2006-02-16 18:19:11

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

Re: SETUP folder disappear

So I think path seems to be fine? Or isn’t it correct?

Offline

#19 2006-02-16 20:14:19

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

Re: SETUP folder disappear

Yes, the path seems fine.
So if you go to your site now, what error do you get?

Offline

#20 2006-02-16 20:26:35

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

Re: SETUP folder disappear

If you want to, you may see it also, www.barentsspecialists.net/textpattern/ – is a cms part which gives me the error, and www.barentsspecialists.net is a site which doesn’t work correct becouse of this error.

And the error is the same:

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

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

Last edited by maxim-usik (2006-02-16 20:27:12)

Offline

#21 2006-02-16 21:08:55

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

Re: SETUP folder disappear

Ok, do you have Textpattern installed in /www/asiakkaat/barentss/public_html/ or /www/asiakkaat/barentss/public_html/textpattern/?

It seems like www.barentsspecialists.net/ is working fine and if you had Textpattern installed in www/asiakkaat/barentss/public_html/ that shouldn’t be happening…

Offline

#22 2006-02-16 21:16:35

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

Re: SETUP folder disappear

it is installed to /www/asiakkaat/barentss/public_html/textpattern/

But as you see now Textpattern doesn’t work and main sait doesnt work correctly too. There is now texts..

Offline

#23 2006-02-17 00:14:39

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

Re: SETUP folder disappear

Ok, if Textpattern is installed in /www/asiakkaat/barentss/public_html/textpattern/ then config.php should be in /www/asiakkaat/barentss/public_html/textpattern/textpattern.

Do you have an index.php in /www/asiakkaat/barentss/public_html/ ? What is the HeadURL on that file?

Offline

#24 2006-02-17 06:47:36

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

Re: SETUP folder disappear

Yes, config.php is /www/asiakkaat/barentss/public_html/textpattern/

Yes, I have index.php in /public_html It is the main sait´s first page.

That file HeadURL is : http://svn.textpattern.com/current/index.php $ $LastChangedRevision: 741 $

Offline

Board footer

Powered by FluxBB