Error running Trongate App
3 years ago
3 years ago
#1
Parse error: syntax error, unexpected '|', expecting '{' in /Applications/XAMPP/xamppfiles/htdocs/app1/engine/tg_helpers/url_helper.php on line 135
3 years ago
#2
This is because of php 7 vs php8.
See this post.
https://trongate.io/help_bar_threads/display/Vxfma5atJCjTwzmS
and this post
https://trongate.io/help_bar_threads/display/FdymdkNyMhBk8yhM
Dan
See this post.
https://trongate.io/help_bar_threads/display/Vxfma5atJCjTwzmS
and this post
https://trongate.io/help_bar_threads/display/FdymdkNyMhBk8yhM
Dan
3 years ago
#3
thank you for the info
3 years ago
#4
Hi hadji, could you please close off this thread with Dan being awarded his rightful points?
DC, if you happen to read this, it might be a good opportunity to update the GitHub Trongate repo README.md to add PHP8+ as a mandatory requirement and/ or add a version check in engine/ignition.php as the helpers are loaded to alert users on the Welcome page.
Just a thought, as we are getting more new Trongate users running PHP 7.x being presented with an error message they don't understand...
DC, if you happen to read this, it might be a good opportunity to update the GitHub Trongate repo README.md to add PHP8+ as a mandatory requirement and/ or add a version check in engine/ignition.php as the helpers are loaded to alert users on the Welcome page.
Just a thought, as we are getting more new Trongate users running PHP 7.x being presented with an error message they don't understand...