Reply to topic  [ 4 posts ] 
[SOLVED] Out of present range 
Author Message

Joined: Thu Jul 19, 2018 1:43 pm
Posts: 3
Reply with quote
Post [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?


Last edited by urielmx on Tue Jul 24, 2018 8:34 am, edited 1 time in total.



Mon Jul 23, 2018 10:57 am
Profile

Joined: Wed Nov 07, 2007 4:42 am
Posts: 67
Reply with quote
Post 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
Profile WWW

Joined: Thu Jul 19, 2018 1:43 pm
Posts: 3
Reply with quote
Post Re: Out of present range
Thanks, I did the opposite cause it was already in 0xff format and it worked. (My system has 64bit)


Tue Jul 24, 2018 8:34 am
Profile

Joined: Wed Nov 07, 2007 4:42 am
Posts: 67
Reply with quote
Post Re: [SOLVED] Out of present range
Perfect! You are very welcome, Uriel!


Wed Jul 25, 2018 5:34 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.