Hi,
I think this is related to the latest xampp package with php 5.3 and the GD library. The error occurs on a fresh install of 1.38a with this package and not with 5.2.9.
In admin, tools, Banner Manager there are multiple warnings along the lines of
Screenshot here:Warning: imagefontheight() expects parameter 1 to be long, string given in D:\....\httpdocs\zen138a\admin\includes\classes\phplot.php on line 686
[SCR]http://www.torvista.com/banner_error.gif[/SCR]
All the errors are referencing the use of the same variable $which_font which gets passed to the function DrawText.
I cannot find any other file (outside of phplot.php) that makes a call to this function and so don't know where this variable is coming from to know how it is created. In either case the echo value of $which_font is 4.
On the web the only identical report is in the oscommerce forums:
forums.oscommerce.com/topic/348579-error-message-in-banner-manager/
where the guy has copied a replacement phplot.php from the german forum:
forums.oscommerce.de/lofiversion/index.php?t70562.html
I compared this file with the original oscommerce version and all the originator has done is remove the lines that were causing the error!!
I can find reference to similar messages related to the use of the GD library but those waters are too deep for me....
So, here I am for help.
Server Info 5.2.9 pdf
Server Info 5.3.0 pdf
thanks
Steve
Bookmarks