I would love to use the Zen Button Construction Kit. I've downloaded it to use offline with WAMP. But when I go to http://localhost/zen_bck/ I get these errors at the top of the page...
Warning: imageftbbox() [function.imageftbbox]: Invalid font filename in C:\wamp\www\zen_bck\includes\class.zen_bck.php on line 52
Warning: imagefttext() [function.imagefttext]: Invalid font filename in C:\wamp\www\zen_bck\includes\class.zen_bck.php on line 195
Warning: imageftbbox() [function.imageftbbox]: Invalid font filename in C:\wamp\www\zen_bck\includes\class.zen_bck.php on line 52
Warning: imagefttext() [function.imagefttext]: Invalid font filename in C:\wamp\www\zen_bck\includes\class.zen_bck.php on line 195
Here's line 52 of class.zen_bck.php...
Code:
$tbb_10 = imageFTBBox ($this->font_sz*10, 0, $this->font, $btnText, array());
and here's line 195...
Code:
$tbb = imageFTText ($im, $this->font_sz*10, 0, ($x), ($y), $this->fontColor, $this->font, $btnText, array());
Also in the "Languages to output" area at the bottom of the page are these two errors...
Warning: ksort() expects parameter 1 to be array, null given in C:\wamp\www\zen_bck\index.php on line 322
Warning: Invalid argument supplied for foreach() in C:\wamp\www\zen_bck\index.php on line 323
Here's what line 322 and 323 of index.php look like...
Code:
ksort($languages);
foreach($languages as $language => $val) {
Anyone see what's wrong?
Thanks in advance.