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

TOPIC: [SOLVED] Payment received but no record of registration

[SOLVED] Payment received but no record of registration 9 years 2 weeks ago #25173

  • timblack1
  • timblack1's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
My client's site is running DT Register 3.1.5a. A user submitted an event registration, PayPal sent an email notifying my client that the user paid for the event registration, but DT Register does not show any record of that user's registration.

When I set Joomla's global configuration "Debug System" to "Yes," and set DT Register's default payment option to "Test" mode, the link from PayPal's sandbox back to the site is as follows:

domain.com/components/com_dtregister/suc...emid=39&task=restore

When I clicked that link, the page at my client's site showed the following error:

Fatal error: Cannot redeclare log1() (previously declared in /path/components/com_dtregister/success.php:77) in /path/components/com_dtregister/success.php on line 84

Is this a bug? Is there anything I can do to avoid this error?

When I looked at the file mentioned in the error message, lines 77-84 read as follows:
function log1($error, $errlvl)
{
  echo "<br/>".$error;
}
function log1($error, $errlvl)
{
  echo "<br/>".$error;
}

That sure looks like a bug to me, and simple to fix - just delete the second function declaration. Assuming this is the right fix, I'll implement and test it.

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

Last Edit: by nathan.dth.

Payment received but no record of registration 9 years 2 weeks ago #25174

  • timblack1
  • timblack1's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Looks to me like this fix worked!

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

[Fixed] Payment received but no record of registration 9 years 2 weeks ago #25180

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
Yes that is an error. We'll be updating the package shortly with this fix and a couple others. Thanks!

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 .
  • Page:
  • 1
Time to create page: 0.473 seconds