Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-31 06:39:26

eggnog
Member
From: Vancouver
Registered: 2008-03-10
Posts: 37
Website

From local to remote -- config.php questions

Hey guys,

I’m in the process of moving my site from my local host to remote. I’ve set up the remote mySQL database, imported the .sql file and everything went smoothly. I’ve uploaded all my textpattern files to the server, and attempted to adjust my config.php file.

Here’s how it currently looks, notation identifies problematic variables:

<?php
$txpcfg[‘db’] = ‘textpattern’;
$txpcfg[‘user’] = ‘********’;
$txpcfg[‘pass’] = ‘********’;
$txpcfg[‘host’] = ’76.74.228.4’; <———————-is entering the ISP sufficient as host? We haven’t transferred the domain to our host yet.
$txpcfg[‘table_prefix’] = ‘’;
$txpcfg[‘txpath’] = ‘home/cq8270/public_html/textpattern/index.php’; <———————-how do I determine the correct path?
$txpcfg[‘dbcharset’] = ‘utf8’;
?>

Am I missing anything else?

Essentially, I don’t know how to determine the proper path, nor am I sure what’s required as ‘host.’ And yes, I’ve read through http://wion.com/journal/moving-a-live-textpattern-site-to-a-local-server. If anyone has links to articles describing migrating from local to remote, please share. I’ve found tons on remote to local, but very little for the reverse.

Foolish questions, but I’m pretty green.

Thanks.

Last edited by eggnog (2008-08-31 06:40:58)

Offline

#2 2008-08-31 08:22:44

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: From local to remote -- config.php questions

host -> localhost (in most cases)
txpath -> can be removed (not needed in txp 4.0.6)

Offline

#3 2008-08-31 23:24:02

eggnog
Member
From: Vancouver
Registered: 2008-03-10
Posts: 37
Website

Re: From local to remote -- config.php questions

Thanks ruud. Got it working.

Offline

Board footer

Powered by FluxBB