You are not logged in.
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:
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:
$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)
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.
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)
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?
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!
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.
it worked! you’re the best! thanks so much!