Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Last pre-release: 4.0.4rc1

#25 2006-10-09 20:35:27

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: Last pre-release: 4.0.4rc1

When trying to do a fresh install on a new site of mine I get this message.

“1. Duplicate entry ’1-path_to_site’ for key 1

There were 1 errors during the installation. You can ask for help in the Textpattern forums.”

Offline

#26 2006-10-09 20:40:16

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: Last pre-release: 4.0.4rc1

comment notification in r1896 delivers link via email looking like this

http://mysite.com/textpattern/?event=discuss&step=discuss_edit&discussid=25

this gives me a 404 – it works if it reads:

http://mysite.com/textpattern/index.php?event=discuss&step=discuss_edit&discussid=25


A hole turned upside down is a dome, when there’s also gravity.

Offline

#27 2006-10-09 20:41:22

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: Last pre-release: 4.0.4rc1

Also I get this message in the tab Diagnostics tab…

Some Textpattern files have been modified: /include/txp_image.php,
/lib/class.thumb.php

Offline

#28 2006-10-09 21:37:50

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Last pre-release: 4.0.4rc1

@michaelkpate: ‘clean_url_untested’ means TXP is unable to test whether clean URLs are working, because it is not allowed to use the ‘allow_url_fopen’ function (related to the first error you get). Doesn’t mean that clean URLs don’t work, just that TXP can’t test if they do, so you’d have to test it yourself.

@FireFusion: “Duplicate entry ‘1-path_to_site’ for key 1”
I think it is caused by this line in txpsql.php which sets the TXP version to 1.0rc4 (instead of 4.0.4):
<code>$create_sql[] = “INSERT INTO `”.PFX.“txp_prefs` VALUES (1, ‘version’, ‘1.0rc4’, 2, ‘publish’, ‘text_input’, 0)”;</code>
And that low version number probably causes ‘update/_to_1.0.0.php’ to be run at some point which tries to insert the ‘path_to_site’ even though it already exists.

Possible fixes:
  1. either set the right version in ‘txpsql.php’ (line 322) or
  2. change line 219 in update/_to_1.0.0.php to <code> if (safe_field(‘name’,‘txp_prefs’,“name=‘path_to_site’”) === false) {</code>

@jayrope: can be fixed by changing line 541 in publish/comment.php into:
<code>$out .= hu.‘textpattern/index.php?event=discuss&step=discuss_edit&discussid=’.$discussid.”\r\n”;</code>

Last edited by ruud (2006-10-09 22:02:23)

Offline

#29 2006-10-09 23:52:32

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Last pre-release: 4.0.4rc1

When renaming a form, no detection of duplicate names is done (when you create a new form, duplicate names are detected)

Offline

#30 2006-10-09 23:58:32

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Last pre-release: 4.0.4rc1

I dropped the clean_url_untested error for now. The site url mismatch message now ignores a ‘www.’ prefix, and some known functions are ignored when checking the disable_functions setting.


Alex

Offline

#31 2006-10-10 00:00:03

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Last pre-release: 4.0.4rc1

ruud: the version number is correct. It’s supposed to run all of the _to_*.php update files in sequence. I fixed _to_1.0.0.php in svn.


Alex

Offline

#32 2006-10-10 03:16:07

trel1023
New Member
Registered: 2004-02-25
Posts: 5

Re: Last pre-release: 4.0.4rc1

in Admin/Preferences: Admin/Preferences/Advanced Preferences:
  • in Comments – currently have “Require user’ name?” should be “Require user’s name?”

Offline

#33 2006-10-10 03:49:10

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

Re: Last pre-release: 4.0.4rc1

A note about Txp admin languages and contributors

Most – if not all – lang strings have already been created on the server, and can be edited at any time. This is the benefit of having them all on a server that can be fetched from. There’s no deadline to get them absolutely correct, other than making a reasonable attempt to do so. So don’t worry if a lang string has a nitpiky change and 4.0.4 has been released already – it could still be corrected. There are also other people that are basically in charge of specific languages, so there can be a kind of “lag” as well.

This will be made more clear very soon, to know whom is looking after what languages, and so on. I’ve got a contributors page in-the-making for the release of 4.0.4, but there are likely also some names unintentionally missing. So, once 4.0.4 is released, the page will be made public and anyone can let me know what additions/corrections need to be made (i.e.: you submitted a patch that was used, but your name is missing, etc). I’m hoping to keep this page updated as we progress, a place where you can see the present contributors for any given stable release.

Offline

#34 2006-10-10 06:06:00

playpiggy
Member
From: Changchun, China
Registered: 2004-11-23
Posts: 55

Re: Last pre-release: 4.0.4rc1

Simplified and Traditional Chinese can not be selected during setup.


Welcome to the REAL World…

Offline

#35 2006-10-10 08:08:12

kees-b
Member
From: middelburg, nl
Registered: 2004-03-03
Posts: 235
Website

Re: Last pre-release: 4.0.4rc1

Mary wrote:

Most – if not all – lang strings have already been created on the server, and can be edited at any time.

hi mary,

Nils and I who reported some missing strings especially for the tagbuilder are the .de and .nl translation maintainers and we have both access to the rpc server. The ones we mentioned are still missing on the server. I am keeping an eye on the server allmost every day, and I know Nils does too, so the german, dutch and many other translations are very up to date.

Shall we move this discussion (translation refinements for 4.0.4) over to the txp-translators list?

kees

Offline

#36 2006-10-10 08:35:49

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: Last pre-release: 4.0.4rc1

Most – if not all – lang strings have already been created on the server.

I reviewed all the strings in the translation interface and most of the things we posted here where not in there. Is this a bug in the interface or are these strings the rest of “most” :o) ?

Offline

  1. Index
  2. » Archives
  3. » Last pre-release: 4.0.4rc1

Board footer

Powered by FluxBB