Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Transfer Website from Webhost to Webhost/MAMP

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

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

Page: 1
Go to End
Author Topic: 2170 Views
  • Macello
    Avatar
    Community Member
    37 Posts

    Transfer Website from Webhost to Webhost/MAMP Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Transfer Website from Webhost to Webhost/MAMP Link to this post

    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

  • Macello
    Avatar
    Community Member
    37 Posts

    Re: Transfer Website from Webhost to Webhost/MAMP Link to this post

    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!

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Transfer Website from Webhost to Webhost/MAMP Link to this post

    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

  • Macello
    Avatar
    Community Member
    37 Posts

    Re: Transfer Website from Webhost to Webhost/MAMP Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Transfer Website from Webhost to Webhost/MAMP Link to this post

    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 .

  • Macello
    Avatar
    Community Member
    37 Posts

    Re: Transfer Website from Webhost to Webhost/MAMP Link to this post

    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".

    2170 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.