Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Atahualpa 3.0 Theme Options > Page Menu Bar - Page Error on Save (http://forum.bytesforall.com/showthread.php?t=17)

bseppa Dec 12, 2008 04:04 PM

Atahualpa 3.0 Theme Options > Page Menu Bar - Page Error on Save
 
When I click the "Save changes" button at the bottom of this page, the browser (I have tried IE, Firefox, Safari, and Chrome) spins, and spins, and spins. Eventually I get an error that varies by browser. This is the URL it is trying to load:

"http://www.<my domain>.com/wp-admin/themes.php?page=functions.php"

In the case of Firefox, I get a "Problem loading page" error. Basically, it times out.

BTW - I am on WP 2.7

bseppa Dec 12, 2008 05:20 PM

Actually this is happening all over the theme admin screens now. It just sits there for ever and eventually times out. Hard to say whether its the theme, my hosting provider, or something else.

bseppa Dec 12, 2008 05:25 PM

Yeah - I am at the point where my changes are no longer persisted. Almost every save times out. Never happened in Atahualpa 2.

bseppa Dec 12, 2008 05:42 PM

HA! Now the "Atahualpa Theme Options" page won't load at all! Sorry man, but this thing just isn't ready for prime time. Having said that, I fully intend to donate and I will continue to test it in a demo sandbox I have setup.

Thanks!

Flynn Dec 12, 2008 06:01 PM

It works rather quick on my (small) server with a standard 32 MB PHP setting. It sure isn't a lightweight theme though. May I ask where you host or what type of hosting plan you have. I want this to work everywhere and would like to evaluate where I am at regarding resource usage on average hosting plans

bseppa Dec 12, 2008 06:09 PM

Sure. GoDaddy - Basic Linux Plan.

http://help.godaddy.com/topic/58

Do you load every option value from the database and build up the interface to every option on every page when a person clicks on "Atahualpa Theme Options" under "Appearance" then just essentially hide all of the form elements at which the user isn't looking as they click the buttons at the top? In other words, is this basically one page of form elements that render simultaneously?

bseppa Dec 12, 2008 06:11 PM

And the logical second question... do you do a massive update of ALL fields from all screens each time I click Save?

bseppa Dec 12, 2008 06:25 PM

No changes save - no matter how small. Is there a way to log the SQL that runs when you try to Save so I can run the command manually?

Flynn Dec 12, 2008 06:32 PM

Whenever you save the options all options get saved, into the same table. That's how it is done in Atahualpa 2 and many other themes. Whether that is "massive" I leave that to you. If it were separate admin pages, you'd have to wait for each admin page to load when switching between the tabs.

Atahualpa 3 sure has a lot of options to do it this way, but let's not forget that these aren't frontend pageviews. Not saying that it couldn't be done better, but the saving action only happens when you the admin press save, and once the theme is configured you probably won't click save all that often.

Flynn Dec 12, 2008 06:35 PM

Quote:

Originally Posted by bseppa (Post 57)
No changes save - no matter how small. Is there a way to log the SQL that runs when you try to Save so I can run the command manually?

It's in functions.php starting at line 113. Not my own SQL queries but using WP's update_option/delete_option


All times are GMT -6. The time now is 08:44 PM.

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