Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: c8e97419c0
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (27 sloc) 3.143 kB

Textpattern CMS 4.5.1

Released under the GNU General Public License. See LICENSE for terms and conditions. Includes contributions licensed under the GNU Lesser General Public License. See LGPL for terms and conditions. Includes contributions licensed under the New BSD License.


  • Extract the files to your site (in the web root, or choose a subdirectory). The top-level index.php should reside in this directory, as should the /textpattern/ and the /rpc/ directory.
  • Create or establish the existence of a working MySQL database, load /textpattern/setup/ (or /subpath/textpattern/setup/) in a browser, and follow the directions.


  • Log out of the admin-side.
  • Verify the existence of a working database and file backup.
  • Replace the three files in your main installation directory (index.php, css.php and .htaccess), everything in your /rpc/ directory and everything in your /textpattern/ directory (except config.php) with the corresponding files in this distribution. css.php and /rpc/ might not yet exist in your current site.
  • When you login to the admin-side, the relevant upgrade script is run automatically. Please take a look into diagnostics to find out whether there are any errors and whether the correct version number is displayed.
  • Verify all preference settings.


Upgrades from versions below 4.2.0 will present this warning upon your very first login to the admin-side:

Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='' in /path/to/your/site/textpattern/lib/txplib_db.php on line xx

This is expected behaviour for the very first login after an upgrade. Every further move in the admin side will not throw an error message.

Getting Started

  • FAQ is available at
  • In-depth documentation and a comprehensive tag index is available in the Textpattern documentation at
  • You can get support and information via:
  • If you are running an Apache web server, rename the .htaccess-dist file in the “/files” directory to “.htaccess” to prohibit direct URL access to your files. Thus the only route to these files becomes through “/file_download”. We recommend you consider employing this feature or that you move your “/files” directory out of a web-accessible location. Once moved, you can tell Textpattern of your new directory location from the Advanced Preferences.
  • There are additional resources for the default front-side theme, such as Sass preprocessor files and extra feature modules, available at:


Check back regularly at to see if updates are available. Updates are as painless as possible, and often fix important bugs or security-related issues.

Jump to Line
Something went wrong with that request. Please try again.