0

My current work station is on a Mac OS X using MAMP as my local server, which has PHP 5.4.44 and mySQL configured.

I recently looked into the phpinfo() and made a test site to make sure the PHP was working properly on the server, and my PHP is working correctly. On both of these sites, they're configured in CakePHP and see that it runs a couple of mySQL files. All of the folder system was held in tact during the transfer.

First, how am I able to connect these mySQL files through myPHPAdmin?

Second, I transferred another site from the same server the same way I did the site I'm having trouble show anything on the page. Though many of the core PHP and CSS files were mislinked, the page I just transferred showed some of the items on the page. All of the files are linked properly, so I'm wondering what solutions to try.

Any ideas or suggestions is appreciated! This is my first time messing with purely a CakePHP built website so I apologize if I'm not clear in this explanation.

Abriel
  • 581
  • 1
  • 10
  • 33
  • Have you got error reporting turned on? – Lix Nov 07 '12 at 17:58
  • @Lix I'm not sure how to do that with MAMP. Usually, I use WAMP to do a lot of this, but have to use MAMP for testing. – Abriel Nov 07 '12 at 18:11
  • Checkout [this part of the documentation](http://php.net/manual/en/function.error-reporting.php) and also perhaps [this answer](http://stackoverflow.com/a/6575502/558021). It's nothing to do with the server, just a setting for PHP. – Lix Nov 07 '12 at 18:15
  • @Lix Thank you for the resources! :) I looked at those and it definitely helped. I wanted to provide this page as well, for anyone that's looking to turn on error reporting in MAMP to the link [here](http://gilbert.pellegrom.me/enable-php-error-reporting-in-mamp/). – Abriel Nov 07 '12 at 18:38

0 Answers0