• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I am getting <? for all instances of where I expect the PHP to be.

#1
[eluser]Unknown[/eluser]
Hi All.

I recently took an already existing codeigniter site off my hosting provider to my localhost. I have correctly changed the database.php file (or at least I don't have any reported problems). I checked the Logs folder but there is only an index.html file there.

For instance the <title> I am getting from the page source looks like this

Code:
<title><?= $meta_title; ?></title>

It should of course render to
Code:
<title>A nice Page </title>

Even built in items such as
Code:
<?= base_url() ?>
are rendering as
Code:
<?= base_url() ?>resources/css/reset.css
:-(

I downloaded a fresh copy of codeigniter from the codeigniter site, and codeigniter works as expected, so something is amiss with the existing site I downloaded. Dose anyone have any ideas what causes the <? to render instead of the intended php code ?

Thanks a mill,

Daragh


Messages In This Thread
I am getting <? for all instances of where I expect the PHP to be. - by El Forum - 11-15-2012, 12:24 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.