Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-02-13 09:43:39
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Website transfer glitch
Hi,
I have changed to a different web host and had my website transferred by them along with the MySQL database. I now have this message when loading my website at http://urbangriffn.com:
Warning: main(/home/urbangr1/public_html/textpattern/publish.php) [function.main]: failed to open stream: No such file or directory in /home/mezzo3/public_html/index.php on line 33
Warning: main(/home/urbangr1/public_html/textpattern/publish.php) [function.main]: failed to open stream: No such file or directory in /home/mezzo3/public_html/index.php on line 33
Warning: main() [function.include]: Failed opening ‘/home/urbangr1/public_html/textpattern/publish.php’ for inclusion (include_path=’.:/usr/lib/php’) in /home/mezzo3/public_html/index.php on line 33
Fatal error: Call to undefined function: textpattern() in /home/mezzo3/public_html/index.php on line 34
I don’t really know how to fix it ? I tried making a clean TXP install using the old database, but that wouldn’t work. I figure I must edit some file perhaps to reflect the change of path, but I don’t have a clue how. Please, help me ?
Offline
Re: Website transfer glitch
Hi,
make sure that the file “config.php” that’s located inside your “textpattern” directory has the right variable that points to your textpattern.
The line you’re looking for looks something like this:
$txpcfg['txpath'] = '/home/urbangr1/public_html/textpattern';
Change that path so that it points to where your files are in your new hosting account.
(Then in the admin preferences change the path to files directory, and temp directory).
Offline
#3 2007-02-13 20:19:42
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: Website transfer glitch
Thank you so very much. My site was up again in no time. :)
Offline
Pages: 1