# Get This Error When Re Gennerating Signatures

**URL:** <https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [March 24, 2011, 1:49pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349 "2011-03-24T13:49:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 24, 2011, 1:49pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/1 "2011-03-24T13:49:10Z")

</div>

-

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [March 24, 2011, 3:12pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/2 "2011-03-24T15:12:33Z")

</div>

It seems to be an issue with your Font area in the PilotData.class.php Check the coded in there around 1026 - 1071:

```
/* Font stuff */

	if(!function_exists('imagettftext'))
	{
		Config::Set('SIGNATURE_USE_CUSTOM_FONT', false);
	}

	# The line height of each item to fit nicely, dynamic

	if(Config::Get('SIGNATURE_USE_CUSTOM_FONT') == false)
	{
		$stepsize = imagefontheight($font);
		$fontwidth = imagefontwidth($font);
	}
	else
	{
		// get the font width and step size
		$bb = imagettfbbox ( $font_size, 0, $font, 'A');

		$stepsize = $bb[3] - $bb[5] + Config::Get('SIGNATURE_FONT_PADDING');
		$fontwidth = $bb[2] - $bb[0];
	}

	$currline = $yoffset;
	$total = count($output);
	for($i=0;$i<$total;$i++)
	{		
		if(Config::Get('SIGNATURE_USE_CUSTOM_FONT') == false)
		{	
			imagestring($img, $font, $xoffset, $currline, $output[$i], $textcolor);	
		}
		else
		{
			// Use TTF
			$tmp = imagettftext($img, $font_size, 0, $xoffset, $currline, $textcolor, $font, $output[$i]);

			// Flag is placed at the end of of the first line, so have that bounding box there
			if($i==0)
			{
				$flag_bb = $tmp;
			}
		}

		$currline+=$stepsize;
	}

```

Also, check the information you are trying to have it show, maybe you have too much info that it is setup to show.

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 24, 2011, 10:35pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/3 "2011-03-24T22:35:48Z")

</div>

Nope

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 24, 2011, 11:18pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/4 "2011-03-24T23:18:25Z")

</div>

Can you run the /install/checkinstall.php script?

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 25, 2011, 1:03am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/5 "2011-03-25T01:03:56Z")

</div>

ok

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 25, 2011, 1:09am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/6 "2011-03-25T01:09:10Z")

</div>

phpVMS Virtual Airline Administration Software

Install Check

phpVMS Build Number: 934

Checking PHP version

[OK] PHP version is 5.3.5.x

ASP Tags

[OK] ASP-style tags are disabled

Checking connectivity…

[OK] Can contact outside servers

Checking for SimpleXML module…

[OK] SimpleXML module exists!

Checking file hashes for corrupt or mismatched files

[Checksum failed] /core/templates/schedule\_bids.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/login\_form.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/core\_error.tpl did not match, possibly corrupt or out of date

– Checked 183 files, found 3 errors

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 25, 2011, 1:10am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/7 "2011-03-25T01:10:03Z")

</div>

Those Files I Changed ^^

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [March 25, 2011, 1:48am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/8 "2011-03-25T01:48:47Z")

</div>

Are you still receiving any errors after you re-uploaded those 3 files?

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 25, 2011, 3:18am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/9 "2011-03-25T03:18:24Z")

</div>

> What do you have this set to in local.config.php?
> 
> SIGNATURE\_FONT\_PATH
> 
> you you have the following file? This is the standard Font for signatures.
> 
> /lib/fonts/tahoma.ttf

No I dont See It In Local Config

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [March 25, 2011, 4:04am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/10 "2011-03-25T04:04:15Z")

</div>

app.config.php

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 25, 2011, 1:38pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/11 "2011-03-25T13:38:26Z")

</div>

it is

take a look at it [http://canadianairvirtual.ca/lib/signatures/CAA0001.png](http://canadianairvirtual.ca/lib/signatures/CAA0001.png) creates the copyright and flag

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [March 26, 2011, 1:10am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/12 "2011-03-26T01:10:04Z")

</div>

You can try clearing your cache in the Admin Center (Maintenance Options) then Regenerate the Signatures (same place) and see if they show up. If not, come back ad let us know.

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [March 26, 2011, 1:28am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/13 "2011-03-26T01:28:40Z")

</div>

> You can try clearing your cache in the Admin Center (Maintenance Options) then Regenerate the Signatures (same place) and see if they show up. If not, come back ad let us know.

I think Jeff’s suggestion is good idea because you have bulky files.

By the way, this post was sent from my new iPad 2

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 26, 2011, 10:18pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/14 "2011-03-26T22:18:15Z")

</div>

Nope

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 28, 2011, 2:34pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/15 "2011-03-28T14:34:22Z")

</div>

Can Anyone Help

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [March 28, 2011, 2:52pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/16 "2011-03-28T14:52:03Z")

</div>

Honsely, I have no idea what is jacking up when it generates siggys.

But can you run the install check at /install/checkinstall.php and post the output of it.

---

<div class="post-metadata">

**Author:** ![deactivated](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@deactivated](https://forum.phpvms.net/u/deactivated)\
**Post date:** [March 28, 2011, 3:18pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/17 "2011-03-28T15:18:57Z")

</div>

> phpVMS Virtual Airline Administration Software
> 
> Install Check
> 
> phpVMS Build Number: 934
> 
> Checking PHP version
> 
> [OK] PHP version is 5.3.5.x
> 
> ASP Tags
> 
> [OK] ASP-style tags are disabled
> 
> Checking connectivity…
> 
> [OK] Can contact outside servers
> 
> Checking for SimpleXML module…
> 
> [OK] SimpleXML module exists!
> 
> Checking file hashes for corrupt or mismatched files
> 
> [Checksum failed] /core/templates/schedule\_bids.tpl did not match, possibly corrupt or out of date
> 
> [Checksum failed] /core/templates/login\_form.tpl did not match, possibly corrupt or out of date
> 
> [Checksum failed] /core/templates/core\_error.tpl did not match, possibly corrupt or out of date
> 
> – Checked 183 files, found 3 errors

There

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [March 28, 2011, 11:43pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/18 "2011-03-28T23:43:36Z")

</div>

What are your folder permissions for that, also what error are you getting now?

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 28, 2011, 11:44pm UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/19 "2011-03-28T23:44:24Z")

</div>

Your server might not support it

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [March 29, 2011, 12:06am UTC](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349/20 "2011-03-29T00:06:44Z")

</div>

> Your server might not support it

That’s what I was thinking about Nabeel.

I helped him with everything and I did everything to tell him and it doesn’t suddenly work.

[Next page](https://forum.phpvms.net/t/get-this-error-when-re-gennerating-signatures/4349.md?page=2)
