Reputation: 503
I copied my live Codeigniter project to my local machine to make development a little easier, but it's not displaying right. NO changes have been made, so I am not sure why this is happening? It almost acts like it cant read from the database, but the listings on the bottom come from a select query so I feel like thats not the case..
I am using Windows 10 IIS with PHP.
Live site: http://beta.btcbidder.com/
Upvotes: 0
Views: 151
Reputation: 746
You can also use .htaccess for the same
<IfModule mod_php5.c>
php_value short_open_tag 1
</IfModule>
Upvotes: 0
Reputation: 3285
There may be something wrong with your php tags because of the raw output in your image above. This could be down to the use of shorthand php tags which are generally considered bad practice.
<? ?> & <?= ?>
Shorthand php tags are disabled on some server configurations so for this reason it is best to use a templating engine or at least use the full php markup.
Do a find and replace and replace all <? ... ?>
or <?= ?>
tags with the full php tags <?php ... ?>
Upvotes: 2