Page 1 of 2
1.2.5 to 1.2.8 - Graphical Text mod not working
Posted: Thu 21. Sep 2006, 08:40
by leoff
The GT mod worked fine under 1.2.5 but when I upgraded it is no longer functioning. I tried to manually reinstall but the installation read me mentions file lines in phpwcms.php that do not exist. What am I missing?
The mod section of the admin panel shows the mod, but nothing happens when I click on it except that the credit lines dissappear.
Can't seem to find a way to reinstall. Can someone point me in the right direction?
Posted: Thu 21. Sep 2006, 10:30
by Oliver Georgi
You have all 1.2.8 patches installed?
Oliver
Patches
Posted: Thu 21. Sep 2006, 17:03
by leoff
No. I just downloaded the latest version, 1.2.8 from a link on your site. I thought it was the latest. What patches do I need? Where do I get them.
Posted: Thu 21. Sep 2006, 17:12
by cyrano
Posted: Thu 21. Sep 2006, 17:18
by leoff
This is the version I installed. I did not install patch G because I thought the latest version included it. Do I need to install patch G in addition to 20060905_phpwcms_1.2.8.zip?
Posted: Thu 21. Sep 2006, 17:35
by cyrano
hmm, i haven't done and works well....
May have identified the problem.
Posted: Thu 21. Sep 2006, 18:32
by leoff
First, one of the lines I had to add to phpwcms.php had a "./" address. So, I took out the . and tried again.
When I try to open a page with graphical text on it I get:
Warning: cannot yet handle MBCS in html_entity_decode()! in
/home/virtual/site3/fst/var/www/html/include/inc_module/mod_graphical_text/inc_front/gt.func.inc.php on line 184
Line 184 is as follows:
$text = html_entity_decode($text, ENT_QUOTES, $GLOBALS['phpwcms']["charset"]);
I remember reading something on the forum about "charset" in version 1.2.8 causing some problems.
Could this be the source of my problem? Any suggestions?
Posted: Thu 21. Sep 2006, 19:03
by flip-flop
I think the GT mode is missing the charset iso at conf.inc.php
Knut
Posted: Thu 21. Sep 2006, 19:26
by Oliver Georgi
Check your PHP version first:
http://bugs.php.net/bug.php?id=25670
Which charset do you use?
Oliver
Posted: Thu 21. Sep 2006, 19:27
by update
that seems to be true, because I've had the same problem, but
Code: Select all
$phpwcms['charset'] = 'iso-8859-1';
(instead of utf) got it running!
claus
Posted: Thu 21. Sep 2006, 19:44
by leoff
No luck. Changed the charset to 'iso-8859-1' but I still get the same warning. I will check to see what version of php my server is running.
Thanks for all of the suggestions. I am still open for more ideas.
Got it!
Posted: Thu 21. Sep 2006, 19:53
by leoff
Ok, I had changed the wrong charset (db). I just changed it back to 'utf8' and then changed the correct one at line 66
$phpwcms['charset'] = 'iso-8859-1';
Now it works! Thanks so much everyone.
Posted: Thu 21. Sep 2006, 20:38
by update
The discussion behind the link provided by oliver g. revealed a "bug" in the 4.3.x php version (I'm still running 4.3.3). So what about upgrading the whole thing? Are there any unresolvable dependencies with suse 9?
Posted: Thu 21. Sep 2006, 21:32
by Oliver Georgi
I really don't know. But for Suse there might be a newer PHP RPM available.
Oliver
Another Issue
Posted: Fri 22. Sep 2006, 02:39
by leoff
I did get the graphical text I had loaded under 1.2.5 to show, but the mod does does not show in the Module section of the Admin area. My guess is I need to reinstall it, but I can't seem to find how to do that.
Can someone point me in the right direction?