Hi guys,
I want to give a litte report of my experiences I got while upgrading from version 1.2.6 to 1.2.8 (incl. all patches [last patchC]).
1. I backuped all files and the db... you really don't know what can happen.

2. I copied the files into my webdir and re-configured manually changed files (just a few, like frontend.css, conf.inc.php etc.)
3. I started setup/upgrade.php and selected entry no. 14 (1.2.6-dev to 1.2.7-dev). With this I got an error warning because this script wanted to create the table phpwcms_formtracking which still existed. But I found a difference and maybe a possible error:
the upgrade sql says:
Code: Select all
CREATE TABLE `phpwcms_formtracking` (
`formtracking_id` INT NOT NULL AUTO_INCREMENT,
`formtracking_hash` VARCHAR( 50 ) NOT NULL default '',
`formtracking_ip` VARCHAR( 20 ) NOT NULL default '',
`formtracking_created` TIMESTAMP(14) NOT NULL,
`formtracking_sentdate` VARCHAR( 20 ) NOT NULL default '',
`formtracking_sent` INT( 1 ) NOT NULL DEFAULT '0',
PRIMARY KEY (`formtracking_id`)
) TYPE=MyISAM;
but the still existing table says:
Code: Select all
formtracking_created timestamp(14) NULL default NULL
this means, that the existing table allow a NULL value, the new table doesn't, but gives no default value! Maybe an error, Oliver? And what is the better setting? I think it will be the new table (but WITH default value!).
4. After this the upgrade procedure seems to be done. But I detected another error. My sites weren't shown correctly and I found the problem:
in the templates were code lines like
Code: Select all
<!------ Haupt --------------------------------------- //-->
These were parsed in the old version correcly because the old site where coded as
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
and not as
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
this is more restrictive so that the comments have to be edited to the form
or
Code: Select all
<!-- comment text
over more lines //-->
(I'm not quite sure with this, but it works. Correct me if I'm wrong)
So, hope this helps.
Greetings,
Dennis
ADDITION!!!!
The template for my home sitestructure changed to another one and cannot be changed in the backend! What happens here? (I have to change it in the db by myself!)
Redirected it to a new post:
->
http://www.phpwcms.de/forum/viewtopic.php?p=71212#71212