Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   Alternative "Blank Pages" Fix (http://forum.bytesforall.com/showthread.php?t=12673)

theangrydrunk Feb 7, 2011 12:01 PM

Alternative "Blank Pages" Fix
 
Like many others, I was experiencing the "blank pages" problem with versions of Atahualpa above 3.6. The various Suhosin fixes that have been put forward weren't working for me, mainly since my host doesn't have Suhosin installed.

However, I ultimately stumbled upon a a hint in my webhost's PHP help files that led me to a resolution. Specifically the potential for problems in Alternative PHP Cache. Adding the following directive to .htaccess restored the missing content:

Code:

php_flag apc.cache_by_default off
Hopefully this might help some of the people who are still having issues.

juggledad Feb 7, 2011 12:16 PM

Thanks for posting this solution.

Amshoot Feb 7, 2011 07:09 PM

I tried the line at the beginning and end, not working... Am I doing it correctly? Here is what I posted.



php_flag apc.cache_by_default off

AddHandler php5-script .php

# BEGIN WordPress

# END WordPress

Thanks.

JP

juggledad Feb 7, 2011 07:16 PM

Amshoot - do you have suhosin installed? did you try the php.ini fix?

Amshoot Feb 9, 2011 03:01 PM

Sorry but new to all this and not sure if I have that installed or not. I did look for the php.ini and could not find it anywhere. I'm using 3.5.3. Sure would like to resolve this, thanks in advance.

JP

juggledad Feb 9, 2011 06:41 PM

If you are on 3.5.3 you shouldn't have the Suhosin issue.

Amshoot Feb 9, 2011 06:45 PM

Then any idea why I cannot preview the new release? Suggestions on what to try next?

juggledad Feb 9, 2011 06:54 PM

oh, if you are trying to preview or activate 3.6.x then you probably do have the suhosin issue and should look at this thread: Try this if you are getting blank page with Atahualpa 3.6.x

Amshoot Feb 9, 2011 07:02 PM

I've seen this thread, if I had the knowledge to put it all together I would have used it. Too complex for me at the moment. Going to have to sit the sideline until I can get better handle on why and what needs to be done to get the newer versions. Should the update really be this complicated? REALLY???

Amshoot Feb 23, 2011 12:35 PM

Well I kept digging on my own here and found out where they (hosting provider) had the php.ini file.

They had a "php.ini.sample" file in a "etc" folder... so I just uploaded the php.ini file with that line (modified) to that same folder where the sample file was located and presto it works.

There is a php.ini file download link somewhere in these threads. Find it and download it. I modified the line in the file to: suhosin.executor.include.whitelist = bfa:// and it worked for me.

Thanks for the help!

JP

bushtool Feb 23, 2011 12:45 PM

Using Bluehost. Blank page problem went away when I upgraded to 3.1 Wordpress.

tinapoppy Mar 23, 2011 07:12 AM

sorry where is .htaccess? i have the ability to add code to pages but i've read both the threads about this suhosin problem and i have no idea where i'm supposed to add this supposed code. could someone please send a more elementary answer so that those of us who are not experts can still have a shot at doing this?

thank you!

igrowkids Apr 5, 2011 03:55 AM

I have same problem - where is .htaccess and php.ini? I would like to attempt the fix before abandoning Ata for another theme....

juggledad Apr 5, 2011 04:13 AM

the .htaccess file is a file that resides in the Wordpress root folder. You need to use an FTP program to see it. Any file with a '.' is normally invisible. If one doesn't exist, you can create it.

as for where the php.ini file lives, this is a site by site customization. You need to talk to your hosts support to find out where/how you can override items in the php.ini

igrowkids Apr 6, 2011 12:49 AM

Thanks. Found the .htaccess by selecting hidden files to be visible.

The .htaccess file is entirely blank when I open in the cpanel code editor. I have tried copy/pasting both lines of code individually and I just get an error message on the website. Is this becuase I need to reference this code further in the .htaccess file? Or is it simply not a fix for my setup?

igrowkids Apr 6, 2011 01:00 AM

OMG OMG OMG! It worked! Toooooooo easy! Downloaded the php.ini file attached to the suhosin fix post. Unziped. Uploaded file to public html and VOILA! There was my website! Beautiful. I love this theme!

KatyDigg Apr 6, 2011 03:37 AM

WOW ........ wonderful! :)

Fader Sep 19, 2011 01:39 AM

well, but this not resolve problem. APC is powerfull cache for php code and it great speed up.
I use nginx + php-fpm for heavy traffic and my VDS hard to deal with it without opcode.
How do I get Atahualpa 3.6.4 with APC?


All times are GMT -6. The time now is 01:12 PM.

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