Welcome Guest, Not a member yet? Register   Sign In
Codeigniter WIndows Apache IIS PHP (display source code partially on page)
#1

[eluser]bpics[/eluser]
Hi guys,

First of all, thanks for your help. I recently need to migrate my development environment from Mac to Windows, and everything was working on Mac (Codeigniter, MySQL, Apache...), but when it was transferred to Windows, it's working, but with some problem.
I first started setting up the Windows environment with IIS, that I have IIS 7.5, with FasCGI, and URI Rewrite, I can see the site is up and running, but the display is strange, that it displays part of the source code from php file, ie.
at the home page (actually each page), it displays
load->view('home/header');
some error message complaining of the undefined variable error (I defined this variable in the controller home)
some html code here
...
load->view('home/footer');

Then I thought it was something IIS not working, then I removed this site from IIS, downloaded Apache and configured everything properly, then the same look page displayed.

I then thought something wrong with manual setup for Apache, PHP, etc, so I downloaded XAMPP (a bundle with PHP, Apache, MySQL,etc), after I configured it properly, same look page displayed...

It looks to me that the variable $this has no value somehow in the controller, or in other words, the Codeigniter is not functioning properly, although I can even login into my site without any css... (database seems working)

So is there any had similar problem, or know anything about this? thanks
Please let me know if you guys need any further information


Messages In This Thread
Codeigniter WIndows Apache IIS PHP (display source code partially on page) - by El Forum - 07-16-2014, 07:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB