Jump to content

signatures


STARs

Recommended Posts

continiously getting this error while generating signatures:

Warning: imagestring() expects parameter 2 to be long, string given in /xxxxxxxx/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /xxxxxxxx/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /xxxxxxxx/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /xxxxxxxx/core/common/PilotData.class.php on line 1054

PLEASE ASSIST ASAP.

Link to comment
Share on other sites

Use an absolute url for your rank images, not a relative. This is what has been causing this error when the script trries to include them in the pilot signature on most sites.

Didnt work.

This was all fine before our host upgraded php to 5.2.6

i think its some issue with php 5.2.6 but to fix it?

Link to comment
Share on other sites

Warning: imagestring() expects parameter 2 to be long, string given in /xxxxxxxx/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /xxxxxxxx/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /xxxxxxxx/core/common/PilotData.class.php on line 1054

Warning: imagestring() expects parameter 2 to be long, string given in /xxxxxxxx/core/common/PilotData.class.php on line 1054

help!!!!

Link to comment
Share on other sites

  • Administrators

Again, here is the solution that has fixed this 99% of the time I have run into it;

http://forum.phpvms....ms-errors-help/

There is also another solution that seemed to help some depending on the hosting/php platform which may be what you are running into here as more hosts migrate to newer php versions;

http://forum.phpvms....ting-a-warning/

There are also all these threads when you search you can probably get some info out of;

http://forum.phpvms....erregistration/

http://forum.phpvms....ature-problems/

http://forum.phpvms....gitration-help/

http://forum.phpvms....log-data-error/

http://forum.phpvms....b-using-phpvms/

Link to comment
Share on other sites

My apologies.

Use this..

imagestring($img, (int)$font, $xoffset, $currline, $output[$i], $textcolor);

The above change did solve it however theres another problem now the font color and style and size iv set in appconfig does not work in signatures it shows a very small font size and a weird font style.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...