Closed michalet closed 11 years ago
I am receiving the same error. Was looking at the php files and everything looked correct. Unless I overlooked something.....Any solutions?
Try to install Imagick on your web server or contact your web host.
Method 1)
Edit /generate/diamond.php and try including the FULL/ABSOLUTE path for the SHOWG.TTF font file.
Example for cPanel Servers: Find: "$font_file = 'SHOWG.TTF';" in diamond.php and then Edit it to something like: "$font_file = '/home/cpanelusr/public_html/donate/generate/SHOWG.TTF';" Where the "cpanelusr" is the username for the cPanel account and "donate" is the installation directory of the portal.
Method 2)
Edit login-home.php and find the following lines:
<img src="generate/diamond.php?text=<?php echo $diamond1; ?>">
<img src="generate/diamond.php?text=<?php echo $diamond2; ?>">
<img src="generate/diamond.php?text=<?php echo $diamond3; ?>">
<img src="generate/diamond.php?text=<?php echo $diamond4; ?>">
Replace them with:
<img src="http://targetcraft.net/demo/dep/generate/diamond.php?text=<?php echo $diamond1; ?>">
<img src="http://targetcraft.net/demo/dep/generate/diamond.php?text=<?php echo $diamond2; ?>">
<img src="http://targetcraft.net/demo/dep/generate/diamond.php?text=<?php echo $diamond3; ?>">
<img src="http://targetcraft.net/demo/dep/generate/diamond.php?text=<?php echo $diamond4; ?>">
What this will do is generate the image from our web server which is running the demo portal efficiently resolving your problems!
Method one worked for me, thanks.
First one worked for me as well, thank you.
As the title says, I get this for all four package images. I'm rather a newbie with apache/php, but will try to get any needed info.