Help with moving from localhost MAMP to live site

Permalink
Hello,

I have never moved a conrete5 site from MAMP localhost to a live site. Does anyone have any step by step instructions to help walk me through this process. I can follow directions very well, but I just don't know where to start with this.

Thank you,
-concreteart

 
Steevb replied on at Permalink Reply
Steevb
Are you using a C5 theme, a free theme, your own theme or a packaged theme?

Basically, you just need replicate what you have locally on a live server.

Install C5, then choose a theme, then populate it with your content.

Little more info would be nice.
concreteart replied on at Permalink Reply
Yes, I am using a paid theme (Slate), and also have ecommerce, social icons reloaded, and Add This installed.
foster replied on at Permalink Reply
foster
http://www.concrete5.org/community/forums/customizing_c5/move-a-concrete-5-site-from-test-domain-to-live-domain/#454036

Check this link out. I wrote up the process that I use to move sites from MAMP to the web. If you are upgrading and moving at the same time there is another link in that post that will be of more specific help.

Let me know if you have questions about the process.
concreteart replied on at Permalink Reply
Thank you for this foster. I will give this a shot!
concreteart replied on at Permalink Reply
Hello,

I followed your instructions step by step. When I got to uploading the backups file to the files/backups directory, I had to create the "backups" directory as one was not there and then I uploaded the .sql file. However when I go to the dashboard link nothing, just as it looked after the clean install. I have no idea how to get into it, or log in, etc. Any thoughts?

Thank you,
-concreteart
concreteart replied on at Permalink Reply
Ok, haha nevermind. I just realized I didnt' have the domain synced yet to the nameservers! I'll let you know how to database restore goes! :)
concreteart replied on at Permalink Reply
Ok, I received the following error. Any ideas. I chmod'd the backup.php file to 755 and still received the same error. All directories in the chain are 755.

Warning: chmod() [function.chmod]: Operation not permitted in .../public_html/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php on line 93

Warning: chmod() [function.chmod]: Operation not permitted in .../public_html/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php on line 120

Please help...
concreteart replied on at Permalink Reply
Also, I logged out, and my admin account and password is not working. Not sure if this is because the database did not restore properly but now I have no access to my site (and I tried the forgot password and it said it sent an email, but no email showed up...
foster replied on at Permalink Reply
foster
Let's start with the login problem first.

If you can't receive emails on a password reset there is another way around it. You need to access the link that would normally be in your email.
First, login to your phpMyAdmin and select the database that you are using for the concrete5 installation.
Scroll down till you see a line called "Logs" and click browse.
For the most recent entry, click edit, then look for the link in the email that should have been sent to you.
Copy the link, paste into your browser, and reset your password.
concreteart replied on at Permalink Reply
Alright, I figured out the user/pswd for my phpMyAdmin account...that was fun. I got in and was able to reset my password to the website so I am now back in! :)

Now hopefully you might be able to provide some guidance dealing with that database restore :) Thank you so much for your help so far!

-concreteart
foster replied on at Permalink Reply
foster
Ok. So what's the site looking like now? Like a fresh install or did some of the restore work, or is it in limbo with error messages?
concreteart replied on at Permalink Reply
So everything seems to be there. It was just those errors I received on the restore, I wish I could correct that. Do you need me to go into the file and post what is on the referenced lines in the error message?

Also in the /files directory with all those numbered ...13 files, there were some other files with names (not numbers). Do I need to copy those over?

Thank you for your help.
concreteart replied on at Permalink Reply
Oops, I forgot to add that the banner is not showing on the top of the site.
foster replied on at Permalink Reply
foster
I haven't seen those errors before. If the site seems like it is working well and you can add content to it, I wouldn't spend much time thinking about the errors for now.

As for the files with names not in folders: I've made a lot of C5 sites, and I've never seen files in the file folder that weren't in the numbered folders (like 2313). Do you recognize those files? Are they images from the site, or stuff that isn't used in the site? Nothing from the C5 backend would be in that folder, so if you don't recognize them, I wouldn't worry too much about it.

The banner - was that an image part of the css or was it entered as a global block through C5?
concreteart replied on at Permalink Reply
Ok, I copied the thumbnails folder in the /files directory and now my banner appears. I left the /tmp /cache and /trash directories, unless you feel I should copy those over too.

I understand I shouldn't worry about the errors on the db, however, I would really like to learn and understand why those two errors occurred. I'm not sure if you feel I should create separate thread about a database restore error, or leave the discussion in here.

The two lines (if I'm counting right) are as follows:

Warning: chmod() [function.chmod]: Operation not permitted in .../public_html/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php on line 93

Line 93: chmod(DIR_FILES_BACKUPS . '/'. $file, 0666);

Warning: chmod() [function.chmod]: Operation not permitted in .../public_html/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php on line 120

Line 120: chmod(DIR_FILES_BACKUPS . '/'. $file, 000);

Thank you for all of your help and patience!
foster replied on at Permalink Reply
foster
I think it would be best to start a new thread about the errors. Maybe someone else that has had experience with those errors can chime in.

As for the tmp, cache and trash folders: I have never copied those - I don't copy the thumbnails either, but usually end up having to rescan the images in the new location so I can see the thumbnails in the file manager. Glad you had success after you copied the thumbnails folder.
julia replied on at Permalink Reply
julia