Upgrade Question!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
ceint
Posts: 21
Joined: Sun 25. Jun 2006, 23:45
Contact:

Upgrade Question!

Post by ceint »

Hi,

What is the best and safest way to upgrade from v1.2.6 to v1.2.8?

Thanks
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi ceint,

1. Please backup your db.
2. Backup your complete website.
2.1 OR save the files:
- /config/phpwcms/conf.inc.php
- /config/phpwcms/conf.indexpage.inc.php
- /config/phpwcms/conf.template_default.inc.php
- /phpwcms_template/inc_default/startup.php
- The whole folder
/phpwcms_template/inc_css/
/phpwcms_template/inc_cntpart/
/phpwcms_filestorage/
/content/images/

3. Save a local copy of the new files.
4. Edit all config files. (Insert your settings from the old files into the new files).
5. Upload all files
6. /setup/upgrade.php and follow the instructions to update the database.
7. If all was done, please erase the complete folder /setup/
8. Run and be happy.
FCK editor
----------------------------
9. Login as Admin: Admin -> profile -> switch on FCK
10. FCK toolbar V1.2.7/1.2.8: Please edit the file: /include/inc_lib/wysiwyg.editor.inc.php around line 50:

Code: Select all

$oFCKeditor->ToolbarSet   = 'phpwcms_default'; //phpwcms_basic phpwcms_default, Default
Knut :D
Last edited by flip-flop on Tue 20. Mar 2007, 14:03, edited 3 times in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
zentering
Posts: 120
Joined: Thu 16. Feb 2006, 21:35
Location: Stockholm Sweden

Get this error after upgrade

Post by zentering »

-- ERROR --
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;

-- ERROR --
ALTER TABLE `phpwcms_articlecat` ADD `acat_maxlist` INT( 11 ) NOT NULL DEFAULT '0';

-- ERROR --
ALTER TABLE `phpwcms_articlecat` ADD `acat_cntpart` VARCHAR( 255 ) NOT NULL


- All works even if i got this error.
jscholtysik

Post by jscholtysik »

Hi zentering,


these errors only mean that these tables already exist in your database... ;-)


Joachim
a_tesz
Posts: 1
Joined: Thu 7. Apr 2005, 11:13

Post by a_tesz »

hi, i have a problem. i wanted to make a backup but if i click on phpmyadmin in the backend, it says phpmyadmin has been disabled for security reasons :? what shall i do now? thanks for any help in advance
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post by Klappstuhl28 »

please have a look to your conf.inc.php

there you have to enable phpadmin in backend

Lars
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
jscholtysik

Post by jscholtysik »

Hi a_tesz,


and there is only an index.php in /include/inc_ext/phpmyadmin, so you have to copy all phpmyadmin stuff into that folder to work properly... it is not enough to only enable phpmyadmin in conf.inc.php!!


Joachim
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post by Klappstuhl28 »

**********************************************

doch wir müssen geduldig sein, dann dauert es nicht mehr lang

**********************************************

:lol:
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Post Reply