Adding Databases and public_html folders (no MySql knowledge)
Permalink
Folks,
I have installed concrete5 on local host using wamp on windows 7 64 bit machine and now I would like add our databases and public html folder to it. What do I need to do to ensure a seamless transfer of our website to the concrete5 install. I also noticed that there is a concrete folder in the public_html folder.
any help greatly appreciated.
Also I am not at all familiar with MySQL or apache or php
kind Regards,
Anthony.
I have installed concrete5 on local host using wamp on windows 7 64 bit machine and now I would like add our databases and public html folder to it. What do I need to do to ensure a seamless transfer of our website to the concrete5 install. I also noticed that there is a concrete folder in the public_html folder.
any help greatly appreciated.
Also I am not at all familiar with MySQL or apache or php
kind Regards,
Anthony.
Hi Cherrycake,
thank you for your reply, First I do think it is a concrete site as there is a concrete folder within the public_html folder and plus when I log into the website dashboard it is exactly the same as the concrete dashboard except for the logo in the left hand corner which I presume was changed by the developer. I tried your advice but unfortunately I was not able to do it. I have the db's imported already through the phpmyadmin panel. I copied the public_html folder like you said but it keeps redirecting back to the live site. I am a complete novice at this but have been made responsible for getting this to work.
Kind Regards,
Anthony.
thank you for your reply, First I do think it is a concrete site as there is a concrete folder within the public_html folder and plus when I log into the website dashboard it is exactly the same as the concrete dashboard except for the logo in the left hand corner which I presume was changed by the developer. I tried your advice but unfortunately I was not able to do it. I have the db's imported already through the phpmyadmin panel. I copied the public_html folder like you said but it keeps redirecting back to the live site. I am a complete novice at this but have been made responsible for getting this to work.
Kind Regards,
Anthony.
i forgot to mention one thing which should explain the redirection.
in the config folder at the top level there should be a file called site.php. in this file there should be a BASE_URL property. change this to the local url you're using and trying to set up.
in the config folder at the top level there should be a file called site.php. in this file there should be a BASE_URL property. change this to the local url you're using and trying to set up.
if so, open up command prompt and type
mysql -uroot -p[your root pass] [your new concrete database you specified when installing concrete] < [path to your .sql backup of the site database you're trying to copy]
after that replace the contents of the concrete5 folder with the contents of your "public html" contents.
if it's not a concrete site, you will need rebuild the site using concrete, i.e. apply page types, css etc and then create the site structure and paste in content etc.