Undelete an event

  • BillBentley
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #95235 by BillBentley
Undelete an event was created by BillBentley
I accidentally deleted some events in event booking. Is it possible to un-delete them? If so, how?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 3 weeks ago #95242 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Undelete an event
Hello Bill

Unfortunately, we don't have an option for un-deleting events. So if you delete it, you will need to re-create it

Tuan

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

More
9 years 3 weeks ago #95250 by James Riley
Replied by James Riley on topic Undelete an event
If your hosting company provides an automatic backup option, maybe you could get a copy of the database backup from them? If they can only restore a backup in-place, you will lose any registrations that have occurred between backup and restore, but you could make your own backup and recreate those registration records.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

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

  • BillBentley
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #95265 by BillBentley
Replied by BillBentley on topic Undelete an event
Thanks, it won't be a problem to re-create the few I deleted. The events are virtual courses that start as soon as someone pays so there is no real starting date. I tried to create them with no date and it won't let me. The others like that have end dates of 12/31/2099 but it won't let me do that either. I guess I forgot how I did this. Can you tell me how to post an event with no real start date (for us, it starts when we get payment) and no real end date and allows an unlimited number of people? I can set the limit to 999 and that's fine.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 3 weeks ago #95294 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Undelete an event
Hello

Could you try to set the date of the event to 2099-12-31 00:00:00 ? If it doesn't work, maybe it cause by PHP version, so:

1. Open the file administrator/components/com_eventbooking/libraries/rad/bootstrap.php

2. Find this line of code:
Code:
define('EB_TBC_DATE', '2099-12-31 00:00:00');

3. Change it to:
Code:
define('EB_TBC_DATE', '2025-12-31 00:00:00');

4. Then edit event, set the event date to 2025-12-31 00:00:00' and check it again to see whether it works?

Regards,

Tuan

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

  • BillBentley
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #95339 by BillBentley
Replied by BillBentley on topic Undelete an event
Setting the date to 2099-12-31 worked fine. Thank you.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 3 weeks ago #95340 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Undelete an event
Great. Thanks for confirming

Tuan

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

Moderators: Tuan Pham Ngoc