20060427_phpwcms_1.2.6

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Magnum
Posts: 91
Joined: Thu 12. Aug 2004, 00:56
Location: Berlin
Contact:

20060427_phpwcms_1.2.6

Post by Magnum »

hallo werte community...

nach dem erfolgreichen update zum 27042006 wurden in sämtlichen contentparts und demzufolge auf der HP alle Umlaute durch "�" ersetzt. Leider habe ich keine Ahnung, wie dies zu stande kam noch wie dieses Problem zu lösen wäre. Abgesehen, daß ich jeden einzelnen contentpart per Hand korrigieren müsste, was so sicher nicht vorgesehen ist oder war...

Hat vielleicht jemand auch auf einem Sonntag eine Idee?

Grüße
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post by marcus@localhorst »

check mal das encoding in der config datei ISO xyz oder UTF-8 ?

bestens
marcus
Magnum
Posts: 91
Joined: Thu 12. Aug 2004, 00:56
Location: Berlin
Contact:

Post by Magnum »

$phpwcms["charset"] = "UTF-8"; //default charset "iso-8859-1"


muss das iso eintragen oder?

hab hald die neue config übernommen

edit:

jetzt gehts...recht vielen dank!!!!

p.s. wofür ist das UTF-8 gut?
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post by marcus@localhorst »

einfach gesagt, ist UTF-8 ein erweiterter zeichensatz, wenn dokumente so codiert sind, kannst du sonderzeichen (chinesisch, kyrillisch, äüö etc) ins dokument schreiben, ohne html codierungen zu benutzen.
ehe ich mich um kopf und kragen rede :-)
http://de.wikipedia.org/wiki/UTF-8

bestens
marcus
Svenaui
Posts: 9
Joined: Sun 21. May 2006, 18:34

Post by Svenaui »

Hallo Leute,

mir ist nun mal leider das gleiche passiert...
Nur leider ist es mit dem Wechseln des Encodings nicht getan. Bei funtioniert der GT Mod seitdem nicht mehr richtig. Ich hatte dummerweise ein paar Farben mit Umlauten bezeichnet. Habe diese dann geändert bzw. hatte es sich selbsttätig schon geändert.

Schon fertige Contentbereiche werden ordentlich angezeigt, jedoch werden keine neue Stile mehr akzeptiert (d.h. es werden nur Platzhalter angezeigt) und sobald ich neuen Content mit GT erstelle, werden auch dort nur Platzhalter angezeigt.

Hat jemand ein ähnliches Problem oder sogar schon eine Idee...?

Viele Grüße
Sven
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Svenaui
Posts: 9
Joined: Sun 21. May 2006, 18:34

Post by Svenaui »

Hallöchen DeXXus,

vielleicht habe ich mich falsch ausgedrückt, mein Problem liegt beim Graphical Text MOD. Statt den Schriftzügen werden nur die Platzhalter für Bilder angezeigt, klar weil im GT Mod Schrift in Form von Bilder eingefügt wird.
Weiterhin kann ich im Backend keine neuen Stile einfügen, wiederum werden nur Platzhalter für Bilder angezeigt.
Leider konnte ich in deiner Antwort nichts herausfinden, was mich weiterbringt.

Viele Grüße
Sven
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Hello Sven! Sorry I don't speak German. Hope this makes a little sense!

Den Schriftkegelzeichensatz zuerst überprüfen, um zu sehen wenn erforderliche Buchstaben gestützt werden.
Die GT Umb. übertragung hängt total von den benutzten Schriftkegeln ab. Nur Unicode Schriftkegel können solche große Zeichensätze haben. Andere ein wenig weniger Unterstützung für einzigartige Buchstaben zwischen Sprachen.
Svenaui
Posts: 9
Joined: Sun 21. May 2006, 18:34

Post by Svenaui »

Upps, hi DeXXus,

sorry, better I write in english.
Ok, my problem is the using of the GT MOD. Everything was running well, then I was updating to the dev 1.2.6 and put the page on my memory stick. There ist running a new xampplite (with phpmyadmin 2.8.0.3) -> so I run in this problem. Clearly is a problem with the encoding, but both UTF-8 and iso-... is the same result.
The old stuff is running well - and the new staff I get only the freeholder like a missing picture.
May it helps now a little bit more.

Greetings
Sven
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

I -=admire=- your multilingual excellence (*PROPS* to you) :wink:

If you mean Red X in a square for missing image... what PATH does the missing image placeholder show for properties?

If you mean square graphic where a different character should be then probably a phpWCMS issue. OG has tweaked the script slightly concerning UTF-8 compatiblity (since the security changes) or could be just charset in "conf.inc.php" or even MySQL charset differences. (Reaching for straws :roll: )
Svenaui
Posts: 9
Joined: Sun 21. May 2006, 18:34

Post by Svenaui »

Hi DeXXus,

until now, I had no time to make something. I will look for it this weekend.

Thanks, bye, hasta pronto
Sven
Svenaui
Posts: 9
Joined: Sun 21. May 2006, 18:34

Post by Svenaui »

Hi DeXXus,

now...
I was setting up a fresh phpwcms 1.2.6 with GT MOD on my test stuff (xampp on memory stick), to try what´s happen.

If I add a new font, I get this message:

Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: zlib error in F:\xampp\htdocs\wcms\include\inc_module\mod_graphical_text\inc_front\gt.func.inc.php on line 110

Then I reload the page and the signs for the fonts will be only a placeholder for a picture (missing picture).
Also on the page appers only the placeholder for missing picture.

Do you have an idea?

Greetings
Sven
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

I think this error might only occur on servers with PHP v5.1.x or newer, when working with "sizing" PNG images and using GD type of graphic module.

The "likely" problem is that PHP 5.1.x introduced a parameter to the imagepng() function, for controlling the level of quality. This value is an integer between 0 and 9 inclusive and is meant to provide a filtering mode option to imagepng() to allow reducing file size.
PHP 5 ChangeLog
Version 5.1.3
02-May-2006

"Added filtering mode option to imagepng() to allow reducing file size. "
That option has not been coded into phpWCMS. Those working under a Windows environment might be able to get away with reverting to an earlier version of gd2.dll:
http://www.interaktonline.com/Products/ ... harts.html
Svenaui
Posts: 9
Joined: Sun 21. May 2006, 18:34

Post by Svenaui »

Hi DeXXus,

this answer looks good. Will try it this weekend.

Thanks a lot.
Greetings.
Sven
Post Reply