I've been struggling to get this up and running for a couple of hours now and I'm hoping that you guys can help me out. I'm using PHP 5.3 with Apache 2.2 and trying to set up FuelCMS on it.
I just tried the exact same setup of php, apache, and fuelcms on another computer and I get the same blank pages.
I noticed another thing that's strange. When $config['fuel_mode'] = 'views'; I can navigate to http://localhost:8080 and get the "Welcome to Fuel CMS" page. However, when I change the value to $config['fuel_mode'] = 'AUTO'; even http://localhost:8080 gives me a blank page.
I wonder if an issue with the database configuration could cause the problem I'm seeing.
Great News! I've got everything up and running now.
It turned out to be a connection issue with the mysql database. For some reason, those blank pages didn't show any database connection errors which made this problem difficult to troubleshoot.
If you read my previous post, I had a suspicion that there might have been a database connection problem. To test my suspicion, I modified the home page in /application/views/home.php by adding the following line:
<?php mysql_connect("localhost", "root", "secretpassword") or die(mysql_error()); echo "Connected to MySQL<br />"; ?>
So when I navigated to http://localhost:8080/, it displayed an mysql_connect error message which confirmed my suspicion of the database connection issue.
I decided to check my php.ini and I found out that I needed to change:
Comments
You may not need it. I usually set them up under localhost/projectx and need a rewrite base of projectx. Don't use the port.
I'm using the default .htaccess file that comes with the fuel zip package.
http://localhost:8080/index.php/fuel/login
But it also gives me a blank page.
127.0.0.1 - - [21/Aug/2012:09:48:41 -0700] "GET /index.php/fuel/login HTTP/1.1" 200 -
I just tried the exact same setup of php, apache, and fuelcms on another computer and I get the same blank pages.
I noticed another thing that's strange. When $config['fuel_mode'] = 'views'; I can navigate to http://localhost:8080 and get the "Welcome to Fuel CMS" page. However, when I change the value to $config['fuel_mode'] = 'AUTO'; even http://localhost:8080 gives me a blank page.
I wonder if an issue with the database configuration could cause the problem I'm seeing.
It turned out to be a connection issue with the mysql database. For some reason, those blank pages didn't show any database connection errors which made this problem difficult to troubleshoot.
If you read my previous post, I had a suspicion that there might have been a database connection problem. To test my suspicion, I modified the home page in /application/views/home.php by adding the following line:
<?php
mysql_connect("localhost", "root", "secretpassword") or die(mysql_error());
echo "Connected to MySQL<br />";
?>
So when I navigated to http://localhost:8080/, it displayed an mysql_connect error message which confirmed my suspicion of the database connection issue.
I decided to check my php.ini and I found out that I needed to change:
;extension=php_mysql.dll
to:
extension=C:/php/ext/php_mysql.dll
Restarted httpd and everything works great.
Thanks for your time and assistance guys.