Page 1 of 1

Clone a php website on MAMP

Posted: Tue Dec 17, 2013 12:06 am
by rani_149
HI there

I am a newbie to php. I am trying to clone a php site on a my Mac through MAMP. I have copied all folder under the live public_html and the DB (through myphpadmin). I have placed them under a newly created folder under htdocs. Howvever when I try to see it in the browser through localhost, the webpages appear blank. Am I missing something. Do I need to change some configuration files etc?

I have previously managed wordpress and MAMP and it worked. However am having a tough time understanding the php.

If someone could let me know what I am missing, I would appreciate it a lot !

Thanks
Mayura

Re: Clone a php website on MAMP

Posted: Tue Dec 17, 2013 12:40 am
by requinix
Are there any errors? The leading cause of white pages is fatals and parse errors.

Re: Clone a php website on MAMP

Posted: Tue Dec 17, 2013 2:22 am
by rani_149
I just get the 404 URL not found error.

Re: Clone a php website on MAMP

Posted: Tue Dec 17, 2013 2:41 am
by requinix
A 404 isn't the same thing as a blank page.

I'm suspecting this thread and this one are the same problem: not putting the file(s) in the right place...

Re: Clone a php website on MAMP

Posted: Tue Dec 17, 2013 3:13 am
by rani_149
This I am trying to clone a php site on my MAC, do I have to change the _root.php file for the db name and password. I do it in wordpress....but totally new to php.