OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Hex Number is too big 0x1000000001

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

Hex Number is too big 0x1000000001

Postby iluber » Mon Nov 16, 2009 11:02 am

I think I have found a bug in OCS 2.1.2 at the end of the registration process if php 4.4.9 is used (but for what I have found on the internet this should be a problem with every PHP version under 5).

I have also found a possible workaround.

When the registration form is submitted the user is alway redirected to the form itself and three notices are shown:

Hex Number is too big 0x1000000001 in ...../classes/registration/form/UserRegistrationForm.inc.php on line 19

Hex Number is too big 0x1000000002 in ...../classes/registration/form/UserRegistrationForm.inc.php on line 20

Hex Number is too big 0x1000000003 in ...../classes/registration/form/UserRegistrationForm.inc.php on line 21

The effect is that even if registration was correctly completed and paid using PayPal , the registration is not correctly recorded and date paid field is not updated in the db.

The three notices refer to three constant values declaration.
The (really simple) workaround is to modify the definition of the constants to

define('REGISTRATION_SUCCESSFUL', 1);
define('REGISTRATION_FAILED', 2);
define('REGISTRATION_NO_PAYMENT', 3);

I think i a bug because in the system requirements of OCS, minimum PHP version required is : 4.2.x

Let me know if you need a bugzilla entry to be submitted and keep on the great work

Kind regards
iluber
 
Posts: 30
Joined: Wed May 14, 2008 8:11 am
Location: Pisa, Italy

Re: Hex Number is too big 0x1000000001

Postby RickMath » Tue Nov 17, 2009 3:00 pm

I am having the exact same problem. We are about to open registration for our conference and I know the error msgs that appear at the top will result in endless emails to me.

Have the proposed workarounds been tested? Do they work OK. We too are running 2.1.2 I am not sure what version of php is running nor can we change it.

Please let me know ASAP as we would like to open our registration on 11/30/09

Thanks

Rick
RickMath
 
Posts: 245
Joined: Fri Feb 27, 2009 12:30 am

Re: Hex Number is too big 0x1000000001

Postby iluber » Tue Nov 17, 2009 3:46 pm

I'm a consultant and made this modification for my customer.
We tested it but without using paypal payment.
That because my customer had the ability to ask his provider to upgrade PHP version on the server.
But I'm sure it would work also for paypal mayment, having seen and changed the code.

If you need more help let me know
iluber
 
Posts: 30
Joined: Wed May 14, 2008 8:11 am
Location: Pisa, Italy

Re: Hex Number is too big 0x1000000001

Postby RickMath » Tue Nov 17, 2009 4:37 pm

Thanks. I assume that these changes need to made in ...../classes/registration/form/UserRegistrationForm.inc.php

Rick
RickMath
 
Posts: 245
Joined: Fri Feb 27, 2009 12:30 am

Re: Hex Number is too big 0x1000000001

Postby RickMath » Tue Nov 17, 2009 6:41 pm

It works in the PayPal account the errors listed are no longer appearing at the top of the registration page.

Thanks for you contribution of this fix. I definetely would initiate a bug for the next version of OCS.

Rick
RickMath
 
Posts: 245
Joined: Fri Feb 27, 2009 12:30 am

Re: Hex Number is too big 0x1000000001

Postby RickMath » Tue Nov 17, 2009 7:06 pm

:D

It appears that this bug has been fixed in OCS 2.3

I just tested it and received no error.

Rick
RickMath
 
Posts: 245
Joined: Fri Feb 27, 2009 12:30 am

Re: Hex Number is too big 0x1000000001

Postby iluber » Wed Nov 18, 2009 12:14 am

You are welcome

RickMath wrote:It works in the PayPal account the errors listed are no longer appearing at the top of the registration page.

Thanks for you contribution of this fix. I definetely would initiate a bug for the next version of OCS.

Rick
iluber
 
Posts: 30
Joined: Wed May 14, 2008 8:11 am
Location: Pisa, Italy


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest