Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-07-07 20:31:36

Father Luke
Member
From: Santa's Village
Registered: 2005-05-21
Posts: 24
Website

XAMPP and upgrade - How do I set it up on localhost?

So:

I’ve a copy of Textpattern · 4.0.1, and I will be upgrading to Textpattern v.4.0.5.
Good so far.

Now:
1.) I’ve transfered the entire sodden site to my machine
2.) Installed XAMPP lite
3.) Installed Textpattern (the version I am upgrading from)
4.) Imported the mysql database from the working site on the web

Then I got these errors on the diagnostic:

File Upload Path is not writable: /home2/padre/public_html/textpattern/files

Temp folder is not writable: /tmp ?

Apache module mod_rewrite is not installed ?

C:\xampplite\htdocs\textpattern-4.0.1\textpattern\setup\ still exists

Here is the diagnostic:

Textpattern version: 4.0.1 (r888)
last_update: 2005-10-20 02:15:12/2005-09-06 19:58:24
Document root: C:/xampplite/htdocs (C:\xampplite\htdocs)
$path_to_site: C:\xampplite\htdocs\textpattern-4.0.1
Textpattern path: C:\xampplite\htdocs\textpattern-4.0.1\textpattern
Permanent link mode: title_only
upload_tmp_dir: C:\xampplite\tmp
Temp folder: C:\xampplite\htdocs\textpattern-4.0.1\textpattern\tmp
Site URL: localhost/textpattern-4.0.1
PHP version: 5.2.2
Magic quotes: 1/0
MySQL: 5.0.41-community-nt
Locale: en_US.UTF-8
Server: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2
Apache version: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2

Pre-flight check:
————————————
File Upload Path is not writable: /home2/padre/public_html/textpattern/files
Apache module mod_rewrite is not installed
C:\xampplite\htdocs\textpattern-4.0.1\textpattern\setup\ still exists
————————————

.htaccess file contents:
————————————
#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> ————————————

Help?

Last edited by Father Luke (2007-07-07 20:58:43)

Offline

#2 2007-07-08 23:44:42

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

Re: XAMPP and upgrade - How do I set it up on localhost?

File Upload Path is not writable: /home2/padre/public_html/textpattern/files

Temp folder is not writable: /tmp ?

You need to correct your paths:

  1. Open up your config.php file, and change your txpath to C:\xampplite\htdocs\textpattern-4.0.1\textpattern.
  2. Go to your Advanced admin preferences and change your files path to C:\xampplite\htdocs\textpattern-4.0.1\files.

Apache module mod_rewrite is not installed ?

You need to enable mod_rewrite in order to get clean urls.

C:\xampplite\htdocs\textpattern-4.0.1\textpattern\setup\ still exists

Delete the “setup” folder.

Offline

#3 2007-07-08 23:50:28

Father Luke
Member
From: Santa's Village
Registered: 2005-05-21
Posts: 24
Website

Re: XAMPP and upgrade - How do I set it up on localhost?

Thanks Mary.
I think that will help a lot.

- –
Okay,
Father Luke

Offline

Board footer

Powered by FluxBB