STARs Posted October 10, 2013 Report Share Posted October 10, 2013 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. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 10, 2013 Administrators Report Share Posted October 10, 2013 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. Quote Link to comment Share on other sites More sharing options...
STARs Posted October 11, 2013 Author Report Share Posted October 11, 2013 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? Quote Link to comment Share on other sites More sharing options...
STARs Posted October 13, 2013 Author Report Share Posted October 13, 2013 bump. Quote Link to comment Share on other sites More sharing options...
STARs Posted October 14, 2013 Author Report Share Posted October 14, 2013 Sorry for the bump again but no one>>??? Quote Link to comment Share on other sites More sharing options...
STARs Posted October 16, 2013 Author Report Share Posted October 16, 2013 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!!!! Quote Link to comment Share on other sites More sharing options...
STARs Posted October 20, 2013 Author Report Share Posted October 20, 2013 Please help! Quote Link to comment Share on other sites More sharing options...
STARs Posted October 21, 2013 Author Report Share Posted October 21, 2013 No one? Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted October 21, 2013 Members Report Share Posted October 21, 2013 How can we help you ? We will need the PilotData.class.php file and a link to your site Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 21, 2013 Administrators Report Share Posted October 21, 2013 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/ Quote Link to comment Share on other sites More sharing options...
STARs Posted October 21, 2013 Author Report Share Posted October 21, 2013 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.