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?
Last edited by urielmx on Tue Jul 24, 2018 8:34 am, edited 1 time in total.
Mon Jul 23, 2018 10:57 am
oana
Joined: Wed Nov 07, 2007 4:42 am Posts: 67
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;
Tue Jul 24, 2018 5:55 am
urielmx
Joined: Thu Jul 19, 2018 1:43 pm Posts: 3
Re: Out of present range
Thanks, I did the opposite cause it was already in 0xff format and it worked. (My system has 64bit)
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum