OS Property support center

OS Calendar error after booking

  • Theodore Hildebrandt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #63115 by Theodore Hildebrandt
OS Calendar error after booking was created by Theodore Hildebrandt
"You have not permission to go to this area"

This is different than the "You do not have permission to go to this area".

After making payment, it seems to redirect to index.php/oscalendar/?id=xx&Itemid=0

Checking the code in com_oscalendar/classes/default.php, if there is no task defined, it defaults to the bookingList function, which checks if the user is an agent:
Code:
if(!HelperOspropertyCommon::isAgent()){ $mainframe->redirect(JURI::root(), JText::_('OS_YOU_HAVE_NOT_PERMISSION_TO_GO_TO_THIS_AREA')); }

This is the only place in the code I could find this error.

This begs the question -- why does it redirect to this page after payment is successful? Everything else is working fine, just this redirection after successful payment is not good.

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

More
9 years 11 months ago #63126 by Mr. Dam
Replied by Mr. Dam on topic OS Calendar error after booking
Hi Theodore,
Can you please submit ticket and select category OS Property, and provide your site url with super admin account, ftp account.. I will check this issue for you.
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan