I tried to deploy Question2Answer. These are the steps I followed:
- Create PHP 5.4 cartridge
- Create MySQL 5.5 cartridge
- Clone the PHP repo locally and add the contents of question2answer-latest.zip
Create qa-config.php from the example and adapt the MySQL credentials:
define('QA_MYSQL_HOSTNAME', 'getenv("OPENSHIFT_MYSQL_DB_HOST")'); // try '127.0.0.1' or 'localhost' if MySQL on same server define('QA_MYSQL_USERNAME', 'taken from cartridge'); define('QA_MYSQL_PASSWORD', 'taken from cartridge'); define('QA_MYSQL_DATABASE', 'taken from cartridge');
Then I pushed the changes and opened the URL to my application. However, all I get is an empty white page.
What am I missing?