Oh Lord, what have Oliver do?
He hasn´t convert the files from his Mac (cariage return=OD) to carriage return-line feed =#0D#0A.
[UPDATE]
But there is a simple solution i hope.
You have a running 1.26 DEV?
NO -> Do a normal 1.26DEV -Setup, if you have an set downloaded before 27.04.06.
After 1.26DEV are running:
Please make only an update
without setup.
Hava look too:
http://www.phpwcms.de/forum/viewtopic.php?p=64329#64329
0.
Delete the folder
/phpwcms_code_snippets/ at your webspace
1.
Backup the following files/folders: /config/phpwcms/, /phpwcms_template/inc_css/
2. Copy all files/folders of the new version to your webspace
without the folder: setup
3. Copy the backed up files/folders back to your webspace. (Overwrite = yes)
4. Complete your conf.inc.php with the following lines: (Use this instead of Olivers (0D0A-Problem))
Code: Select all
$phpwcms["form_tracking"] = 1; //make a db entry for each form
$phpwcms["formmailer_set"] = array('allow_send_copy' => 0, 'global_recipient_email' => 'form@localhost'); //for better
5. Update your database via phpMyAdmin:
- Select your database
- Select SQL
- Insert the the following content into the SQL field.
(For an 12.6DEV 14.12.05 only the last block "CREATE TABLE `phpwcms_formtracking......" is necessary).
Code: Select all
ALTER TABLE `phpwcms_user` ADD `usr_vars` MEDIUMTEXT NOT NULL ;
ALTER TABLE `phpwcms_usergroup` ADD `group_name` VARCHAR( 200 ) NOT NULL AFTER `group_id` ;
ALTER TABLE `phpwcms_usergroup` ADD `group_member` MEDIUMTEXT NOT NULL AFTER `group_name` ;
ALTER TABLE `phpwcms_usergroup` ADD `group_timestamp` TIMESTAMP NOT NULL ;
ALTER TABLE `phpwcms_usergroup` ADD `group_trash` INT( 1 ) NOT NULL ;
ALTER TABLE `phpwcms_usergroup` ADD `group_active` INT( 1 ) NOT NULL ;
ALTER TABLE `phpwcms_articlecontent` ADD `acontent_anchor` INT( 1 ) NOT NULL ;
CREATE TABLE `phpwcms_keyword` (
`keyword_id` int(11) NOT NULL auto_increment,
`keyword_name` varchar(255) NOT NULL default '',
`keyword_trash` int(1) NOT NULL default '0',
PRIMARY KEY (`keyword_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
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;
- -> Ok --> Several error messages are shown (If you have used all). Normaly that is ok.
6. Close phpMyAdmin
7. Login and be happy.
Gruß Knut