Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: [SOLVED] Error on Payment screen with Paypal and Authorize.net: 0 Invalid numeric literal

[SOLVED] Error on Payment screen with Paypal and Authorize.net: 0 Invalid numeric literal 8 years 4 weeks ago #25803

  • Chris@XtremeSpeed
  • Chris@XtremeSpeed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Just today we ran into a big problem. The Payment screen just returns an error:

0 Invalid numeric literal

Have no idea why this suddenly started happening. Need help, please.

Joomla 3.5.1
DT Register 3.1.7

Using PayPal and Authorize.net. Both have been working flawlessly for a long time.

Steps taken to attempt a fix, but nothing worked:

Roll back Joomla to 3.5.0
Purge DT Register records of all old entries (the table was quite big)
Turn off SEF URLS
Delete test registrations

Clues, fix, please

Please Log in or Create an account to join the conversation.

Last Edit: by nathan.dth.

Error on Payment screen with Paypal and Authorize.net: 0 Invalid numeric literal 8 years 4 weeks ago #25805

  • Chris@XtremeSpeed
  • Chris@XtremeSpeed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Update: this is fixed for us by switching back to PHP 5.6 from PHP 7, thus restoring the payment functionality. Not sure if this resolves the issue, however, because DT Register, purportedly, is compatible with PHP 7. For what it's worth, I stumbled upon the following info regarding PHP 7 in a Wordpress forum under a general web search for "Invalid numeric literal":

"You have discovered a subtle ... defect that wasn't caught in earlier PHP versions. The line in question is an array element definition:

08 => '....',

The leading zero in '08' causes PHP to interpret the numeric constant as an octal number ( base 8 ). Octal digits are limited to 0-7, so the '8' is invalid."

I have no idea how this relates to DT Register, but for sure using PHP 7 crashed DT Register's payment functionality for us.

Please Log in or Create an account to join the conversation.

Last Edit: by Chris@XtremeSpeed.

Error on Payment screen with Paypal and Authorize.net: 0 Invalid numeric literal 8 years 3 weeks ago #25829

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
We have updated the package now to include DT Register 3.1.7a, which addresses an issue introduced with Joomla 3.5.1 that kept registrations from being able to complete.

Regarding PHP 7, we haven't finished testing with that yet so we do not recommend upgrading PHP quite yet.
The following user(s) said Thank You: efnweb

Please Log in or Create an account to join the conversation.

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

Error on Payment screen with Paypal and Authorize.net: 0 Invalid numeric literal 7 years 11 months ago #26020

  • normdouglas
  • normdouglas's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 97
  • Thank you received: 0
Hi Nathan, can I please confirm that DTRegister IS or IS NOT php7 ready?

Please Log in or Create an account to join the conversation.

[SOLVED] Error on Payment screen with Paypal and Authorize.net: 0 Invalid numeric literal 7 years 11 months ago #26021

  • normdouglas
  • normdouglas's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 97
  • Thank you received: 0
Just for anyone else looking for this.
I can confirm that php7 creates the error the OP mentions above.

Rolling back to php5.6 (thanks to cloudlinux & alt-php) and all is well.

This was after updating to DT 3.1.8

Please Log in or Create an account to join the conversation.

[SOLVED] Error on Payment screen with Paypal and Authorize.net: 0 Invalid numeric literal 7 years 9 months ago #26181

  • paul_mcdonald
  • paul_mcdonald's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 55
  • Karma: 1
  • Thank you received: 0
I concur that I have received the same message with DTRegister v3.1.9, joomla 3.6 and PHP7

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.125 seconds