Welcome Guest, Not a member yet? Register   Sign In
Install to localhost
#5

(01-26-2016, 09:04 AM)nairb Wrote: New to codeigniter.   I have a new website that is running codeigniter, developed by someone else.  I'm taking over the site, and would like to set it up locally, on a windows PC, for testing and further development.

I have set up an Apache24 server in my root on C drive.  It conflicted with my IIS server and wouldn't run so I have it listen on 127.0.0.1:122  and it now works (I found to do this on another forum).

I have downloaded the site, via FTP, to the htdocs directory.  All I get when attempting to display the site is a blank page.  I made some test pages in php and html and those will come up okay.

I've changed the base_url to a few things, like "$config['base_url']    = 'http://127.0.0.1:122/';" and other variations but all I continue to get is a blank page.  I've tried to turn logging on in php.ini but the only information that comes up in the error.log file is start up/shutdown server information.

Any ideas or thoughts on what I can do to get this running?

Sounds like error reporting isn't set to maximum in PHP. Do you have these lines in php.ini?
Quote:error_reporting = E_ALL
display_startup_errors = On
display_errors = On
log_errors = On

A blank page in PHP generally means some kind of syntax error that prevents PHP from even parsing the script. You can set error reporting in the code itself, but that won't prevent blank screens because the code with the error reporting never gets executed. The error aborts execution before it really starts.
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
Reply


Messages In This Thread
Install to localhost - by nairb - 01-26-2016, 09:04 AM
RE: Install to localhost - by skunkbad - 01-26-2016, 11:12 AM
RE: Install to localhost - by nairb - 01-26-2016, 11:24 AM
RE: Install to localhost - by josepostiga - 01-26-2016, 10:42 PM
RE: Install to localhost - by RobertSF - 01-27-2016, 01:27 AM
RE: Install to localhost - by Falke - 01-27-2016, 03:05 AM
RE: Install to localhost - by InsiteFX - 01-27-2016, 05:03 AM
RE: Install to localhost - by nairb - 01-27-2016, 08:55 AM
RE: Install to localhost - by RobertSF - 01-27-2016, 12:55 PM
RE: Install to localhost - by josepostiga - 01-27-2016, 09:14 AM
RE: Install to localhost - by nairb - 01-27-2016, 03:43 PM
RE: Install to localhost - by RobertSF - 01-27-2016, 03:52 PM
RE: Install to localhost - by nairb - 01-27-2016, 04:05 PM
RE: Install to localhost - by RobertSF - 01-27-2016, 04:39 PM
RE: Install to localhost - by nairb - 01-27-2016, 05:01 PM
RE: Install to localhost - by InsiteFX - 01-27-2016, 04:18 PM
RE: Install to localhost - by nairb - 01-27-2016, 04:59 PM
RE: Install to localhost - by RobertSF - 01-27-2016, 08:42 PM
RE: Install to localhost - by InsiteFX - 01-27-2016, 08:52 PM
RE: Install to localhost - by nairb - 01-28-2016, 10:27 AM
RE: Install to localhost - by RobertSF - 01-28-2016, 02:15 PM
RE: Install to localhost - by nairb - 01-28-2016, 10:38 AM
RE: Install to localhost - by nairb - 01-28-2016, 11:00 AM
RE: Install to localhost - by nairb - 01-28-2016, 05:12 PM
RE: Install to localhost - by RobertSF - 01-28-2016, 05:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB