Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-25 20:47:12

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Config.php question

this file now contains $txpcfg[‘dbcharset’] = ‘utf8’, earlier versions of the file didn’t. I just moved a site from 1 textdrive server to another and upgraded it’s TxP install which meant the site now has updated config.php file with that extra line. problem is my site is now full of strange characters. Characters like ‘ have been replaced with ’. It this related to the config.php change or something else? Thanks for any insights, I’m stumped…

Offline

#2 2006-12-25 23:25:25

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Config.php question

Have you tried replacing ‘utf8’ in that line with ‘latin1’?

Offline

#3 2006-12-26 00:43:28

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Config.php question

I just moved a site from 1 textdrive server to another and upgraded it’s TxP install which meant the site now has updated config.php file with that extra line.

If you’re upgrading or moving an existing site, you should use the old config.php file. You only create a new config.php file when you run the setup process to install a new site.


Alex

Offline

#4 2006-12-26 09:26:24

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Config.php question

zem wrote:

If you’re upgrading or moving an existing site, you should use the old config.php file. You only create a new config.php file when you run the setup process to install a new site.

I ran setup to install a new site then dropped the tables and imported the old database, this way the username/password/paths are all correct (they are different on the new server). Even so I re did it as you suggested and I still have the same problem. I’m thinking it could be something to do with the setting I’m creating the new database, MySQl connection collation or something.

Offline

#5 2006-12-27 11:27:47

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Config.php question

I’m thinking it could be something to do with the setting I’m creating the new database, MySQl connection collation or something.

Yes. Could you please post your “High” diagnostics results for both your old and your new install?

Offline

Board footer

Powered by FluxBB