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 » Montezuma Theme »

[SOLVED] Virutal Templates all reset????? :(


  #1  
Old Feb 8, 2013, 06:27 PM
ryoung
 
32 posts · Nov 2012
All of a sudden I realized today that all of my virtual templates have been reset. It couldn't have been this way more than a few days. I moved servers and realized that when I edited the templates I couldn't save them. I changed my content directory to 0775 and then it started working fine.

Is there a file where virtual templates are stored that I could restore it from a backup? I'm super unhappy thinking about having to redo all of this work on these templates.
  #2  
Old Feb 8, 2013, 06:49 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The virtual templates are stored in the database and if you press the reset all button, they all get reset. Now if you have a database backup you might be able to retreive that record from the db and import it into the existing db
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 8, 2013, 06:55 PM
ryoung
 
32 posts · Nov 2012
Man I'm so damn upset..... its possible I reset them of course.

Is there any way to disable that 'reset' code until we get a 'are you sure' ? This makes me not want to use the theme now.
  #4  
Old Feb 8, 2013, 07:04 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There already is an 'are you sure' box that pops up.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Feb 8, 2013, 07:06 PM
ryoung
 
32 posts · Nov 2012
well then I don't think it's possible I could reset them all..... but everything is gone, the CSS changes template changes, everything. I don't have a recent enough DB backup, and I would lose other things if I went back to that I think...

I can't think of anything else to try?
  #6  
Old Feb 8, 2013, 07:08 PM
ryoung
 
32 posts · Nov 2012
I have it set to do a weekly backup to dropbox, I've just never 'used' it before. So I'm scared hehe
  #7  
Old Feb 8, 2013, 07:22 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if you have a backup it is possible to retreive the Montezuma settings.
1) You will have to restore the settings to a new database
2) then use phpMyAdmin on the old copy you will browse the wp-options table.
3) go to the end of the table and backup 1 or two pages looking for the row with the 'option_name' of Montezuma
4) edit this row
5) copy the contents of the 'option_value' field and paste it into a text file.
6) use phpMyAdmin and get into the current db
7) browse the wp-options table.
8) go to the end of the table and backup 1 or two pages looking for the row with the 'option_name' of Montezuma
9) edit this row
10) paste the contents of teh text file into the 'option_value' and press 'Go' to replace teh value

that should be it.

going off line due to lights flickering from the blizzard in the north east.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Feb 8, 2013, 07:23 PM
ryoung
 
32 posts · Nov 2012
Thanks I'll try it! Good luck weathering the storm.
  #9  
Old Feb 8, 2013, 08:14 PM
ryoung
 
32 posts · Nov 2012
Thanks guys. That did it. I am going to change my backup frequency to daily though, after this little snafu. I'm not sure how it happened, but at least it was recoverable.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 3.6.4: Reset all options does not reset all options mdmower New Versions, & Updating 9 Feb 13, 2011 05:25 PM
No option other than Reset? msboyd Atahualpa 3 Wordpress theme 3 Jan 26, 2010 01:35 PM


All times are GMT -6. The time now is 12:15 AM.


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