Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2012-01-30 14:20:52
- GuyVerville
- Member
- Registered: 2011-09-21
- Posts: 31
Migrating to a VPS causes problem
I have migrated several of my sites in a VPS. One of those sites is powered by Textpattern. What I did was simply moving all the files to the new server, and updated the database. The site can be found here > Guy Verville.
When making a diagnostic, I get this error message: path_to_site est inaccessible: /var/www/vhosts/guyverville.com/httpdocs. (path to site is unavailable)
This causes several problem. If you click one of the links on the left, there is a significant lag, which was not present on the previous shared host. The second problem is that Facebook or Google can’t embed the links! (Except the root http://guyverville.com).
I then tried this: installing Textpattern in a subdirectory. Everything is OK, no error messages. When I compare both diagnostic results, i find this:
Main site:
Document racine: /var/www/vhosts/guyverville.com/httpdocs
$path_to_site: /var/www/vhosts/guyverville.com/httpdocs
Chemin d’accès à Textpattern: /var/www/vhosts/guyverville.com/httpdocs/textpattern
Format des URL: section_title
open_basedir: /var/www/vhosts/guyverville.com/httpdocs/:/tmp/
Répertoire temporaire: /var/www/vhosts/guyverville.com/httpdocs/textpattern/tmp
URL du site: www.guyverville.com
Dummy site, but working perfectly:
Document root: /var/www/vhosts/guyverville.com/httpdocs
$path_to_site: /var/www/vhosts/guyverville.com/httpdocs/essaitxp
Textpattern path: /var/www/vhosts/guyverville.com/httpdocs/essaitxp/textpattern
Permanent link mode: section_id_title
open_basedir: /var/www/vhosts/guyverville.com/httpdocs/:/tmp/
Temporary directory path: /var/www/vhosts/guyverville.com/httpdocs/essaitxp/textpattern/tmp
Site URL: www.guyverville.com/essaitxp
I think the $path_to_site should read differently for the main site, but I am not sure at all. Any idea what is wrong?
Last edited by GuyVerville (2012-01-30 14:21:54)
Offline
Re: Migrating to a VPS causes problem
Try this.
Offline
#3 2012-01-30 15:31:53
- GuyVerville
- Member
- Registered: 2011-09-21
- Posts: 31
Re: Migrating to a VPS causes problem
Thank you a lot, this resolved the slow issue. Any idea for the other point?
Offline
Pages: 1