I have set up Craft on my local computer and now wish to move it online. However, I am having some difficulty doing this.
I have tried this method: Migrating a whole website between Craft instances, but with no success. By no success I mean that none of my entries, assets, fields or sections are transferred over.
In terms of transferring the database, I tried downloading it via the Settings page and uploading it via phpmyadmin. Nothing got transferring. I then tried downloading the database from the original site via phpmyadmin and uploading it to my new site (again via phpmyadmin, after having dumped all the tables). Again, nothing was transferred.
I also have tried using various plugins to transfer fields, sections and entries with partial success (but with a lot of manual work left to do).
There must be some way to easily transfer/migrate a site.
Basically, I have my entries, assets, fields and sections which I want to transfer from one site to another without having to manually set everything up again.
How can I do that?
Thanks,
Moshe
ADDITIONAL INFORMATION I wrote that I am ready to move the site online, but what I did was to first set up ANOTHER Craft site on my local server so that I could make sure that I got the process of transfer done properly and then transfer online.
It is to that second install of Craft that I am trying to transfer my site to and which I am having no success.
In other words, on my local (Windows) computer I have localhost/mysite1 and localhost/mysite2. I have the site set up properly on mysite1 and am trying to transfer it to mysite2.
Similarly, on phpmyadmin I have mysitedb1 and mysitedb2. What I have been doing is selecting mysitedb2, clicking on the Import tab and then importing the sql file. phpmyadmin indicates that the import is successful, but nothing changes on the site itself.
FURTHER UPDATE I did a fresh install, made sure that the db.php file is correct and made sure to transfer ALL of the files from the craft folder. I then downloaded a new database backup file from the settings page of my original install and imported that into the new database for the new install.
So far so good.
I received a message which made it seem like everything went smoothly:
Import has been successfully finished, 2080 queries executed
However, when I look at the tables for the database I do not see any of the new data there. I checked the sql file for the names of some of my entry types and they are in the file, but they do not appear in the entrytypes table (other tables also don't have any of the new data).
Any idea what is going wrong?
craft/config/db.php
to point to the online server. Make sure there is actually an instance of phpmyadmin on your remote server and you're uploading to it... I've made that mistake before (too many phpmyadmins floating around and you reupload to the test server instead of the new one...)