Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Restoring TXP

#1 2006-11-04 17:16:55

Zarathu
Member
Registered: 2006-08-12
Posts: 35

Restoring TXP

Alright, so I had backed up SQL data as well as all of my files. I also changed the name of the directory. After importing all of the SQL information and fixing the config.php file, all I get when I view the index.php file is just a blank, white screen. Going to the /textpattern/ also gives me nothing but a white screen.

Help please.

Offline

#2 2006-11-04 20:08:09

Zarathu
Member
Registered: 2006-08-12
Posts: 35

Re: Restoring TXP

Oh, take note, I edited the SQL file and changed all of the values that had the directory to the new directory.

Offline

#3 2006-11-04 22:55:28

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

Re: Restoring TXP

Do you still have the original sql file? You don’t have to edit it, just edit config.php, import the database, and then in Admin > preferences change the site url.

Offline

#4 2006-11-04 23:57:06

Zarathu
Member
Registered: 2006-08-12
Posts: 35

Re: Restoring TXP

Els wrote:

Do you still have the original sql file? You don’t have to edit it, just edit config.php, import the database, and then in Admin > preferences change the site url.

I had to edit it because the directory that the files were located in had changed, you see. I edited config.php, I imported the database, but I can’t get into TXP. /textpattern/index.php = a blank, white page.

I’ve been working on this all day and I’m exhausted. I’d like to get this done soon.

>.<

http://beta.thesarcasm.com/textpattern/index.php

Last edited by Zarathu (2006-11-04 23:57:21)

Offline

#5 2006-11-05 00:08:55

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

Re: Restoring TXP

The problem probably isn’t in the database. Check your config.php and .htaccess files, and make sure you’ve uploaded everything correctly.


Alex

Offline

#6 2006-11-05 00:43:45

Zarathu
Member
Registered: 2006-08-12
Posts: 35

Re: Restoring TXP

.htaccess

#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0

^ That’s it.

And as for the config.php, everything is set up properly. What else could it be?

Offline

#7 2006-11-05 00:48:00

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

Re: Restoring TXP

Impossible for us to know. A blank page usually means a PHP or server error that the server is refusing to display. You’ll need to talk to your hosting company.


Alex

Offline

#8 2006-11-05 01:31:07

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

Re: Restoring TXP

You say you’re restoring Textpattern… restoring from where? Moving the installation from a different server? or a different folder, or…?

Offline

#9 2006-11-05 02:19:57

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

Re: Restoring TXP

You’re having a different problem. Please don’t confuse this thread.


Alex

Offline

#10 2006-11-05 03:18:28

Zarathu
Member
Registered: 2006-08-12
Posts: 35

Re: Restoring TXP

As for contacting the hosting company, I own the server. It isn’t cheap or anything, it’s stored at a datacenter and has a dedicated 100 Mbps uplink. I am the hosting company.

Mary: I’m moving it to a different folder, not a different server.

Offline

#11 2006-11-05 03:37:02

Zarathu
Member
Registered: 2006-08-12
Posts: 35

Re: Restoring TXP

OH! Found something of value:

Checking database connection…

Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2.2\htdocs\thesarcasm\textpattern\setup\index.php on line 195

I tried to install from scratch and then slowly import stuff into the SQL, and that was the error I got.

Using PHP 5.2.0 with Apache 2.2.3 along with MySQL 5.0. I had the same problem with 4.1, and I upgraded.

Offline

#12 2006-11-05 05:15:00

Zarathu
Member
Registered: 2006-08-12
Posts: 35

Re: Restoring TXP

Update:

Reinstalling Apache 2.2.3, PHP 5.2.0, and MySQL 5.0 – I’ll let you know what happens.

Offline

  1. Index
  2. » Archives
  3. » Restoring TXP

Board footer

Powered by FluxBB