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 » New Versions, & Updating »

issue: blank Central Panel - PHP code options stored with an \


  #1  
Old Sep 13, 2009, 07:50 PM
ssokolenko
 
2 posts · Sep 2009
just wanted to report an issue (i got it to work via sql, but it would be good to fix it eventually)
I am running wpmu 2.8.3 + atahualpa 3.4.2

The Theme options that store PHP code and html bits (17 in total, list below) somehow got their values scrambled (a slash was added to escape quotes + other things). This made the central (content) panel go blank (the side bars continued to work). I did some digging and found for example for option bfa_ata_content_not_found

INSTEAD of
"<h2><?php _e('Not Found','atahualpa'); ?></h2>
<p><?php _e(""Sorry, but you are looking for something that isn't here."",""atahualpa""); ?></p>"

the wp_options table had (see the slashes?):

"<h2><?php _e(\'Not Found\',\'atahualpa\'); ?></h2>
<p><?php _e(\""Sorry, but you are looking for something that isn\'t here.\"",\""atahualpa\""); ?></p>"

The complete list of options that had their values scrambled:

'bfa_ata_custom_read_more',
'bfa_ata_html_inserts_body_bottom',
'bfa_ata_content_above_loop',
'bfa_ata_content_inside_loop',
'bfa_ata_content_below_loop',
'bfa_ata_content_not_found',
'bfa_ata_footer_style_content',
'bfa_ata_more_tag',
'bfa_ata_multi_next_prev_newer',
'bfa_ata_multi_next_prev_older',
'bfa_ata_single_next_prev_newer',
'bfa_ata_single_next_prev_older',
'bfa_ata_comments_next_prev_newer',
'bfa_ata_comments_next_prev_older',
'bfa_ata_post_footer_home',
'bfa_ata_post_footer_multi',
'bfa_ata_post_footer_single'

I had a backup and restored the values. The central panel started showing pages and posts again.
  #2  
Old Sep 14, 2009, 03:52 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
it looks like you must have set the backslash as your escape character
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 15, 2009, 05:18 PM
ssokolenko
 
2 posts · Sep 2009
thanks for the tip. Is the escape character a WP or atahualpa option?
The slash wasn't the only thing that got added though. The copyright character was replaced with &copy; as were all the other special characters. I don't think they were the reason for the blank page - the slash was probably the culprit.
I found a similar issue on this forum
http://forum.bytesforall.com/showthread.php?t=20
  #4  
Old Sep 15, 2009, 05:29 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Try adding this to your .htaccess

php_flag magic_quotes_gpc off

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert php code into Byline JakeThePeg Post-Kicker, -Byline & -Footer 1 Aug 27, 2009 06:16 PM
sliding panel plugin and ie css issue bushtool Header configuration & styling 2 Jul 6, 2009 09:52 AM
Atahualpa 3.3.3 Themes panel options shows the options but it does not work pkmittal81 New Versions, & Updating 7 Jun 11, 2009 05:31 AM
[SOLVED] Installation problem: theme is visible but Atahualpa options panel doesn't w mkny13 New Versions, & Updating 6 Apr 30, 2009 09:09 AM
Blank pages from sidebar links - template issue? bjt1t2t3 Atahualpa 3 Wordpress theme 0 Mar 16, 2009 01:55 PM


All times are GMT -6. The time now is 05:40 AM.


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