Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2011-03-27 20:39:20

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: Feedback for the Textpattern 4.4.0 release

hcgtv wrote:

Wasn’t there work being done towards a new version of Textpattern.org?

Uhhh, yes. *embarrassed*. Needs some more resource thrown at it to get it to the top of the hill.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#32 2011-03-27 21:49:09

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: Feedback for the Textpattern 4.4.0 release

zero / gomedia / all

Upgrade instructions tweaked slightly. Is that better? Any further improvements that can be made?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#33 2011-03-27 22:16:04

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: Feedback for the Textpattern 4.4.0 release

Bloke wrote:

Upgrade instructions tweaked slightly. Is that better? Any further improvements that can be made?

I’d shift the “You must make a copy of your config.php file as a minimum” to before “Duplicate the Existing Txp File Tree” – so it’s more in your face. However even this might be giving the user a false sense of security.

To be honest I still think the old style procedure is so much safer:

  • take a backup
  • copy files css.php, index.php etc … across
  • copy folders rpc, sites etc … across
  • copy contents of textpattern folder across

Then you can add in the bits about .htaccess etc.

… copy the new files from there to the original location on your server, overwriting the old installation files.

… is very vague. I’m still worried that a user will copy the vanilla images or files folder across & destroy their website. I’ve learnt the hard way in the past that copying the whole folder is not the same as copying the contents of a folder – which is why alarm bells started ringing with me when I read the new procedure.

A one click automatic upgrade process would be fabulous of course – TXP 5 maybe?

Offline

#34 2011-03-27 22:20:10

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Feedback for the Textpattern 4.4.0 release

I always follow these steps, minus the MLP specific steps (#7 and #10).

Last edited by els (2011-03-27 22:21:05)

Offline

#35 2011-03-27 22:24:24

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Feedback for the Textpattern 4.4.0 release

fwiw

The import tab is showing the following error:
Notice: Undefined offset: 1 in /path to textpattern/textpattern/lib/txplib_misc.php(653) : eval()’d code on line 94

Last edited by maverick (2011-03-27 22:24:41)

Offline

#36 2011-03-27 22:29:34

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: Feedback for the Textpattern 4.4.0 release

RE: upgrade instructions; point taken. I’m sure someone can improve on them further.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#37 2011-03-27 22:33:02

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: Feedback for the Textpattern 4.4.0 release

maverick wrote:

Notice: Undefined offset: 1 in /path to textpattern/textpattern/lib/txplib_misc.php(653) : eval()’d code on line 94

That error’s not showing on my install. A plugin problem, perhaps? (line 653 is where plugin code is eval’d).

If you track it down, please let us know. Or if it’s not a plugin, throw us a bit more info about your setup so we can try and replicate.

EDIT: and if it’s one of my plugins I apologise in advance :-)

Last edited by Bloke (2011-03-27 22:34:08)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#38 2011-03-27 22:51:13

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: Feedback for the Textpattern 4.4.0 release

Bloke wrote:

RE: upgrade instructions; point taken. I’m sure someone can improve on them further.

Thanks Stef. And as Ruud mentioned before you could lose this bit:

Then copy your existing config.php from the /textpattern/ folder in the folder you created in step 2 to the corresponding folder on your server.

Offline

#39 2011-03-27 22:57:10

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback for the Textpattern 4.4.0 release

Bloke wrote:

Upgrade instructions tweaked slightly. Is that better? Any further improvements that can be made?

To me the upgrade instructions look good. But may I mention that a short block for CLI users could help. Using the terminal is much faster and safer than the FTP transmission. Something like:

(Logout from Textpattern admin)
cd <website root>
cp -r * txp-bak // I assume you have the user rights to read&write the hidden .-files like .htacccess
mysqldump // sorry I don’t know the exact command as I use DB Backup as a 1st step, check “man mysqldump”
wget http://path/to/download/textpattern-nnn.zip
unzip textpattern-nnn.zip
cd textpattern-nnn
cp -r * ../<website root> // Only files with the same name will be overwritten
(Proceed with step 4)

In my case everything is fine that way.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#40 2011-03-27 23:04:41

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Feedback for the Textpattern 4.4.0 release

Bloke wrote:

EDIT: and if it’s one of my plugins I apologise in advance :-)

LOL — how did you guess? — no apology necessary.

It’s smd_prognostics.

Both v0.16 and v0.17 yield the same error.

I’ll post in the appropriate thread.

Thanks
Mike

Last edited by maverick (2011-03-27 23:10:21)

Offline

#41 2011-03-27 23:40:41

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Feedback for the Textpattern 4.4.0 release

gomedia wrote:

I’d shift the “You must make a copy of your config.php file as a minimum” to before “Duplicate the Existing Txp File Tree” – so it’s more in your face. However even this might be giving the user a false sense of security.

I probably shouldn’t admit this, and don’t recommend it, but being an old-school user, I still follow the original instructions.

Dean wrote:

To move from one version of Txp to the next, simply replace everything in your /textpattern/ directory EXCEPT config.php

Offline

#42 2011-03-28 07:32:10

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,475
Website

Re: Feedback for the Textpattern 4.4.0 release

My mistake regarding config.php was not because of upgrade instructions but because of my unfamiliarity with ftp software. With Filezilla I could copy the Textpattern folder from my computer to server and it would leave any renamed files alone, such as configold.php. With Coda I have to use Merge to do this.

Although the new detailed instructions are necessary, I still basically use Dean’s original instructions too :-)


Dozy P My attempt at music

Offline

#43 2011-03-28 07:40:27

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback for the Textpattern 4.4.0 release

Dean wrote:

To move from one version of Txp to the next, simply replace everything in your /textpattern/ directory EXCEPT config.php

Well, this simple and elegant sentence is basically how I understand & practice the TXP upgrade process till today (see above).
And reality is that esp. this self confident sentence encouraged me a lot to always make the upgrade ASAP and not to postpone it until ‘later’.

Maybe this simply replace order should be engraved as a golden motto above all the complicated upgrade write up. Thanks Michael for the reminder :)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#44 2011-03-28 14:48:02

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Feedback for the Textpattern 4.4.0 release

i haven’t upgraded/installed with anything other than svn in years. Always works.

Offline

#45 2011-03-28 14:53:23

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: Feedback for the Textpattern 4.4.0 release

I always upgrade from the command line:

wget http://textpattern.com/file_download/XX/textpattern-4.X.X.tar.gz
tar -zxvf textpattern-4.X.X.tar.gz
cp -r textpattern-4.X.X/* ~/my/document/root

Since I generally have custom .htaccess directives, I manually copy .htaccess changes. The cp -r command only overwrites files that are present in the distribution, so it never touches my conflig file, images, files, or custom admin themes.

Offline

Board footer

Powered by FluxBB