Page 1 of 2
Update from 1.2.1 to 1.3?
Posted: Sat 10. Mar 2007, 16:11
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
Posted: Sat 10. Mar 2007, 17:18
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?
Posted: Sun 11. Mar 2007, 06:46
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
Posted: Sun 11. Mar 2007, 10:30
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!
Posted: Sun 11. Mar 2007, 10:33
by macangelo
do you have a link to your site for me so that I can guess?
Posted: Sun 11. Mar 2007, 16:49
by elconde
Posted: Sun 11. Mar 2007, 17:10
by macangelo
Thanks, and what is wrong, and what is it supposed to look like?
Posted: Sun 11. Mar 2007, 18:09
by elconde
Posted: Sun 11. Mar 2007, 18:22
by macangelo
Kann das sein, dass die neue Seite die frontend.css nicht findet? Ich zumindest finde sie nicht ...
macangelo
Posted: Sun 11. Mar 2007, 23:15
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.
Posted: Mon 12. Mar 2007, 05:22
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?
Posted: Mon 12. Mar 2007, 07:05
by flip-flop
...... und den Inhalt und Ort deiner veränderten eigenen Dateien wie z.B. die *CSS Dateien damit abgeglichen?
Knut
Posted: Mon 12. Mar 2007, 09:00
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.
Posted: Mon 12. Mar 2007, 09:13
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.
Ich kenne auch kein "update pagelayout"
Das Layout wird doch unverändert übernommen.
Knut
Posted: Mon 12. Mar 2007, 09:18
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