Page 1 of 1

Styles- Problem with GT Backend

Posted: Mon 23. Aug 2004, 13:54
by scalper
Hey guys,
I have a little Problem with my GT Backend.
Everything with this module is working fine: I see the fonts I have uploaded, and I can define Colors but when I click on "Stylse" I get an error:

Code: Select all

Warning: Could not read font in 
/home/public_html//include/inc_module/mod_graphical_text/inc_front/gt.func.inc.php on line 41

Warning: Could not read font in 
/home/public_html/include/inc_module/mod_graphical_text/inc_front/gt.func.inc.php on line 46

Fatal error: Call to undefined function: imagecolorallocatealpha() in 
/home/public_html/include/inc_module/mod_graphical_text/inc_front/gt.func.inc.php on line 56
All other requirements (like chmod 777, etc.) are fulfilled I guess.
What could that be? thanks for your help :D

Posted: Mon 23. Aug 2004, 18:42
by DeXXus
Make sure fonts are chmod 644.

thats not the problem

Posted: Tue 24. Aug 2004, 11:40
by scalper
Thanks Dexxus, but thats not the problem - all fonts are on 644....
i sitll have no idea what i could be.

Posted: Tue 24. Aug 2004, 11:46
by DeXXus
Me neither, but the text of that message doesn't originate from within phpWCMS. Did you upload the fonts as binary (versus ASCII)?

Posted: Thu 26. Aug 2004, 23:48
by Jérôme
I am not much in the GT MOD any more, but I see that there is one slash too much in your site path - go into mod_graphical_text/inc_front/gt.func.inc.php and replace

Code: Select all

// Path for caching purposes
define( CACHE_PREFIX, PHPWCMS_ROOT.'/'.$phpwcms["content_path"].'gt/' );
with

Code: Select all

// Path for caching purposes
define( CACHE_PREFIX, PHPWCMS_ROOT.$phpwcms["content_path"].'gt/' );
I hope this works.

Greetings
- Jérôme