lad1337 / xem

codeigniter based web app to map epsiodes and shows across websites
19 stars 8 forks source link

xem + xampp 1.8.3+ #11

Open thezoggy opened 9 years ago

thezoggy commented 9 years ago

the current XEM code needs PHP version <= 5.5 due to the version of CI used. For 5.6 you need to manually apply the fix: http://stackoverflow.com/questions/26463011/yosemite-mamp-pro-codeigniter-errors

thezoggy commented 9 years ago

In xampp 1.8.3 (php 5.4) short_open_tag in php.ini is now set to Off instead of On. Thus this results in XEM failing with: Fatal error: Call to undefined function getShows() in C:\xampp\htdocs\xem\application\core\MY_Controller.php on line 19

You need to change short_open_tag to On and it so far appears to make it work just fine in php 5.6.

thezoggy commented 9 years ago

5.6 applied to repo + site. short tags can be 'fixed' in CI automatically with a rewrite on the fly.. but ideally we should work towards removing them.. will leave open until i get that finished