Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Transfer Website from Webhost to Webhost/MAMP


Reply

7 Posts   2179 Views

Avatar
Macello

7 September 2008 at 7:16am Community Member, 37 Posts

Hello Everybody, i'm happy to be here in the forum of that amazing CMS!

But i need help, to transfer the whole website to another server/host, but first i want to copy it to my Mac into MAMP.
I copied the whole folder of SilverStripe into htdocs in MAMP, and exported the Database out of the webhost, the code i Copy/Pasted in MAMP to create a new Database. Result was a clean white page, something must be there, it doesen't shows "site not found"

some informations: i put some files including "index.php and html" into a subfolder named temp, on the server and renamed "tutorial" into "swissfs" the site is still working well, as it didn't worked on MAMP, i moved the files back and renamed back, but no change, stite still doesn't appears.

Somebody please can tell me how to change the server of the site? after MAMP i will need to move the site to another host to.

Thanks already,

Macello

Avatar
Willr

7 September 2008 at 11:33am Forum Moderator, 5511 Posts

By Default MAMP ships with 16mb of PHP memory and SilverStripe needs at least 32mb. (I would recommend 64mb+). Make sure you can install SilverStripe on MAMP normally first by downloading a copy of ss and setting it up on mamp and see if everything works.

Failing that check your php_error.log file and see if there is anything in that

Avatar
Macello

7 September 2008 at 11:20pm (Last edited: 7 September 2008 11:41pm), Community Member, 37 Posts

Yes, i installed SS on MAMP already, everything is working great, so i thought i could import the files of the db on my host by draggin them into the htdocs folder of MAMP, so the .htacces file was copied too. the error i belive who causes the problem is, that MAMP gives me root as name, and on my server i needed to give another name for the db user, because root was already given.
In MAMP i added another user named same as the one on my host, but no changes, still the clear site. i tried to delete root, and only leave the new user, but then MAMP didn't worked anymore...

willr: i like the design of your site Andy Of Neiall alot!

Avatar
Willr

8 September 2008 at 11:49am Forum Moderator, 5511 Posts

Thanks!

If it just shows a white page then I doubt it is a database issue as SilverStripe should be able to pick that up and report it as being incorrect.

Next thing you could try to do is check the MAMP error logs in the /Appilcations/MAMP/logs/php_error.log file. That might give you a clue as to whats wrongs

Avatar
Macello

15 September 2008 at 3:40am Community Member, 37 Posts

Ok i think the problem is, that i am not able to download some files because serverside created files are under user apache, and i have no rights for them! why this? what can i do?

Avatar
Willr

15 September 2008 at 2:58pm Forum Moderator, 5511 Posts

so you need to change the permissions on files you downloaded to MAMP??

You can open up Terminal and type

- Go into your site by typing

cd /Location/of/your/files/

- Change the owner by typing

chown -R username .

Avatar
Macello

15 September 2008 at 6:42pm Community Member, 37 Posts

No it isn't that simple, i can't even download them because the owner is the server of my webhost! it says, "Permission denied" Owner is "Apache".