How to update? (1.3 -> 1.3.2)

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
hemme
Posts: 2
Joined: Fri 2. Feb 2007, 00:32

How to update? (1.3 -> 1.3.2)

Post by hemme »

Is there a "how to"?

or do you need to install all over?
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

NO! because there are template files and settings which will overwrite your customized!!!

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Post by Nik2004 »

You are right, but you can copy them back in there from the backup (they are not many, I assume).
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Post 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 />
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

is described in another thread here - search for it. Is solved in next upgrade available today or tomorrow.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
TI&OSM
Posts: 37
Joined: Tue 27. Feb 2007, 09:30
Location: The Hague, The Netherlands

1.3.0 > 1.3.3

Post 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]
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Best app to compare is WinMerge http://winmerge.org/ on Windows.
Use Kdiff on MacOS X http://kdiff3.sourceforge.net/

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
TI&OSM
Posts: 37
Joined: Tue 27. Feb 2007, 09:30
Location: The Hague, The Netherlands

Post 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]
TI&OSM
Posts: 37
Joined: Tue 27. Feb 2007, 09:30
Location: The Hague, The Netherlands

1.3.0 > 1.3.3 error?!

Post 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]
TI&OSM
Posts: 37
Joined: Tue 27. Feb 2007, 09:30
Location: The Hague, The Netherlands

upgraded!

Post 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]
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

it's one possible way...

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

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
TI&OSM
Posts: 37
Joined: Tue 27. Feb 2007, 09:30
Location: The Hague, The Netherlands

Post 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]
Post Reply