To change all files to read & write on a Mac you select the main site folder, get info, click the lock, type in password, then select read & write , then click the round prompt symbol at the bottom and select "apply to enclosed items", then lock it.
I can see php pages I create. I added the code you suggested and I get this error message:
//WA eCart Include require_once("WA_eCart/BlueSkyCart_PHP.php"); ?>
Warning: require_once(Connections/connBSM.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/store_dynamic_cp_php/detail.php on line 6
Fatal error: require_once() [function.require]: Failed opening required 'Connections/connBSM.php' (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Applications/MAMP/htdocs/store_dynamic_cp_php/detail.php on line 6
I don't have a clue as to why it says there is a connection problem in the browser , because the connection test was successful. I can see all of the database tables inside of dreamweaver.