Page 1 of 1

My old script does not work any more...[SOLVED}

PostPosted: 28. October 2011 15:58
by pserru
My old script, which worked so well no longer works. But when I try it in console mode (ICL) all is well! What happens when it is executed by Apache's LAMPP??

Re: My old script does not work any more...

PostPosted: 28. October 2011 16:00
by pserru
I created this topic and I answer to myself because this exerience seems interesting to share.
My machine is powered by a 64-bit processor, and executes PHP Apache LAMPP in 32-bit mode. The script, which until now has always worked in 64 bits, including at the host, no longer works.
So, take care! In my case, the offending line was:
for ($walkBit=0x80000000; !(($walkBit>>1) & $this->oTotInxCnt); $walkBit>>=1);
I simply replaced by:
for ($walkBit=0x40000000; !(($walkBit>>1) & $this->oTotInxCnt); $walkBit>>=1);
This "limitation" is not really annoying for me.