EasyXLS
http://forum.easyxls.com/

[SOLVED] Out of present range
http://forum.easyxls.com/viewtopic.php?f=9&t=2242
Page 1 of 1

Author:  urielmx [ Mon Jul 23, 2018 10:57 am ]
Post subject:  [SOLVED] Out of present range

I ran example 05 "as is" with PHP and I get an error with the color values: Uncaught com_exception: Error [0x8002000a] Out of present range in ..Tutorial05.php on line 42

How can I solve this?

Author:  oana [ Tue Jul 24, 2018 5:55 am ]
Post subject:  Re: Out of present range

Hi Uriel! It must be a 32 bit - 64 bit mismatch. Please open "Color.inc" file that you can find in "<EasyXLS installation path>\COM+ version\Tutorials\PHP tutorials" and modify it as below

$COLOR_GRAY = 0x808080;

should be

$COLOR_GRAY = 0xff808080;

Author:  urielmx [ Tue Jul 24, 2018 8:34 am ]
Post subject:  Re: Out of present range

Thanks, I did the opposite cause it was already in 0xff format and it worked. (My system has 64bit)

Author:  oana [ Wed Jul 25, 2018 5:34 am ]
Post subject:  Re: [SOLVED] Out of present range

Perfect! You are very welcome, Uriel!

Page 1 of 1 All times are UTC - 4 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/