![]() |
[Solved] Blank page on new server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [Solved] Blank page on new server (/showthread.php?tid=7920) Pages:
1
2
|
[Solved] Blank page on new server - El Forum - 04-27-2008 [eluser]kilishan[/eluser] I'm working on a site over at appssavvy.net. Using 1.6.1. Developing on OS X. Everything is working fine on the test site. On the server all I get is a blank screen. Though it's having problems locating custom libraries, etc. But one thing at a time ![]() When run from the command line on the server, it displays the page just fine. No errors. However, through the browser all I get is a blank page. It's set to show all errors. In the index.php file I turned on display_errors. Still nothing. When I run a test.php file in the same directory, it runs the phpinfo() command just fine. You can look at it at http://www.appssavvy.net/test.php if that will help. If it helps, it originally said that Undefined index: HTTP_HOST when I was using that variable to set the base_url. Basically, I'm a developer, not a sysadmin, and yet somehow I've been put in charge of this dedicated server. Aargh. Any help on this would be greatly appreciated because every day I'm fighting this problem I'm falling behind schedule. [EDIT] Forgot to mention server stats: PHP 5.2.5, Apache 2.0.63. [Solved] Blank page on new server - El Forum - 04-27-2008 [eluser]gtech[/eluser] is your $config['base_url'] set to 'http:/http://www.appssavvy.net/' ? do you have any .htaccess files (guessing not)? is your $config['index_page'] set to 'index.php'? If I was in your shoes I would try (if it helps): check to see if any white spaces are out side the <?php ?> tags in your controller? turning on the log_threshold and setting the log_path in the config file to see if you are getting any meaningfull errors there? [Solved] Blank page on new server - El Forum - 04-27-2008 [eluser]kilishan[/eluser] [quote author="gtech" date="1209368190"]is your $config['base_url'] set to 'http:/http://www.appssavvy.net/' ? do you have any .htaccess files (guessing not)? is your $config['index_page'] set to 'index.php'? If I was in your shoes I would try (if it helps): check to see if any white spaces are out side the <?php ?> tags in your controller? turning on the log_threshold and setting the log_path in the config file to see if you are getting any meaningfull errors there?[/quote] The base_url and index_page in the config are both set. I will be using the .htaccess file once I get things up and running again, but have it disabled for now. Log threshold is set to 4, but no errors show up at all in the log file.... [Solved] Blank page on new server - El Forum - 04-27-2008 [eluser]gtech[/eluser] I know its a bit of a simplistic answer: have you tried putting a fresh copy of CI 1.6.1 in a subdirectory of your install and testing it with a simple controller that has a method echoing 'hello world', don't attempt to autoload anything (and of course remembering to set the default controller) as a blank page is not much to go on. [Solved] Blank page on new server - El Forum - 04-27-2008 [eluser]kilishan[/eluser] Actually, it's perfect timing that you say that since that's what I'm in the middle of. I uploaded a fresh copy, and it worked fine. Now I'm starting to upload small pieces one at a time to see if I can pinpoint what went on. Why is it so easy to overlook the simple answers? ![]() Thanks! [Solved] Blank page on new server - El Forum - 04-27-2008 [eluser]gtech[/eluser] after doing a quick search some people have had problems when loading the database. let us know what your problem was i would be interested to know. [Solved] Blank page on new server - El Forum - 04-27-2008 [eluser]kilishan[/eluser] Yes, that is exactly when it hits. I'll search the boards for that one. [Solved] Blank page on new server - El Forum - 04-27-2008 [eluser]gtech[/eluser] [url="http://ellislab.com/forums/viewthread/56059/P15/"]MYsql not included in php5 distribution prob[/url] [url="http://ellislab.com/forums/viewthread/67528/#355294"]incorrect driver prob[/url] [url="http://ellislab.com/forums/viewthread/75820/"]Mysql binding prob (probably not what your seeing though)[/url] [Solved] Blank page on new server - El Forum - 05-01-2008 [eluser]kilishan[/eluser] gtech - thanks for all of your help on this one. I forgot to post back that changing from the mysqli driver to the mysql driver fixed it up. [Solved] Blank page on new server - El Forum - 05-01-2008 [eluser]gtech[/eluser] oh good glad you got it working. |