Problems after update to 1.2.8

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
monkeyz
Posts: 46
Joined: Fri 30. Jul 2004, 08:53

Problems after update to 1.2.8

Post by monkeyz »

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.
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Re: Problems after update to 1.2.8

Post by cyrano »

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"

Code: Select all

body { margin: 20px;}
[/color]

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.
Hope this get reducing the problems.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
monkeyz
Posts: 46
Joined: Fri 30. Jul 2004, 08:53

Post by monkeyz »

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.
User avatar
Oliver Georgi
Site Admin
Posts: 9932
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

to have a 20px wide padding use

Code: Select all

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 20px;
}
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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
monkeyz
Posts: 46
Joined: Fri 30. Jul 2004, 08:53

Post by monkeyz »

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.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi,
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;
}
An other way for table based layout: left space, right space at your page layout.

regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Oliver Georgi
Site Admin
Posts: 9932
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

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

Code: Select all

.mainTable {
  border: 20px solid #FFFFFF;
}
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
monkeyz
Posts: 46
Joined: Fri 30. Jul 2004, 08:53

Post by monkeyz »

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 class

Code: Select all

.mainTable {
  border: 20px solid #FFFFFF;
}
Oliver
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.

It seems like many classes of the frontend.css wont work. I don´t know why.
User avatar
Oliver Georgi
Site Admin
Posts: 9932
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

Check your settings. This must work - definitly.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
monkeyz
Posts: 46
Joined: Fri 30. Jul 2004, 08:53

Post by monkeyz »

@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.
monkeyz
Posts: 46
Joined: Fri 30. Jul 2004, 08:53

Post by monkeyz »

Ich hab jetzt nochmal die Standard frontend.css kopiert und meine Änderungen eingetragen und es geht. :D

Wer weiß was ich falsch gemacht hab. Aber vielen vielen Dank für die Hilfe.
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

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.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Post Reply