Update from 1.2.1 to 1.3?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
elconde
Posts: 35
Joined: Sun 6. Mar 2005, 12:14
Contact:

Update from 1.2.1 to 1.3?

Post by elconde »

hi,

i´am still running the 1.2.1 version and i would like to upgrade to the new 1.3 version. what is the best way to do it, without loosing my layout and db settings?

greetz

#######

hi,

ich habe auf einer seite immer noch die version 1.2.1 laufen und möchte jetzt das upgrade machen. wie ist das am besten zu machen, ohne dass das layout und die db daten verloren gehen?

grüße
elconde
Posts: 35
Joined: Sun 6. Mar 2005, 12:14
Contact:

Post by elconde »

ok, just anticipating something. as i read in several threads db update files are provided from version to version.

so i guess the best way to solve my problem is to upload the 1.3 files and update my db from 1.2.1 to 1.2.2 to.....to 1.3

templates are not so critical. copying seems to be a good solution there.

am i right or wrong?
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

Hi elconde,

to be on the safe side, I would
1) dump and import your existing database into a new one
2) install the 1.3.0 into a new folder without installing the database
3) adjust files like config.inc.php and copy files you need form the old installation to the new one
4) run all database updates

Like this the old installation is running until you are sure everything went smooth.

Best, Macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
elconde
Posts: 35
Joined: Sun 6. Mar 2005, 12:14
Contact:

Post by elconde »

hi macangelo,

i did it, like i have written above. so long no probs apart from the template. upgrade_pagelayout did not work, so i am searching now for a working 1.3 template. is there anyone outside, who can help me out?

or better: what could be my mistake, that has this pagelayout thing as outcome. i made everything that was written in http://www.phpwcms-docu.de/update_1.x.x_de.phtml

otherwise it will be a nice try and error day today!
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

do you have a link to your site for me so that I can guess?
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
elconde
Posts: 35
Joined: Sun 6. Mar 2005, 12:14
Contact:

Post by elconde »

macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

Thanks, and what is wrong, and what is it supposed to look like?
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
elconde
Posts: 35
Joined: Sun 6. Mar 2005, 12:14
Contact:

Post by elconde »

it is supposed to look like this: (old webspace)

http://www.rfv-gettorf-eckernfoerde-daenischerwohld.de/
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

Kann das sein, dass die neue Seite die frontend.css nicht findet? Ich zumindest finde sie nicht ...

macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
elconde
Posts: 35
Joined: Sun 6. Mar 2005, 12:14
Contact:

Post by elconde »

woran siehst du denn, dass er das frontend.css nicht findet? in der index.php ist es auskommentiert. wer weiß warum?

ich würde gerne, bevor ich rumbastel, diese upgrade_pagelayout.php machen, aber es kommt immer die meldung:
CONVERT PAGELAYOUT
=================================================================

No pagelayout for conversation found!
ich weiß nicht woran das liegt, aber ich muss sicher etwas falsch gemacht haben beim dateien kopieren. ich habe alle alten dateien überschrieben und die entsprechenden DB daten in die dist.conf.inc geschrieben und diese datei dann umbenannt in conf.inc.

das ist wohl nicht ganz richtig gewesen...

ich habe den thread hier http://www.phpwcms.de/forum/viewtopic.php?p=82579#82579
fortgesetzt.
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

1.3.0 hat ja zum Teil andere Pfade (phpwcms_template wird template, phpwcms_ftp wird upload, usw.). Hast Du die in der config.inc.php entsprechend angegeben?
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

...... und den Inhalt und Ort deiner veränderten eigenen Dateien wie z.B. die *CSS Dateien damit abgeglichen?

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
elconde
Posts: 35
Joined: Sun 6. Mar 2005, 12:14
Contact:

Post by elconde »

ok - ich habe die ordner umbenannt:

Code: Select all

$phpwcms['templates']         = 'template'; // original phpwcms_template
$phpwcms['content_path']      = 'content';
$phpwcms['cimage_path']       = 'images';
$phpwcms['ftp_path']          = 'upload'; // orginal phpwcms_ftp
Die Original frontend.css liegt jetzt auch in den neuen Ordnern.

Aber: Das update pagelayout geht immer noch nicht und das Layout ist immer noch verschoben. Ich würde gerne mal wissen, woran das Update Problem liegt.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Stelle doch bitte auch den gleichen Doctype ein wie bei der alten Seite ein. (conf.inc.php)

Außerden sehen nun beide Seiten gleich aus. :shock:

Ich kenne auch kein "update pagelayout"

Das Layout wird doch unverändert übernommen.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
elconde
Posts: 35
Joined: Sun 6. Mar 2005, 12:14
Contact:

Post by elconde »

den doctype habe ich umgestellt, aber es ändert sich dadurch nichts am layout. die seiten sind auch nicht gleich.

zu vergleichen:

Die Seite vor dem Update:
http://web156.s2.okayspace.de/reitverein/

Die Seite nach dem Update:
http://www.reitundfahrverein.info/

und das mit dem pagelayout steht in der setup/upgrade.php

Code: Select all

When upgrading from releases older than 1.2.9:

5) UPGRADE PAGELAYOUT
Post Reply