Page 1 of 1

How to update? (1.3 -> 1.3.2)

Posted: Thu 26. Apr 2007, 01:14
by hemme
Is there a "how to"?

or do you need to install all over?

Posted: Thu 26. Apr 2007, 01:30
by Oliver Georgi
Upload new include and img folder.

Check template folder very careful - and upload new files and folder only (at first). Compare existing files against new and synchronize (manually).

As always!!! Backup before starting upgrade.

And then make the little db upgrade using setup/upgrade.php - and also "6) UPGRADE CONTENT PART MULTIMEDIA"

Oliver

Posted: Tue 1. May 2007, 13:03
by Nik2004
Question: Would it be wrong to simply take a backup and then

cp -Rv phpwcms_1.3.0-to-1.3.2.1_diff/* root_phpwcms_folder

(so that all files are copied) and finally manually copy settings from individual files (or whole individual files) from the backup into the new directory hierarchy and do the db upgrade?

Posted: Tue 1. May 2007, 13:08
by Oliver Georgi
NO! because there are template files and settings which will overwrite your customized!!!

Oliver

Posted: Tue 1. May 2007, 13:32
by Nik2004
You are right, but you can copy them back in there from the backup (they are not many, I assume).

Posted: Tue 1. May 2007, 13:41
by Nik2004
By the way, in my first attempts to upgrade to 1.3.2 from 1.3.0, I got the following. It's the first time I get errors about codepage.

Code: Select all

<b>Warning</b>:  htmlentities(): charset `iso-8859-7' not supported, assuming iso-8859-1 in <b>/rootfolder/include/inc_lib/default.inc.php</b> on line <b>200</b><br />
Also, I got this:

Code: Select all

<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /rootfolder/include/inc_lib/default.inc.php:200) in <b>/rootfolder/index.php</b> on line <b>186</b><br />

<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /rootfolder/include/inc_lib/default.inc.php:200) in <b>/rootfolder/index.php</b> on line <b>190</b><br />

Posted: Tue 1. May 2007, 13:45
by Oliver Georgi
is described in another thread here - search for it. Is solved in next upgrade available today or tomorrow.

Oliver

1.3.0 > 1.3.3

Posted: Mon 7. May 2007, 10:33
by TI&OSM
Oliver Georgi wrote:Upload new include and img folder.

Check template folder very careful - and upload new files and folder only (at first). Compare existing files against new and synchronize (manually).

As always!!! Backup before starting upgrade.

And then make the little db upgrade using setup/upgrade.php - and also "6) UPGRADE CONTENT PART MULTIMEDIA"

Oliver
Is this the same for 1.3.0 > 1.3.3 upgrade?

And, maybe a stupid question, but how do you compare?
With your ftp client? And the files not changed are left untouched?

Robert [TI&OSM]

Posted: Mon 7. May 2007, 10:49
by Oliver Georgi
Best app to compare is WinMerge http://winmerge.org/ on Windows.
Use Kdiff on MacOS X http://kdiff3.sourceforge.net/

Oliver

Posted: Mon 7. May 2007, 13:19
by TI&OSM
Oliver Georgi wrote: and also "6) UPGRADE CONTENT PART MULTIMEDIA"

Oliver
I tried to do so, but this is the message;

Code: Select all

CONVERT CONTENT PART MULTIMEDIA
=================================================================

No content part multimedia found for upgrading!
Did I do something wrong?

PS.: I upgraded from 1.3.0 > 1.3.3

Robert [TI&OSM]

1.3.0 > 1.3.3 error?!

Posted: Mon 7. May 2007, 13:33
by TI&OSM
I just did as you told in the first tread of this topic,
but now when I want to save a content part I get this;

Code: Select all

error while updating content: UPDATE phpwcms_articlecontent SET acontent_aid = '11', acontent_uid = '1', acontent_title = '', acontent_subtitle = '', acontent_type = '2', acontent_sorting = '10', acontent_visible = '1', acontent_before = '', acontent_after = '', acontent_top = '0', acontent_block = 'RIGHT', acontent_anchor = '0', acontent_module = '', acontent_comment = '', acontent_paginate_page = '0', acontent_paginate_title = '', acontent_form ='a:9:{s:6:"images";a:1:{i:0;a:7:{i:0;s:1:"8";i:1;s:19:"winhov-DSCN5595.jpg";i:2;s:32:"6b99d8e23377e80f6019c3c44ba55ffd";i:3;s:3:"jpg";i:4;i:307;i:5;i:200;i:6;s:0:"";}}s:5:"width";i:307;s:6:"height";i:200;s:3:"pos";i:7;s:3:"col";i:1;s:4:"zoom";i:0;s:5:"space";i:0;s:8:"lightbox";i:0;s:9:"nocaption";i:0;}' WHERE acontent_id=25 AND acontent_aid=11
Maybe I am a newbie, and still learning, but can anybody tell me what I did wrong...?!

Robert [TI&OSM]

upgraded!

Posted: Mon 7. May 2007, 16:13
by TI&OSM
I finally managed to upgrade from to 1.3.0 > 1.3.3.
I copied the whole 1.3.3 folder to my server and connected my database to it. And now it works.

I don't now if this is the correct way of doing this, I believe it isn't, but it works for me.

So, I don't need answers for my previous two queries.

Thanks anyway,

Robert [TI&OSM]

Posted: Mon 7. May 2007, 16:53
by Oliver Georgi
it's one possible way...

Do the db upgrade (if you should not have done).

Oliver

Posted: Mon 7. May 2007, 16:58
by TI&OSM
Oliver Georgi wrote:it's one possible way...

Do the db upgrade (if you should not have done).

Oliver
I did...!

Many thanks for your reaction.
I'm quiet new to the back end of sites,
and now you say it's one possible way,
at least I found a way!

Robert [TI&OSM]