Hey everyone,
With the event booker by sim pilot group i get this “error” shown in the attached picture

Hey everyone,
With the event booker by sim pilot group i get this “error” shown in the attached picture

Take a look at the line near the top of /admin/modules/events_admin/Events_admin.php that looks something like:
$this->set('sidebar', 'events/sidebar_events.php');
Make sure the ending “.php” matches the type of template you are using, most likely it needs to be “.tpl”
Thanks for the reply, I will do that
I still have a problem, I change the code to this:
$this->set('sidebar', 'events/sidebar_events.tpl’);
I am using .tpl. It says /events/sidebar_events.tpl does this mean I need to put the tpl in the event admin as well templetes. Also when I do this I get this error
Parse error: syntax error, unexpected '>' in /home/wwwbafsv/public_html/admin/modules/Events_admin/Events_admin.php on line 21
I get this in all of the admin centre so what do I do, im not sure. I will change it back to .php so i can use the site
It looks like you have made a change to the code that has caused a php error. Try to only replace the “php” with “tpl” and save the file.
works fine!! thank you!!!
Worked like a charm!
Steps :
Copy all files in /admin/modules/Events_admin/ (All .php, copy all files to .tpl format into the same folder)
Edit the Events_admin.php in /admin/modules/Events_admin/ : Change “$this->set(‘sidebar’, ‘events/sidebar_events.php’);” (Line 15 in default) to “$this->set(‘sidebar’, ‘events/sidebar_events.tpl’);”
Again worked! Thanks so much!