Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2011-03-26 22:50:08

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,322
Website

Re: Feedback for the Textpattern 4.4.0 release

Yep Els. All works fine too.


Patrick.

Github | CodePen | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#12 2011-03-26 23:04:52

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

Re: Feedback for the Textpattern 4.4.0 release

I notice a change in the upgrade instructions.

I know it advises to do a backup but can I suggest that the old procedure of copying the top level files (css.php, index.php etc) and then the contents of /textpattern is safer – i.e. it’s less likely that users might wipe out their config.php file by mistake, by blindly copying all files & directories in one go.

Either that or say “YOU MUST MAKE A COPY OF YOUR CONFIG.PHP FILE AS A MINIMUM” rather than “Backup (to be safe)” & hope that they do.

Offline

#13 2011-03-26 23:11:00

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Feedback for the Textpattern 4.4.0 release

Another site on another server:

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/home/xxx/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/xxx/domains/xxx.net/public_html/textpattern/lib/PasswordHash.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/domains/xxx.net/public_html/textpattern/lib/PasswordHash.php:51) in /home/xxx/domains/xxx.net/public_html/textpattern/include/txp_auth.php on line 224

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/domains/axxx.net/public_html/textpattern/lib/PasswordHash.php:51) in /home/xxx/domains/xxx.net/public_html/textpattern/include/txp_auth.php on line 231
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: escapeshellarg, escapeshellcmd, proc_close, proc_get_status, proc_nice, proc_terminate, pclose
PHP version: 5.2.5
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: Europe/Berlin
Server Local Time: 2011-03-27 00:00:09
DST enabled?: 0
Automatically adjust DST setting?: 0
Time Zone:  (+3600)
MySQL: 5.0.51a-community
Locale: en_GB
Server: Apache/2
Apache version: Apache/2
PHP Server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 2.6.24-ovz008.1

Otherwise OK just like the other ones.

Offline

#14 2011-03-26 23:19:18

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

Re: Feedback for the Textpattern 4.4.0 release

Adi, you’d miss updates on the /files (.htaccess-dist), /rpc and /sites directories.
Also, you’d copy the /textpattern/setup files, which should be deleted after the initial install (they’re not used when upgrading).

I noticed some other things in the instructions:

Using FTP/SFTP again, navigate to the folder you created in step 1 and copy the new files from there to the original location on your server, overwriting the old installation files.

You may not want to copy the contents of the images/files directories. On some installs the first 2 images have been modified by the user, so you don’t want them overwritten by the original files.

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

The distributed TXP files don’t contain config.php, only config-dist.php, so that instruction seems unnecessary.

In the case of the .htaccess file, if you had any customizations…

This also applies to /textpattern/lib/admin_config.php if you’ve modified what each role is allowed to do.

Personally I tend to remove HISTORY and README files, because they show which TXP version you’re using.

Offline

#15 2011-03-26 23:39:43

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

Re: Feedback for the Textpattern 4.4.0 release

Ruud,

I appreciate that the upgrade for this release is a bit more complicated, and I only sketched over the old procedure details, but if you tell users to copy all directories without impressing on them the need to do a backup, then /files, /images, custom .htaccess files, config.php etc etc may get obliterated. My concern is of the casual nature of the backup advice.

Offline

#16 2011-03-27 00:45:21

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

Re: Feedback for the Textpattern 4.4.0 release

I just upgraded a site on my dev server and found a problem with running this version with MLP. The site previously used Textpattern 4.3.0 without any problems.

Offline

#17 2011-03-27 00:53:00

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

Re: Feedback for the Textpattern 4.4.0 release

If I’ve done something wrong, please let me know. I upgraded by logging out of Textpattern and copying the new distribution over the old via cp -r. After that, I renamed the .htaccess-dist file and logged in again.

Offline

#18 2011-03-27 00:56:30

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Feedback for the Textpattern 4.4.0 release

John, did you see my post in the MLP thread?

Offline

#19 2011-03-27 00:58:36

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

Re: Feedback for the Textpattern 4.4.0 release

Got it, thank you again Els. You are the baddest dude in town.

Offline

#20 2011-03-27 00:58:47

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Feedback for the Textpattern 4.4.0 release

Offline

Board footer

Powered by FluxBB