Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Updated to 4.0.3. Website works, but textpattern complains
Weird little issue. After the latest update to the repository 1313 (image sorting) I thought I needed to update my textpattern source.
I changed my SVN source: svn switch http://svn.textpattern.com/releases/4.0.3/source/
My website continued to work but now I cannot get into textpattern. It says that “config.php is not ok or not found. If you would like to install, go to [/subdir]/textpattern/setup/”, even though the site continues to work just fine under the new source. If I do try to run setup again and update my config php, textpattern obviously stops when it realises that the tables are already populated. Argh.
Any help on this matter would be appreciated,
Christian
Offline
Re: Updated to 4.0.3. Website works, but textpattern complains
Go into our main directory via shell and show us the result of
svn info
and svn st -v
Last edited by Sencer (2006-05-19 12:23:19)
Offline
Re: Updated to 4.0.3. Website works, but textpattern complains
svn info
Path: .
URL: http://svn.textpattern.com/releases/4.0.3/source
Repository UUID: 9f4ba7e5-8be4-0310-8a13-eacbff687fd7
Revision: 1313
Node Kind: directory
Schedule: normal
Last Changed Author: kusor
Last Changed Rev: 1191
Last Changed Date: 2005-12-29 16:59:49 +0000 (Thu, 29 Dec 2005)
svn st -v results.
I have too many images in my textpattern install. So here’s the end of
of the long list.
? images/338.jpg
? images/296.jpg
? images/31.jpg
? images/70.jpg
? images/35.jpg
? images/right_arr2.gif
? images/74.jpg
? images/312.gif
? images/39.jpg
? images/78.jpg
? images/119.gif
S 1313 628 zem images
1313 628 zem images/1.gif
S 1313 1014 zem README.txt
1313 1075 sencer .htaccess
1313 804 sencer index.php
Offline
Re: Updated to 4.0.3. Website works, but textpattern complains
Well, you’ve also left out all the interesting lines. Try this to get a list with all the images filtered out:
svn status -v | awk '$2 !~ "images" {print $0}'
edit: Better yet, you can do this:
svn status -v | awk '$2 !~ "images" {print $0}' > mylist.txt
and the upload the newly created mylist.txt somwhere (or post the contents).
Last edited by Sencer (2006-05-19 13:06:17)
Offline
Re: Updated to 4.0.3. Website works, but textpattern complains
Here you go. My install is a bit messy, but it’s always worked.
-Christian
<pre>
<code>
? normanout
? nolleslight
? ss
? normanbeta
? new.swf
? .htaccess.old
? testtile.gif
? .htaccess.r420
? .htaccess.mine
? assets
? .htaccess.bak
? ical
? undergrowth
? admiral
? img
? glidescope
? heathrow
? plugins
? awstats-supportfiles
? robots.txt
? .textdrive
? fingers
? mylist.txt
? three.gif
? .htaccess.r719
1313 1191 kusor .
S 1313 1071 zem HISTORY.txt
? files/booksofwarfare.pdf
? files/cno_image_nav.txt
? files/project budget.xls
? files/norman_leaflet_72.pdf
? files/polygon_104-115.pdf
? files/norman_72_dk.pdf
? files/production_schedule1i_nobg.pdf
? files/cno_gallery1.txt
? files/posterA1_va2.pdf
S 1313 152 kusor files
1313 1188 kusor textpattern
1313 1123 zem textpattern/lang
1313 1123 zem textpattern/lang/en-gb.txt
1313 628 zem textpattern/lang/README
1313 1172 sencer textpattern/update
1313 984 kusor textpattern/update/_to_1.0.0.php
1313 1172 sencer textpattern/update/_update.php
1313 1009 zem textpattern/update/_to_4.0.2.php
1313 1172 sencer textpattern/update/_to_4.0.3.php
1313 716 sencer textpattern/update/index.html
1313 1174 sencer textpattern/include
1313 1167 sencer textpattern/include/txp_plugin.php
1313 1166 sencer textpattern/include/txp_auth.php
1313 947 zem textpattern/include/txp_form.php
1313 1154 kusor textpattern/include/txp_diag.php
1313 1154 kusor textpattern/include/txp_section.php
1313 1174 sencer textpattern/include/txp_import.php
1313 1042 zem textpattern/include/txp_list.php
1313 1134 zem textpattern/include/txp_tag.php
1313 876 sencer textpattern/include/txp_page.php
1313 1170 sencer textpattern/include/txp_discuss.php
1313 1154 kusor textpattern/include/txp_category.php
1313 1168 sencer textpattern/include/txp_file.php
1313 1170 sencer textpattern/include/txp_prefs.php
1313 628 zem textpattern/include/txp_preview.php
1313 906 zem textpattern/include/txp_log.php
1313 1168 sencer textpattern/include/txp_image.php
1313 1170 sencer textpattern/include/txp_article.php
1313 922 kusor textpattern/include/txp_css.php
1313 1074 sencer textpattern/include/txp_admin.php
1313 1155 sencer textpattern/include/import
1313 628 zem textpattern/include/import/import_mt.php
1313 628 zem textpattern/include/import/import_blogger.php
1313 833 sencer textpattern/include/import/import_b2.php
1313 628 zem textpattern/include/import/BloggerImportTemplate.txt
1313 1155 sencer textpattern/include/import/import_mtdb.php
1313 1091 sencer textpattern/include/import/import_wp.php
1313 1154 kusor textpattern/include/txp_link.php
1313 1186 sencer textpattern/publish.php
S 1313 804 sencer textpattern/index.php
1313 1157 kusor textpattern/textpattern.js
1313 628 zem textpattern/license.txt
1313 1185 sencer textpattern/setup
1313 1185 sencer textpattern/setup/txpsql.php
1313 1150 zem textpattern/setup/setup-langs.php
1313 1180 sencer textpattern/setup/index.php
1313 1076 sencer textpattern/setup/en-gb.php
1313 152 kusor textpattern/tmp
1313 1183 sencer textpattern/lib
1313 1176 sencer textpattern/lib/constants.php
1313 877 sencer textpattern/lib/admin_config.php
1313 1038 sencer textpattern/lib/i18n-ascii.txt
1313 1170 sencer textpattern/lib/txplib_misc.php
1313 628 zem textpattern/lib/taglib.php
1313 884 sencer textpattern/lib/class.thumb.php
1313 1183 sencer textpattern/lib/txplib_head.php
1313 1141 zem textpattern/lib/classTextile.php
1313 1066 zem textpattern/lib/txplib_update.php
1313 1166 sencer textpattern/lib/txplib_html.php
1313 1170 sencer textpattern/lib/txplib_db.php
1313 765 sencer textpattern/lib/IXRClass.php
1313 950 kusor textpattern/lib/txplib_forms.php
1313 1188 kusor textpattern/publish
1313 1188 kusor textpattern/publish/taghandlers.php
1313 1117 zem textpattern/publish/atom.php
1313 864 sencer textpattern/publish/log.php
1313 1187 sencer textpattern/publish/comment.php
1313 884 sencer textpattern/publish/search.php
1313 1099 zem textpattern/publish/rss.php
1313 628 zem textpattern/txp_img
1313 628 zem textpattern/txp_img/button.gif
1313 628 zem textpattern/txp_img/txp1_0.gif
1313 628 zem textpattern/txp_img/textdown.gif
1313 628 zem textpattern/txp_img/tabshadow.gif
1313 628 zem textpattern/txp_img/texttabshadow.gif
1313 628 zem textpattern/txp_img/textpattern.gif
1313 628 zem textpattern/txp_img/carver.gif
1313 628 zem textpattern/txp_img/tplogoGreyer.gif
1313 628 zem textpattern/txp_img/up.gif
1313 628 zem textpattern/txp_img/previewup.gif
1313 628 zem textpattern/txp_img/header.gif
1313 628 zem textpattern/txp_img/tabs.gif
1313 628 zem textpattern/txp_img/down2.gif
1313 628 zem textpattern/txp_img/textup.gif
1313 628 zem textpattern/txp_img/txp_editorheader.gif
1313 628 zem textpattern/txp_img/txp_slug105x70.gif
1313 628 zem textpattern/txp_img/htmldown.gif
1313 628 zem textpattern/txp_img/txp_slug105x45.gif
1313 628 zem textpattern/txp_img/reset_time.gif
1313 628 zem textpattern/txp_img/howto.gif
1313 628 zem textpattern/txp_img/up2.gif
1313 628 zem textpattern/txp_img/down.gif
1313 628 zem textpattern/txp_img/previewdown.gif
1313 628 zem textpattern/txp_img/htmlup.gif
1313 1166 sencer textpattern/textpattern.css
! 1313 727 sencer textpattern/config.php.default
1313 944 sencer textpattern/css.php
S 1313 628 zem images
1313 628 zem images/1.gif
S 1313 1014 zem README.txt
1313 1075 sencer .htaccess
1313 804 sencer index.php
</pre>
</code>
Offline
Re: Updated to 4.0.3. Website works, but textpattern complains
The lines that have the “S” in them are the ones that are problematic, they indicate that those files/directory are switched relative to its parent. The subversion manual sheds more light on it
the switched portions will remain immune (unless someone commits a change to their branch). This feature adds a whole new dimension to the concept of a “mixed working copy”—not only can working copies contain a mixture of working revisions, but a mixture of repository locations as well.
In your case especially the textpattern/index.php
file is causing the problem. My guess is that it is pointing not only to the wrong branch, but to the wrong index.php
file in that branch, because the message you are getting can only appear in the root-index.php not in textpattern/index.php.
Try switching the individual files over to the correct place. Like this:
[edit:just fixed the line below, redo if used the old line]
svn switch http://svn.textpattern.com/releases/4.0.3/source/textpattern/index.php textpattern/index.php
and also for the other files.
And if I may say so: If you do not feel comfortable with using svn and troubleshooting when things go wrong with it, then my advice is to use the textpattern-downloads – they are immune to these kind of problems. ;)
Last edited by Sencer (2006-05-19 13:40:27)
Offline
Re: Updated to 4.0.3. Website works, but textpattern complains
That did the trick.
Thanks very much for your help. Yeah I think I’ll stick to the official releases.
-Christian
Offline