Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-16 13:24:57

avetma
Member
Registered: 2006-03-11
Posts: 28

Textpattern - changing server

After sql export and copying files from local to another server I got this errors:

Warning: main(/home/someword/public_html/test/publish.php): failed to open stream: No such file or directory in /home/someword/public_html/test/index.php on line 27
Warning: main(/home/someword/public_html/test/publish.php): failed to open stream: No such file or directory in /home/someword/public_html/test/index.php on line 27
Warning: main(): Failed opening ‘/home/someword/public_html/test/publish.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/someword/public_html/test/index.php on line 27
Fatal error: Call to undefined function: textpattern() in /home/someword/public_html/test/index.php on line 28

I changed config.php after moving files to new server.

Any help would be appriciated.

Thank you

Offline

#2 2006-03-16 17:47:12

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

Re: Textpattern - changing server

Please post your diagnostics details.

Offline

#3 2006-03-16 20:25:13

avetma
Member
Registered: 2006-03-11
Posts: 28

Re: Textpattern - changing server

______________________

Textpattern version: 4.0.3 (r1188)
last_update: 2006-03-06 12:02:23/2006-03-16 13:14:49
Document root: /home/mysite/public_html
$path_to_site: k:\appserv\www\textpattern\textpattern-4.0.3
Textpattern path: /home/mysite/public_html/test/textpattern
Permanent link mode: id_title
Temp folder: /home/kliscom/public_html/test/textpattern/tmp
Site URL: www.mysite.com.hr/test
PHP version: 4.4.1
Register globals: 1
Server time: 2006-03-16 21:23:39
MySQL: 4.1.14-standard
Locale: English_United Kingdom.1252
Server: Apache/1.3.34 (Unix) mod_log_bytes/1.2 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
PHP mode: cgi
Operating System: Linux 2.6.9-11.ELsmp

Pre-flight check:
————————————
path_to_site is inaccessible: k:\appserv\www\textpattern\textpattern-4.0.3
k:\appserv\www\textpattern\textpattern-4.0.3/index.php is inaccessible
Image directory is not writable: k:\appserv\www\textpattern\textpattern-4.0.3/images
.htaccess file is missing
————————————

______________________

I Know that is something stupid :) But I cant find where to change settings about site path and similar.

Thank you.

Last edited by avetma (2006-03-16 20:25:39)

Offline

#4 2006-03-16 20:33:35

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

Re: Textpattern - changing server

I think you forgot to upload your changed config file, it looks like the one being used is still set to the old value (“k:\appserv\www\textpattern\textpattern-4.0.3”).

Offline

#5 2006-03-16 20:39:44

avetma
Member
Registered: 2006-03-11
Posts: 28

Re: Textpattern - changing server

config.php:

$txpcfg[‘db’] = ‘yyy’;
$txpcfg[‘user’] = ‘xxx’;
$txpcfg[‘pass’] = ‘zzz’;
$txpcfg[‘host’] = ‘localhost’;
$txpcfg[‘table_prefix’] = ‘’;
$txpcfg[‘txpath’] = ‘/home/mysite/public_html/test’;
$txpcfg[‘dbcharset’] = ‘latin1’;

That’s ok?

Thank you

Offline

#6 2006-03-17 07:07:38

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: Textpattern - changing server

<pre>$txpcfg[‘txpath’] = ’/home/mysite/public_html/test’;</pre>

This should point to your Textpattern directory specifically. Based on what you entered above, it should probably be /home/mysite/public_html/test/textpattern

Offline

#7 2006-03-17 07:21:47

avetma
Member
Registered: 2006-03-11
Posts: 28

Re: Textpattern - changing server

That’s it!
Thank you very much!

Offline

Board footer

Powered by FluxBB