Blank page on server - again |
[eluser]Unknown[/eluser]
Hi there, how apposite, my first post and I’m asking for a help :coolsmile: This is the first time I use CI and application I wrote works perfectly on local windows machine with xampp (with PHP5). But after uploading to UNIX server (with PHP4.3) I get just blank page, without any error or smth. I haven’t use any “only PHP5” statement. I read in several topics here that possible reason could be syntax error in code, so I checked again code and everything seems to be ok, and also if I had syntax errors my application would throw some error on local machine. I checked config.php, routes.php and database.php and I think everything is ok. config.php $config['base_url'] = www.realaddress.com $config['index_page'] = ""; $config['uri_protocol'] = "AUTO"; /* I also tried every other possibility except AUTO, but nothing happen */ $config['enable_query_strings'] = false; $config['compress_output'] = FALSE; $config['rewrite_short_tags'] = TRUE; routes.php $route['default_controller'] = "nekretnine"; $route['login'] = "nekretnine/login"; $route['nekretnine/index'] = "nekretnine"; $route['scaffolding_trigger'] = ""; database.php $active_group = "default"; $db['default']['hostname'] = "real host"; /* double checked with administrators */ $db['default']['username'] = "real username"; /* double checked with administrators */ $db['default']['password'] = "real password"; /* double checked with administrators */ $db['default']['database'] = "real database"; /* double checked with administrators */ $db['default']['dbdriver'] = "mysql"; $db['default']['dbprefix'] = ""; $db['default']['active_r'] = TRUE; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = TRUE; $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = ""; .htaccess <IfModule mod_rewrite.c> Options +FollowSymLinks Options -Indexes DirectoryIndex index.php RewriteEngine on RewriteBase / RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] </IfModule> <IfModule !mod_rewrite.c> # If we don't have mod_rewrite installed, all 404's # can be sent to index.php, and everything works as normal. # Submitted by: ElliotHaughin ErrorDocument 404 /index.php </IfModule> First .htaccess was: Options +FollowSymLinks Options -Indexes DirectoryIndex index.php RewriteEngine on RewriteBase / RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] but that also didn’t work. When I delete .htaccess on server I get same blank page. In index.php file, application folder and system folder are correct. Mod_rewrite is turned off on server and there is no way to get that turned on. I put as a first line in default controller -> index action echo “test”; die(); but I didn’t get that ‘test’ message, so my application don’t reach default controller. I really don’t have any idea what else to try. Can someone please help me somehow? I’m completely beginner with web applications development and I even don’t know how to catch some log messages or similar. :red: Thanks in advance, cheers guys. |
Messages In This Thread |
Blank page on server - again - by El Forum - 12-21-2007, 08:15 AM
Blank page on server - again - by El Forum - 12-21-2007, 03:07 PM
Blank page on server - again - by El Forum - 12-22-2007, 06:32 AM
Blank page on server - again - by El Forum - 02-17-2008, 11:02 AM
Blank page on server - again - by El Forum - 02-17-2008, 11:59 AM
Blank page on server - again - by El Forum - 02-18-2008, 04:15 AM
Blank page on server - again - by El Forum - 03-03-2008, 01:20 AM
Blank page on server - again - by El Forum - 11-05-2008, 09:19 AM
Blank page on server - again - by El Forum - 11-13-2010, 10:15 AM
|