Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-12-18 11:39:51

Cynthia
New Member
Registered: 2012-12-17
Posts: 8

error after moving website

I moved a textpattern site from one host to another. I didn’t make this site myself, nor am I familiar with textpattern. I used the information in this link to move the site:
http://www.textpattern.net/wiki/index.php?title=Moving_Installation_from_one_Host_to_Another

The website is now online at it’s new webhost, but doesn’t work properly.

You can only view the homepage, when you try to go to other parts of the site you see the message:
Not Found – The requested document was not found on this server. – Web Server at ilavanderpouw.nl

The error log says:
File does not exist: /var/www/vhosts/ilavanderpouw.nl/httpdocs/gastenboek, referer: http://ilavanderpouw.nl/gastenboek/gb

In the textpattern.net/wiki topic I read that I should change the config.php file. And I did. This is what I made of it:
<?php
$txpcfg[‘db’] = ‘***’;
$txpcfg[‘user’] = ‘***’;
$txpcfg[‘pass’] = ‘***’;
$txpcfg[‘host’] = ‘localhost’;
$txpcfg[‘table_prefix’] = ‘ila_’;
$txpcfg[‘txpath’] = dirname(FILE)/httpdocs/textpattern;
$txpcfg[‘dbcharset’] = ‘utf8’;
?>

I guess there is something wrong with the txpath, but I can’t figure out what to make of it. I tried contacting my host, searching the internet for answers, but they couldn’t help me any further.

I’m sorry for my deficient English and my deficient knowledge of the textpattern system, but I hope somebody can help me with this.

Is it likely that the problem is in the txpath, or should I look somewhere else?
Does anybody have tips what to make of it, or tips where I can find more information about what to make of it?

Thanks in advance!

Modified by moderator to hide some details

Last edited by Dragondz (2012-12-18 11:43:26)

Offline

#2 2012-12-18 11:48:43

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: error after moving website

Hi Cynthia

You have a problem with htaccess, you must upload it using ftp (sometimes .htaccess is hided in webserver).

the link : http://www.ilavanderpouw.nl/index.php?s=jeugdtheater works for me, that make clear that the messy url works (in the textpattern admin go to diagnotic tab i am sure you will find that the htaccess is missing). if htaccess is there but apache rewrite mod is not installed in your webserver you can switch textpattern to messy url in preference tab.

Cheers

Offline

#3 2012-12-18 11:48:50

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: error after moving website

Can you log into Textpattern and check the diagnostics page. If so let us know any errors it is reporting.

Also, was the .htaccess file moved across to the new host? That file is sometimes hidden from user view, so can be easily missed.

Edit: Ah, Dragondz beat me to it!

Last edited by philwareham (2012-12-18 11:49:49)

Offline

#4 2012-12-18 12:25:30

Cynthia
New Member
Registered: 2012-12-17
Posts: 8

Re: error after moving website

Thanks for the fast reactions!

I can’t find the htaccess file on my new ftp server, so that’s probably it, should it be in the textpattern folder?

And where can I find it now? because I copied all the files from my old hosts ftp server. But I can’t find the file in there?

Offline

#5 2012-12-18 12:35:51

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: error after moving website

Hi Cynthia

Go to textpattern.com and download the zip package, unzip it in your local folder you will find it on the root (with index.php and css.php). uplaod it on the root folder and it will be ok, just in case go to textpattern admin and look at diagnotic tab to see if all is ok there!

Cheers

Offline

#6 2012-12-18 13:02:29

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: error after moving website

The htaccess issue is often seen in Mac OS environments. If so, try to find a text editor that can open hidden files (e.g. TextWrangler, available for free), and “save as” without the dot. Now you can grab the file the usual way. Once placed on the server, don’t forget to rename the file to its original name.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#7 2012-12-18 13:02:30

Cynthia
New Member
Registered: 2012-12-17
Posts: 8

Re: error after moving website

it worked! you’re the best! thanks so much!

Offline

Board footer

Powered by FluxBB