Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-10-31 21:54:17
- EddieG5
- Member

- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Upgrading
On the TXP blog, Alex posted a note about upgrading from the old g1.19 version. I have one of these old installations and before I upgrade, wanted to check to see if I needed to do anything special to ensure success or if the basic upgrade instructions are appropriate for such an old version?
Thanks!
Offline
Offline
#3 2006-11-01 21:18:00
- EddieG5
- Member

- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: Upgrading
Okay … I just upgraded and all appears to be well except for one thing. I’m getting this error on Pre-Flight Check:
clean_url_data_failed: <br />
And when I load my site, I’m getting this line at the top of the page:
Warning: preg_match() [function.preg-match]: Unknown modifier ‘E’ in /users/home/eddieg5/public_html/test/textpattern/publish/log.php on line 19
Oh, and all my entries date posted now read like:
%+0000UTC. %467 %2006
Last edited by EddieG5 (2006-11-01 21:22:13)
Offline
Re: Upgrading
It looks like yyou didn’t update all your files. there is no preg_match on line 19 in publish/log.php.
Can you please post your diagnostics.
Oh, and all my entries date posted now read like: %+0000UTC. %467 %2006
What are you using to display dates? Which tags with which attributes etc.
Offline
#5 2006-11-01 23:07:45
- EddieG5
- Member

- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: Upgrading
Here’s the diagnostics:
~~~~~~~~
Textpattern version: 4.0.4 (r1956)
last_update: 2006-11-01 21:06:23/2006-11-01 21:05:45
Document root: /users/home/eddieg5/public_html
$path_to_site: /users/home/eddieg5/public_html/EJ
Textpattern path: /users/home/eddieg5/public_html/EJ/textpattern
Permanent link mode: section_id_title
upload_tmp_dir: /usr/local/www/php/tmp
Temp folder: /users/home/eddieg5/public_html/EJ/textpattern/tmp
Site URL: digitalleap.com/EJ
PHP version: 5.1.4
Server time: 2006-11-01 23:05:21
MySQL: 4.1.13-log
Locale: en_GB
Server: Apache
PHP mode: cgi-fcgi
rfc2616_headers:
Operating System: FreeBSD 5.4-STABLE
active_plugins: dca_mailto_form-0.1m, rei_comments_invite-0.5m
Pre-flight check:
————————————
clean_url_data_failed: <br />
————————————
.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>#php_value register_globals 0
————————————
Charset (default/config): latin1/
character_set_client: latin1
character_set_connection: latin1
character_set_database: latin1
character_set_results: latin1
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/local/share/mysql/charsets/
18 Tables: OK
PHP extensions: standard/5.1.4, SPL, Reflection, date/5.1.4, libxml, bcmath, bz2, calendar, ctype, curl, dom/20031129, exif/1.4 $Id: exif.c,v 1.173.2.5 2006/04/10 18:23:24 helly Exp $, ftp, gd, gettext, gmp, iconv, imap, mbstring, mcrypt, mhash, mysql/1.0, mysqli/0.1, ncurses, openssl, pcntl, pcre, pgsql, posix, readline, session, shmop, SimpleXML, soap, sockets, SQLite, tokenizer/0.1, xml, xmlreader/0.1, xmlwriter/0.1, xsl/0.1, zlib/1.1, PDO, pdo_mysql/1.0.2, pdo_sqlite/1.0.1, Zend Optimizer
pretext_data: <b>Warning</b>: preg_match() [<a href=‘function.preg-match’>function.preg-match</a>]: Unknown modifier ‘E’ in <b>/users/home/eddieg5/public_html/test/textpattern/publish/log.php</b> on line <b>19</b><br />
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” />
<title>Digital Leap::Eddie & Jill</title>
<link rel=“stylesheet” href=”/EJ/textpattern/css.php?s=default” type=“text/css” />
</head>
<body>
<div id=“wrap”> <!— #wrap – for centering —>
<!— Blog Header —>
/include/txp_category.php: r1879 (aee777474b2f67ca07fc25756ba25c15)
/include/txp_plugin.php: r1917 (74184c0d8ed8608f840707a255178617)
/include/txp_auth.php: r1879 (b1dd4072b7daf4e997c6ff65ce3d1b2d)
/include/txp_form.php: r1913 (16ec600b41438b4cca10d2c8a19b2db8)
/include/txp_section.php: r1891 (2959593586ba3e97bc602f369c32e738)
/include/txp_tag.php: r1915 (3b4a7f73d92f9bbbe09985c5aa830d29)
/include/txp_list.php: r1892 (41f4d32fd070234b78f94adefebd5234)
/include/txp_page.php: r1913 (34331a5468bbb18dd9f6a282f3aa11e8)
/include/txp_discuss.php: r1909 (9b9ee934a30f52cd7a4d8cb45c8380ab)
/include/txp_prefs.php: r1946 (05615b6275d8927a2a0d51918d70a896)
/include/txp_log.php: r1919 (ed54d02e865319f2506c642a6bde768b)
/include/txp_preview.php: r1238 (5a4ae3ff0d68f4cb573d6d62a00ce9e8)
/include/txp_image.php: r1955 (20be975e67fa7c4aa9a1a3e51bfaf379)
/include/txp_article.php: r1889 (7749f699c03d0c57e04fafe17dbfa94c)
/include/txp_css.php: r1897 (f5cf1c20badb96a063c7c180e9020359)
/include/txp_admin.php: r1879 (d36dac010d21df7bcf9cf5e242b34d58)
/include/txp_link.php: r1879 (0652287df8bb32c66cfa1b939402404a)
/include/txp_diag.php: r1902 (96697ade63048e517177f4129d47de76)
/include/txp_file.php: r1895 (6ed67b094522e51b028dc88baa07444c)
/include/txp_import.php: r1238 (634e75d1b61958875ff275e3130f23ad)
/lib/admin_config.php: r1747 (1563fcbaffe25b3272b0d85ff9d5571d)
/lib/txplib_misc.php: r1956 (182c50b86195f1abe9dbe15728df3cae)
/lib/taglib.php: r1535 (04806ef864d5b0d2974e0e5f6397a2d7)
/lib/txplib_head.php: r1887 (b110efd071e9a5bb395beea66ced128a)
/lib/classTextile.php: r1943 (2c559991e34738eef1990dc079bd91c4)
/lib/txplib_html.php: r1937 (c206ca9cb9a54a7a95f3355b77fd0fa2)
/lib/txplib_db.php: r1879 (d68b6ea69950e405c4fec23b8641d9c2)
/lib/IXRClass.php: r765 (cbe59b59246dce060a4b4a52b4d448d8)
/lib/txplib_forms.php: r1887 (0049a228dc8eb346f8603478a7c1b2e2)
/lib/class.thumb.php: r1955 (12961180eee3add5096e69e0a154284e)
/lib/constants.php: unknown (0e40251c717c52b2b7fe992b62a3e97a)
/lib/txplib_update.php: r1239 (757f8189fcc53a795d7c807f17b2e788)
/lib/txplib_wrapper.php: unknown (584448787b4a3488200722672c0eee0d)
/publish/taghandlers.php: r1949 (3fa1b9ded18e6074b2495a3f4e3c33b5)
/publish/atom.php: r1864 (50602e2f1c443819a0a60f14f39d3093)
/publish/log.php: r1637 (a4a772567079f18101a1752446f3f6d4)
/publish/comment.php: r1951 (a3f803d744fea80808eb27a3f6b28674)
/publish/search.php: r1748 (b0182abc287055fe0932c263b2a5266d)
/publish/rss.php: r1864 (ae43eaa9ebe6b00e63810ae60ca7c6b6)
/publish.php: r1945 (abff727405efc6c4ec8b1cb403290063)
/index.php: r1948 (adf86f44861797f4969373c708ef48fb)
/css.php: r944 (763fa7658fc19ad23a5b2126fcdf366c)
~~~~~~~~~~
As for display dates … this is what my default entry form looks like:
<h2 class="date-header"><txp:posted /></h2>
<div class="post">
<h3 class="post-title"><txp:title /></h3>
<div class="post-body"><txp:body /> </div>
<p>
<small>posted by: <txp:Author /> | <txp:comments_invite /></small></p>
</div>
Is that what you were asking in terms of the tags?
Thanks for your help!!
Last edited by EddieG5 (2006-11-01 23:11:10)
Offline
Re: Upgrading
Are you still getting the error for preg_match in txp_log, or is that gone now?
The tags look ok. Can you go to preferences, change the time-formats there, then save, and see if that fixes the problems?
Last edited by Sencer (2006-11-01 23:36:30)
Offline
#7 2006-11-02 14:33:43
- EddieG5
- Member

- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: Upgrading
Yes, I’m still getting the error for preg_match at the top of the page. I tried changing the time-formats a couple different times, but still have the same result.
Could something become corrupt in the upgrade? Should I try re-uploading the files?
UPDATE
Okay, I re-uploaded all the TXP files and changed the time-formats, but still the same result. Weird, huh? Diagnostics still read the same with the “clean_url_data_failed: <br />” still showing as the only red flag in Pre-Flight.
Last edited by EddieG5 (2006-11-02 16:37:15)
Offline
#8 2006-11-02 20:51:17
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Upgrading
It looks like the site accessible at digitalleap.com/EJ is still the old version of Textpattern. It seems to be installed in /users/home/eddieg5/public_html/test/. There could be some kind of server aliasing going on.
Alex
Offline
#9 2006-11-02 21:34:39
- EddieG5
- Member

- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: Upgrading
Ah, that was it … the config.php file was referencing an install on /public_html/test/ in stead of /EJ/
Weird, though … as I could login to the EJ version and add content. At any rate, appears be working as designed now.
Thanks for all the help!
Offline