Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-04-24 19:10:21
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Moved to a new webhost...
Hi there, I moved to a new webhost for my website http://www.joart.net. Unfortunately, I’m getting errors after importing the database file in phpMyAdmin:
Warning: main(/publish.php): failed to open stream: No such file or directory in /chroot/home/joartnet/joart.net/html/index.php on line 27
Warning: main(/publish.php): failed to open stream: No such file or directory in /chroot/home/joartnet/joart.net/html/index.php on line 27
Warning: main(): Failed opening '/publish.php' for inclusion (include_path='.:/usr/share/pear') in /chroot/home/joartnet/joart.net/html/index.php on line 27
Fatal error: Call to undefined function: textpattern() in /chroot/home/joartnet/joart.net/html/index.php on line 28
Can somebody help? I think that there is stored a wrong website-path somewhere?
Regards,
Joey
Offline
Re: Moved to a new webhost...
Offline
#3 2006-04-24 19:50:51
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: Moved to a new webhost...
Yes maniqui, but it is incomplete. I did everthing according to that description.
Regards,
Joey
Offline
#4 2006-04-24 20:02:32
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Moved to a new webhost...
Did you remember to update your config.php file to the correct new values?
Offline
Re: Moved to a new webhost...
Can you log into the admin-side? If yes, please post your high-level diagnostics.
Probably your txpath-setting is wrong in your config.php. You could try:
$txpcfg['txpath'] = '/chroot/home/joartnet/joart.net/html/textpattern';
Offline
Re: Moved to a new webhost...
Is this root right?
/chroot/home/joartnet/joart.net/html/
If you don’t know the absolute path you can find it out by pasting the following lines into a file, saving it as finddirectory.php into directory and opening it in your browser:
<code><?php
echo getcwd();
?>
</code>
is there the index.php file in your /html/ (root) directory? Dont get confused: the index.php in the root isnt the same as the index.php inside the /textpattern/ folder (check it)
Also, maybe a file of your TXP installation has been corrupted during uploading thru FTP.
Try reuploading all the textpattern files to your FTP.
Offline
#7 2006-04-25 15:39:47
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: Moved to a new webhost...
Thanks, it was indeed the wrong txp-path. I now have a second problem: txp can’t connect the database. First off all I am going to ask the webhost if I use the correct databse names etc. so I will come back when that doesn’t work:)
Regards,
Joey
Offline
Pages: 1