Keyword

Little conflict with Joomla Showroom's Registration Pro Component

  • Claudio Fernandez
  • Claudio Fernandez's Avatar Topic Author
  • Offline
  • New Member
More
14 years 4 weeks ago #87525 by Claudio Fernandez
Hi there...If I leave the breadcrumbs on (that's the idea) I get this message in the browser... "Fatal error: Cannot redeclare class Calendar in /home/mbsinc/public_html/current/modules/mod_k2_tools/includes/calendarClass.php on line 33" ...whenever I try to call RegPro component in the frontend.I found that in calendarClass.php, you have a class called "Calendar", and it seems to me that Joomla Showroom is using the same class name for their component, so it cannot be redeclared. All I did is to check if the class already exists before declaring it ( if(!class_exists('Calendar')) { ) ... Now, if  you are using exactly the same class as, I guess I'm OK, but otherwise someone needs to change the name of his class to avoid conflicts...ThanksClaudio

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


Powered by Kunena Forum