Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2012-01-30 15:26:51

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,376
Website GitHub Mastodon

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

Board footer

Powered by FluxBB