Page 1 of 1

Project does not work on Production Server

Posted: Fri Oct 18, 2013 7:39 am
by marshallrwilson

I am new to PHPMaker 10 (trial period). I have created a table maintenance project on our development server (Postgres db). It works fine. I have copied the project directory structure to our production server and changed the database connection values. When I attempt to run the project, I get a blank browser screen. I know that it is running the index.php, because I can put an 'echo' call in that file and see it in the browser. Any help would be appreciated.
Thanks MRW


Re: Project does not work on Production Server

Posted: Fri Oct 18, 2013 9:31 am
by danielc

A blank page ususally means there is PHP error. Configure your php.ini to show all errors.


Re: Project does not work on Production Server

Posted: Fri Oct 18, 2013 11:43 am
by mobhar

Also, activate the Debug mode in the generated web app. Find the following code in your generated "ewcfg*.php" file:
define("EW_DEBUG_ENABLED", FALSE, TRUE); // TRUE to debug

change it become:
define("EW_DEBUG_ENABLED", TRUE, TRUE); // TRUE to debug

as this will show any SQL error that could be happened.