Problems after update to 1.2.8
Problems after update to 1.2.8
I wanted to install the new version but first wanted to try the upgrade on my local installation. Today I updated my old version to the new one but some problems occured.
1. Wanted a 20px border round the whole page, had done this before with the class you can define in the Layout Setup, now it doesn´t work. Don´t know if I have to change something in a config file???
2. When I try to save changes in the Layout Setup I get the message:
error while updating cache
3. Some letters (most ä ü etc.) are replaced through such small boxes: �
4. Can´t use a Wysiwyg-Editor. Tried to use the Fckeditor, edited the conf.inc.php, but there is no editor.
5. When I want to make a new article an message appears:
error while connecting to database:
INSERT INTO ........
So how can I solve those problems. Thanks for the help.
1. Wanted a 20px border round the whole page, had done this before with the class you can define in the Layout Setup, now it doesn´t work. Don´t know if I have to change something in a config file???
2. When I try to save changes in the Layout Setup I get the message:
error while updating cache
3. Some letters (most ä ü etc.) are replaced through such small boxes: �
4. Can´t use a Wysiwyg-Editor. Tried to use the Fckeditor, edited the conf.inc.php, but there is no editor.
5. When I want to make a new article an message appears:
error while connecting to database:
INSERT INTO ........
So how can I solve those problems. Thanks for the help.
Re: Problems after update to 1.2.8
Hope this get reducing the problems.monkeyz wrote:Hi monkeyz,
for some of your problems my be i can help:
1. Wanted a 20px border round the whole page, had done this before with the class you can define in the Layout Setup, now it doesn´t work. Don´t know if I have to change something in a config file???
# guess no, check if you have saved your "frontend.css" before update.
Check if the style is still in actual "frontend.css".
If not try to set in "frontend.css"[/color]Code: Select all
body { margin: 20px;}
2. When I try to save changes in the Layout Setup I get the message:
error while updating cache
# what means old version? earlier than 1.x.x? then you have also update your Database.
3. Some letters (most ä ü etc.) are replaced through such small boxes: �
# this is now because of using "UTF-8" for encoding the page. You can set this in "config.inc.php"
If you don't need UTF-8 supported sites, than you can change to "iso-8859-1" and all characters should be all right. If you want to stay with UTF-8 than you need to edit your texts and oberwrite again the "Umlaute" and save the pages.
4. Can´t use a Wysiwyg-Editor. Tried to use the Fckeditor, edited the conf.inc.php, but there is no editor.
# go to "Profil" in Backend and selct in your profile "FCKeditor" as your prefered WYSIWYG-Editor.
5. When I want to make a new article an message appears:
error while connecting to database:
# same thing as in No. 2 described.
INSERT INTO ........
So how can I solve those problems. Thanks for the help.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Thank you cyrano for the answer.
3. and 4. worked well, but not the rest.
To 2. and 5.: I did the database update with the upgrade.php. Don´t know if there is something wrong.
To 1.: The css-class i defined is in the frontend css.
.wrap2 { border: solid 20px #ffffff} In the Layout i defined this class for all blocks. Worked well before, but not now.
3. and 4. worked well, but not the rest.
To 2. and 5.: I did the database update with the upgrade.php. Don´t know if there is something wrong.
To 1.: The css-class i defined is in the frontend css.
.wrap2 { border: solid 20px #ffffff} In the Layout i defined this class for all blocks. Worked well before, but not now.
- Oliver Georgi
- Site Admin
- Posts: 9934
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
to have a 20px wide padding use
and disable setting body attributes like color and so on for the page layout - otherwise it might be overwritten.
when getting error messages like update cache - check your update!
Charset problems happens because you have not checked matching charset of your old and new installation.
Oliver
Code: Select all
html {
margin: 0;
padding: 0;
}
body {
margin: 0;
padding: 20px;
}when getting error messages like update cache - check your update!
Charset problems happens because you have not checked matching charset of your old and new installation.
Oliver
I did a new update with a backup of my database and it worked. Thanks for your help.
But I still have a problem with my css styles. As explained I want a 20px white border round all content blocks, like here on my page: http://www.stadt-tanna.de The way I did this before doesn´t work anymore.
And I wanted my nav_table links to have the same colors like on the page above. But this wont work. I used the nav_table class, defined in the conf.template_default, but whatever I change in this class doesn´t make any changes to the links.
Would be nice if you could help me out with this last problems.
But I still have a problem with my css styles. As explained I want a 20px white border round all content blocks, like here on my page: http://www.stadt-tanna.de The way I did this before doesn´t work anymore.
And I wanted my nav_table links to have the same colors like on the page above. But this wont work. I used the nav_table class, defined in the conf.template_default, but whatever I change in this class doesn´t make any changes to the links.
Would be nice if you could help me out with this last problems.
Hi,
why you don´t create a class named content at your frontend.css? At your source this class will be catched.
An other way for table based layout: left space, right space at your page layout.
regards Knut
why you don´t create a class named content at your frontend.css? At your source this class will be catched.
Code: Select all
.content {
margin: 0;
padding: 0px 20px;
}regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
- Oliver Georgi
- Site Admin
- Posts: 9934
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
It is simpler.
You are using the table based phpwcms pagelayout. So go in your page layout setting in the admin section and set a class - maybe "mainTable" for "all blocks/alle blöcke".
create a new class
Oliver
You are using the table based phpwcms pagelayout. So go in your page layout setting in the admin section and set a class - maybe "mainTable" for "all blocks/alle blöcke".
create a new class
Code: Select all
.mainTable {
border: 20px solid #FFFFFF;
}That´s exactly what I did, but it doesn´t work. Also other classes like nav_table don´t show changes when I change the colors, font-styles etc.Oliver Georgi wrote:It is simpler.
You are using the table based phpwcms pagelayout. So go in your page layout setting in the admin section and set a class - maybe "mainTable" for "all blocks/alle blöcke".
create a new classOliverCode: Select all
.mainTable { border: 20px solid #FFFFFF; }
It seems like many classes of the frontend.css wont work. I don´t know why.
- Oliver Georgi
- Site Admin
- Posts: 9934
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
@Oliver
Ich hab das bisher auch immer auf dem von dir beschriebenen Weg gemacht. Das ging ja ohne Probleme. Ich wollte jetzt aber erstmal das Update lokal ausprobieren, bevor ich Stress habe mit meiner richtigen Seite.
Nur da nimmt er irgendwie die classen nicht richtig an. Ich hatte bisher die 1.1 RC4. Ich weiß ja nicht ob es da Änderungen gab die die css Klassen beeinflussen oder ob ich in einer config-Datei noch was einstellen muss.
Genauso funktioniert auch die Klasse für meine Navigation auf der rechten Seite nicht. In der alten Version läuft es, aber in der neuen nimmt er auch keine Schriftartenänderungen oder Linkfarben an, außer der Klasse für die Standardlinks.
Was kann ich da noch überprüfen???
Danke schonmal.
Ich hab das bisher auch immer auf dem von dir beschriebenen Weg gemacht. Das ging ja ohne Probleme. Ich wollte jetzt aber erstmal das Update lokal ausprobieren, bevor ich Stress habe mit meiner richtigen Seite.
Nur da nimmt er irgendwie die classen nicht richtig an. Ich hatte bisher die 1.1 RC4. Ich weiß ja nicht ob es da Änderungen gab die die css Klassen beeinflussen oder ob ich in einer config-Datei noch was einstellen muss.
Genauso funktioniert auch die Klasse für meine Navigation auf der rechten Seite nicht. In der alten Version läuft es, aber in der neuen nimmt er auch keine Schriftartenänderungen oder Linkfarben an, außer der Klasse für die Standardlinks.
Was kann ich da noch überprüfen???
Danke schonmal.
Hallo monkeyz,
ja genau von RC 1.x auf Dev 1.2.x sind einige CSS Zuordnungen anders geworden.
Am einfachsten hast du es - wie beschrieben gemacht - die alten CSS Daten in die neue frontend.css kopiert. Dann kannst Du Dir jetzt Stück für Stück - bei Bedarf - die zusätzlichen Definitionen einfügen.
ja genau von RC 1.x auf Dev 1.2.x sind einige CSS Zuordnungen anders geworden.
Am einfachsten hast du es - wie beschrieben gemacht - die alten CSS Daten in die neue frontend.css kopiert. Dann kannst Du Dir jetzt Stück für Stück - bei Bedarf - die zusätzlichen Definitionen einfügen.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3