php

TarinC

New Member
Messages
698
Reaction score
0
Points
0
After Corey recompiled the php module i get this error:
Call to undefined function: imagettftext() ...

I found a possible fix to this problem:

Those errors indicate that your PHP installation does not have True Type Font support compiled. You can simply alter your PHP installation to have the True Type Font support compiled in.

Otherwise, you can go to Admin > Captcha Preferences and change the “Use TrueType Font for Captcha?” option to NO.

Thanks Corey.
 
Last edited:

TarinC

New Member
Messages
698
Reaction score
0
Points
0
Corey said:
All set.

-Corey

i still recieve the error: (found: http://tps.x10hosting.com/sig/)
<br />
<b>Fatal error</b>: Call to undefined function: imagettftext() in <b>/home/tpsx10h/public_html/sig/index.php</b> on line <b>67</b><br />

Found These:
Try doing a "make clean" before building the php apache module:

./configure [...]
make clean
make
make install

This may solve your problem
The problem you are encoutering could be due to any of the ff.:

1) The truetype font enabling is detailed on: http://us2.php.net/manual/en/ref.image.php

2) How to use the imagettftext font when defining the ttf file is in the manual for the function
http://us2.php.net/manual/en/function.imagettftext.php
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
It's known how to install them. I'll ask Corey to look into it when he has the time, unless he sees this first.
 

TarinC

New Member
Messages
698
Reaction score
0
Points
0
NedreN said:
It's known how to install them. I'll ask Corey to look into it when he has the time, unless he sees this first.

i just searched the error on google and found these on the first page. it cant be the source cause i used your source for the sig.
 

Chris S

Retired
Messages
2,055
Reaction score
1
Points
38
what server are you on. It could be something that was misconfigured on the free server. My current image is hosted on the business server so I have no idea
 

TarinC

New Member
Messages
698
Reaction score
0
Points
0
Corey said:
All set.

-Corey

It works!!! this is what i was "working" on:
sig
 
B

Brandon

Guest
Nice, Im adding Uptime and Server Load when I move to the buisness server.
 
M

minievan

Guest
Cool, Im trying to make one. but as i know hardly any php i get stuck every line xD
 

TarinC

New Member
Messages
698
Reaction score
0
Points
0
the servers are up... i get the php error i posted in the first post. there is nothing wrong with source cause it used to work...
 
Top