php - MAMP- Local Server shows only a blank page instead of the site pages -


i on mac osx 10.6.5 & have mamp installed on machine. have had website developed third party trying set on local server. developer has given me sitesettings.php use here. when start local server, see blank page. setting highly appreciated.

here siteconfig.php:

<?php  #$application = $_server['http_host'];  $application = "local";   if ($application == "local"){    define("hst","localhost");    define("usr","root");    define("pwd","root");    define("dbn","fs");    define("dbtype","mysql");    #define("siteroot",      "http://".$_server['http_host']."/fs");    define("siteroot",       "http://localhost:8888/fs/test");    #define("abspath",       "/opt/lampp/htdocs/fs");    define("abspath",        "/applications/mamp/htdocs/fs/test");     define("smt_templates",  abspath."/templates");    define("smt_templates_c",    abspath."/templates_c");    define("smt_config",     abspath."/configs");      }      #the following connection web server     else{    define("hst",            "");    define("usr",            "");    define("pwd",            "");    define("dbn",            "");    define("dbtype",     "");    define("siteroot",       "");    define("siteroot1",      "");    define("abspath",        "");     define("smt_templates",   abspath."/templates");    define("smt_templates_c",    abspath."/templates_c");    define("smt_config",     abspath."/configs");    //echo abspath;exit;   }   ?> 

try dropping shell , tail error logs;

tail -f /applications/mamp/logs/apache_error.log 

and/or

tail -f /applications/mamp/logs/php_error.log 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -