Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-24 18:56:10

bluelena69
Member
From: North Carolina
Registered: 2006-01-06
Posts: 51

4.0.4 Install Probelm

I have just tried to upgrade to 4.0.4. I am running on IIS with a clean URL hack. I have changed the publish.php file accordingly for that but am still having problems. I can still access the admin side of the site fine, but when I try to go to the site itself, I get this:

“config.php is missing or corrupt. To install Textpattern, visit textpattern/setup/”

When I try to go to the setup, it tells me that it looks like Textpattern is already installed and asks me to ditch my config.php file in order to do a clean install. I REALLY would like to get this sorted out sooner rather than later so any help would be greatly appreciated.

Cheers,
Blue

Here are the results of my diagnostics run:
________________________________________________________________________________________________

bas_img_selector-0.6, fpx_image_import-0.3, etz_crumbs-0.7, ajw_clean_feed-0.2, glx_admin_image-0.5b, wlk_qt-0.8, rss_suparchive-0.16.1

Pre-flight check:
————————————
Clean URLs are only supported for apache, use at your own risk
D:\www\GAD_Site\whambammamn\setup\ still exists
old_files: /include/txp_preview.php, /include/txp_import.php, /lib/txplib_update.php, /publish.php
modified_files: /lib/IXRClass.php
clean_url_test_failed
————————————

.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_swedish_ci/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: C:\Program Files\MySQL\MySQL Server 5.0\share\charsets\
18 Tables: OK

PHP extensions: bcmath, calendar, com_dotnet/0.1, ctype, date/5.1.1, ftp, iconv, odbc/1.0, pcre, session, libxml, standard/5.1.1, tokenizer/0.1, zlib/1.1, SimpleXML, dom/20031129, SPL, wddx, xml, ISAPI, mbstring, gd, mysql/1.0
/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: r628 (a16f84b6610fc66db0bce51e25b7af34)
/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: r1174 (2daf842b4c24ed3b04abe56bb5a9a11e)
/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 (2efb0fb05b55c634072b0bae9af38bdd)
/lib/txplib_forms.php: r1887 (0049a228dc8eb346f8603478a7c1b2e2)
/lib/class.thumb.php: r1955 (12961180eee3add5096e69e0a154284e)
/lib/constants.php: unknown (0e40251c717c52b2b7fe992b62a3e97a)
/lib/txplib_update.php: r1066 (0b1ef41b2d605b0b6b6572da07a8cbaa)
/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: r1186 (05b2b782636f7552d5be4f937c4d1ea5)
/index.php: r1948 (adf86f44861797f4969373c708ef48fb)
/css.php: r944 (763fa7658fc19ad23a5b2126fcdf366c)


“He has emotional problems. We need a new American President…”

—Hugo Chavez

Offline

#2 2006-10-24 19:10:36

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 4.0.4 Install Probelm

Can you give us the full path to your config.php and the value of txpath in config.php.

Also: Why did you touch publish.php at all – did you check whether it’s necessary, because we made a couple of changes which (hopefuly) do not make it necessary to make any changes anymore.

Also: Things to note:

old_files: /include/txp_preview.php, /include/txp_import.php, /lib/txplib_update.php, /publish.php

Looks like these files were not updated.

modified_files: /lib/IXRClass.php

If you actually changed publish.php, it should be appearing here. It’s not, which together with the above hints makes me think there is either other installations of textpattern that are mixed up with this one in terms of paths and files; or that you have a mixture of old and new files for your installation.

Offline

#3 2006-10-24 19:21:05

bluelena69
Member
From: North Carolina
Registered: 2006-01-06
Posts: 51

Re: 4.0.4 Install Probelm

The value of txpath is: $txpcfg[‘txpath’] = ‘D:\www\GAD_Site\whambammamn’;

The path to config.php is: D:\www\GAD_Site\whambammamn\config.php

Also, I changed the publish.php file because I assumed that this was the problem. I guess I should have asked. Regardless, I was having the same problems, exept I was unable to get the the admin section BEFORE I changed the publish.php file…

Last edited by bluelena69 (2006-10-24 19:52:24)


“He has emotional problems. We need a new American President…”

—Hugo Chavez

Offline

#4 2006-10-24 19:59:39

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 4.0.4 Install Probelm

The path to config.php is: D:\www\GAD_Site\whambamman\config.php

This is not correct, that file would be ignored. THe file that is used is located at:
D:\www\GAD_Site\whambamman\textpattern\config.php

Did you modify your (main) index.php in any way?

Offline

#5 2006-10-24 20:04:55

bluelena69
Member
From: North Carolina
Registered: 2006-01-06
Posts: 51

Re: 4.0.4 Install Probelm

The name of my “textpattern” folder is “whambammamn” and no, I did not change the main “index.php” file in any way.

Thanks for helping me out with this…

Blue


“He has emotional problems. We need a new American President…”

—Hugo Chavez

Offline

#6 2006-10-24 20:12:58

bluelena69
Member
From: North Carolina
Registered: 2006-01-06
Posts: 51

Re: 4.0.4 Install Probelm

Okay, I got everything sorted out. This is what I did.

I needed to go into my main “index.php” and change the paths to reflect the change in the name of the TXP installation/main directory i.e. “whambammamn.” Now, none of my links are working with the clean URLs. I just have them set to messy for the time being and, if you happen to know how to fix that, then let me know. Otherwise, I will do some searching myself.

Cheers and Thanks a ton.

Blue


“He has emotional problems. We need a new American President…”

—Hugo Chavez

Offline

#7 2006-10-24 20:31:15

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 4.0.4 Install Probelm

Modifying files and changing the administration directory is not supported and may lead to other problems down the road an/or have other unintended side-effects. I am afraid I can’t help you under those circumstances.

Offline

Board footer

Powered by FluxBB