Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Transferring a modified atahualpa theme from one site to another


  #1  
Old Nov 19, 2009, 12:53 PM
rosetrees
 
108 posts · Mar 2009
I'm sure I'm missing something obvious here! I just designed a new site in Atahualpa - but it was installed on a test sub-domain. Now I want to transfer the custom design to a new site.

This is what I tried:
Using ftp software to download the entire Atahualpa folder to my computer (from the customised sub site).
Installing WP and Atahualpa on the new site.
Using ftp software to upload the entire Atahualpa folder from my computer to the new site.

It failed! The new site still looks like a fresh install.

I guess what's stumped me is - where is Atahualpa saving all those changes I made?
  #2  
Old Nov 20, 2009, 06:32 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The options (all the customized settings you made using the theme options) are stored in the wordpress database. So to move them from one site to another, you need to EXPORT the settings from the original site's WordPress database and IMPORT them into the new sites WordPress database.

The Theme folder is just the code that creates the look of the site (and handles the backend option settings) - nothing is written to that.

You can do a search using the word 'EXPORT' and you will find manual directions to do this. You will have to use phpMyAdmin.

I've written an export routine (bfa_exportsql.php), but haven't finished the import side of it. If you wish to use the export routine, let me know and I'll send it to you.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 20, 2009, 07:07 AM
rosetrees
 
108 posts · Mar 2009
Thanks juggledad. I was hoping I could transfer a modified theme to an existing site without transferring the database, as I'm guessing this would overwrite the database on the existing site.

I was beginning to think that was the case so I guess the moral of the story is not to design my "template" on a test domain but to design it in situ.

Carol
  #4  
Old Nov 20, 2009, 08:34 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you don't have to transfer the entire database, just the Atahualpa options, a small subset of the wp-options table
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Nov 20, 2009, 09:39 AM
rosetrees
 
108 posts · Mar 2009
oh - ok - thanks. If I used your export routine, would that show me how to export just the bit I need?
  #6  
Old Nov 20, 2009, 11:07 AM
runbei
 
22 posts · Oct 2009
Mountain View, CA
Quote:
Originally Posted by rosetrees
oh - ok - thanks. If I used your export routine, would that show me how to export just the bit I need?
I'm in the same boat as you - and, well, I discovered that it IS technical, unfortunately. You'll find instructions at:

http://codex.wordpress.org/Moving_Wo...o_a_New_Server

See also the links at the bottom of the page, especially:

http://www.velvetblues.com/web-devel...og-or-website/
  #7  
Old Nov 20, 2009, 12:23 PM
runbei
 
22 posts · Oct 2009
Mountain View, CA
Quote:
Originally Posted by juggledad
you don't have to transfer the entire database, just the Atahualpa options, a small subset of the wp-options table
juggledad - I succeeded in getting into the MySQL database through GoDaddy Hosting Control Center. I chose the Export function and then wp_options in the left column. I'm now seeing 15 pages of options, one per line in the database.

Should I select all the options whose names begin with "bfa_ata..." and then click Export; then get into the new WordPress database and choose Import? I want to be real careful with this, because I don't want to screw-up the existing site which has a bazillion posts. So please forgive the nitpicking questions.
  #8  
Old Nov 20, 2009, 12:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The bfa_exportsql.php will only export the Atahualpa options. the idea is so you can export from a test site and dump the atahualpa options into a new site so they will look the same.

runbei: You do not have to dump the entire database to copy the Atahualpa options. the directions you are looking at are for MOVING your entire site to a new location.

The code I'm working on is an automated method, currently there is a guide for doing this see: http://forum.bytesforall.com/showthr...ghlight=export
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Nov 20, 2009, 01:43 PM
runbei
 
22 posts · Oct 2009
Mountain View, CA
Well, hurrah! That is the answer I'm looking for. Thank you!
  #10  
Old Oct 26, 2010, 12:41 PM
jstein
 
95 posts · Sep 2010
Hi JuggleDad. I'm trying to understand this post and have also tried using the Export/Import feature in Atahualpa to transfer my jonathanstein.org site over to embodiedawakeninginstitute.com. They are both on the same server with the same host. Is there an easy way to do this?

I thought that if I just exported the settings text file out of the jonathanstein.org, and import it back into my other site, that that would do it. Not so. My new site still looks like the template theme, fresh "out of the box", so to speak. Do you have more specific instructions for this kind of thing?
  #11  
Old Oct 26, 2010, 12:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This thread is no longer relevant since 3.4.9 when the export/import settings option was added.

Now you just export the settings from one site and import them in the new site.
When you do the import, make sure you see the green 'import successful' message, if not, do the import again. I have had cases where it toke a time or three to get the successful import message to show,
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Oct 26, 2010, 01:55 PM
jstein
 
95 posts · Sep 2010
So, I tried it and as soon as I selected the file to import it, a line of red text showed up in the Import section and then disappeared. It looks like this :
Sorry but ...file name...doesn't appear to be a valid Atahualpa settings file.

Then it desappears. and it seems that nothing actually changes on the site. Still the generic theme image...

Do you think it makes a difference that I'm transferring files from the 3.4.9 version to the 3.5.3 version?

And what about this text in the Import section:

4 styles are included in the Atahualpa download. See ata-round.txt, ata-classic.txt, ata-default.txt and ata-adsense.txt inside /atahualpa/styles/ on your desktop computer. For now you'd have to import those files from there, if you want to use them ?

Is there something I should do with this?

Last edited by jstein; Oct 26, 2010 at 02:05 PM.
  #13  
Old Oct 26, 2010, 02:08 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You can't import a 3.4.9 style into a 3.5.3 theme. You can either manually upgrade the theme you are copying from and then do an export/import or cut and paste the styles from the various areas.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #14  
Old Oct 26, 2010, 02:27 PM
jstein
 
95 posts · Sep 2010
Do you think it would be easier to upgrade the developed site and then export it to the new site? It seems it would be. But would I lose any formatting, etc. if I did an upgrade that way?
  #15  
Old Oct 26, 2010, 02:47 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If you upgrade the developed site just be sure to use the manual method as outlined in the FAQ. Then if something isn't quite right you can just switch back to the 3.4.9 theme. As always you should backup first. But no you shouldn't lose any formatting.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #16  
Old Oct 26, 2010, 02:58 PM
jstein
 
95 posts · Sep 2010
There is a link at the top of the Atahualpa page to upgrade to the latest version, so that part looks like it'll be pretty easy. Where do I find out how to run a back up?
  #17  
Old Oct 26, 2010, 03:45 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
DO NOT use the link to upgrade as it will not upgrade to 3.5.3. and may cause issues. You need to use the MANUAL method as described in the FAQ section. Here is a link to the upgrade instructions. You will need to download 3.5.3 from the wordpress.bytesforall.com site.

There are several plugins for backup up your WordPress Database. One is WP-DBManager
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #18  
Old Oct 26, 2010, 04:07 PM
jstein
 
95 posts · Sep 2010
I tried WP-DBManager but it's a bit too technical for me. I couldn't really grock the README file so I gave up after a while. I installed DBC Backup which gets good ratings and was very easy to install. Do you think this is a good choice? And now, what is the best path to back up to? I presume (naive as I am) that it would be backup up someplace on the servers directory, yes? Can you offer any specifics about how and where to create the backup directory?
  #19  
Old Oct 26, 2010, 04:49 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I don't know about DBC Backup but it is pretty old and so I am unsure if it will work with WP 3.0.1. Another backup I saw but have not tested is Online Backup for WordPress.

The other option is to hire this done. You can contact me in a PM if that is something you want to look at.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #20  
Old Oct 26, 2010, 05:48 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There was a change from 3.4.9 in the method the export was created, If you want to use an export from 3.4.9 - you need to follow the directions in the 3.5.2 release notes (http://forum.bytesforall.com/showthread.php?t=8374)

Quote:
Export/Import system now uses the JSON format instead of the serialized/base64_encode format used in 3.5.1
The reason for the change is that Wordpress.org won't list the base64_ version due to the malicious things often done with base64. Sorry I should have thought about that. base64 encoding the settings files seemed to be a quick fix for the issues many users had with the settings files.
Unfortunately this means that if you exported a settings file in 3.5.1 and want to import that in 3.5.2, you'd need to do some legwork: Download this zip file, extract it, rename the "uploadBASE64.php" to "upload.php" and replace the existing "upload.php" in Atahualpa 3.5.2 with it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #21  
Old Oct 26, 2010, 07:00 PM
jstein
 
95 posts · Sep 2010
Quote:
Originally Posted by lmilesw
You can't import a 3.4.9 style into a 3.5.3 theme. You can either manually upgrade the theme you are copying from and then do an export/import or cut and paste the styles from the various areas.
So, as far as the second option goes (since I'm terrified I'll mess up if I try the first option you suggested), is this just a matter of copying all the files over to the new site, one by one?

Eek gad. It doesn't seem like this is going to be an easy thing to do.
  #22  
Old Oct 26, 2010, 07:32 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
The second option is to open the 3.4.9 site and go to all the sections in the Atahualpa Theme Options and copying the contents of those boxes to the same box in the 3.5.3 Theme Options. for instance you would to to ATO>Add HTML/CSS Inserts and copy all the code in the various boxes to the same boxes in the 3.5.3 theme. I would just have the two themes open in different tabs of my browser.

Do you have FTP access to your site? If so then the manual upgrade is not a big deal. You just download the 3.5.3 zip file from wordpress.bytesforall.com, unzip it and copy the enclosed atahualpa353 folder to the same place where you current atahualpa folder is. YOU DON'T OVERWRITE. So when you are done copying you will see something like the following in the themes folder.

atahualpa
atahualpa353
twentyten

Then after copying the folder there you go into the WordPress dashboard and select Appearance>Themes and switch to the 3.5.3 theme.

Does that seem clear?

But I still would like to see you get a backup as that is important no matter what you are doing. I had a client the other night that would have lost their entire blog because of something the host did if we hadn't had a backup.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #23  
Old Oct 26, 2010, 07:40 PM
jstein
 
95 posts · Sep 2010
Thank you Larry. OK. Maybe I'll try that. Somehow, the instructions from juggledad had me confused. Man, I can get SO into all this web stuff...literally hours disappear in front of the computer...but it's a bit stressful sometimes.

Anyways, I did back up the whole thing with the second backup plugin you suggested. Do you think the wp-content folder got backed up as well>? Is there any way to check?
  #24  
Old Oct 26, 2010, 07:42 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I'm not sure but you could always just use FTP to download it to your computer.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #25  
Old Oct 26, 2010, 08:13 PM
jstein
 
95 posts · Sep 2010
Is there an FTP client you'd recommend? I'm just using the app that my host provides but I can't actually download a whole folder, just individual files. Cute ftp? Doesn't mozilla make one too?

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Atahualpa be used to look like this site? brianlees Atahualpa 3 Wordpress theme 6 Oct 19, 2009 06:21 AM
[SOLVED] Help Transferring HTML/CSS Insert Coding to Custom Widgets rnimchuk Header configuration & styling 1 Sep 28, 2009 06:18 AM
[SOLVED] Order Posts by Modified Date ysbwriel2k Excerpts, Read more, Pagination 3 Aug 21, 2009 02:36 PM
How to Copy an Existing Theme Layout to a New Blog Site SenorD Forum How-To 1 May 10, 2009 03:16 PM
The %date-modified('F jS, Y')% in post footer not working Glottis Post-Kicker, -Byline & -Footer 11 Apr 11, 2009 05:52 AM


All times are GMT -6. The time now is 01:51 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.