Styles- Problem with GT Backend

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
scalper
Posts: 19
Joined: Wed 7. Jan 2004, 23:48

Styles- Problem with GT Backend

Post 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
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Make sure fonts are chmod 644.
scalper
Posts: 19
Joined: Wed 7. Jan 2004, 23:48

thats not the problem

Post by scalper »

Thanks Dexxus, but thats not the problem - all fonts are on 644....
i sitll have no idea what i could be.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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)?
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post 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
Post Reply