I create a database, install all the files, and tries to install the word press and it only gives me a blank screen. Does anyone know why.
I create a database, install all the files, and tries to install the word press and it only gives me a blank screen. Does anyone know why.
If the php_memory limit is set to low (2M etc.) then you may face this problem. You may try following solutions:
[1] You can add following line in your .htaccess:
php_value memory_limit 64M
This will not work if suPHP is enabled on your server. If suPHP is enabled on your server then you will need to put php.ini in the root of your domain and modify the following line:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
[2] You can also raise PHP memory from wp-config.php file. Just add the following line after
define('WP_MEMORY_LIMIT', ‘64M’);
Kailash
How to i change this
[1] You can add following line in your .htaccess:
php_value memory_limit 64M
(2) I tried this one and it don't work.
You can also raise PHP memory from wp-config.php file. Just add the following line after
define('WP_MEMORY_LIMIT', ‘64M’);
Hi,
I edit file .htaccess ; php.ini ; wp-config.php as same above but result is blank page. can someone help me ?
my site http://www.trienvong.us
I wait good news from someone !!!
are you on a windows or linux server?
I am having the same problem, and I have a post without response.
However, I noticed the wp-blog-header.php coding is:
<?php/** * Loads the WordPress environment and template. * * @package WordPress */
if ( !isset($wp_did_header) )
{
$wp_did_header = true;
require_once( dirname(__FILE__) . '/wp-load.php' );
wp();
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
?>
Now wp-load.php is located in the same directory as wp-blog-header.php, but Template-loader.php is located in the wp-includes sub-directory. I am a novice at php coding, but it looks to me as a coding error in the wp-blog-header.php. ?
i am a firsttime user of wordpress,
i downloaded the wordpress zip folder, what about this wordpress 2.8.4.tar.gz.? my computer cannot open this extension
I am trying to move wp folder to my new website hosted by netfirms,
i have tried ZipDeploy, i am so stucked, i need help pls
TomBonham
require_once( ABSPATH . WPINC . '/template-loader.php' );
the WPINC tells wordpress to look in the includes folder
Olusuyi
click on the download link at the top of this page
then on next page
click the large blue button
that will give you the zip file - that is all you need
OK, thanks. BUT
As I posted in "Installed, but index.php not generating body" - Why else word worpress generate an empty HTML?
can anyone help me with this problem....I create a database, install all the files, and tries to install the word press and it only gives me a blank screen. Does anyone know why.
I went back to my basic programming troubleshooting technique of making each program tell me what it is doing.
I added comments to the beginning and end of "index php" those comments printed, stating the programming purpose of loading wp-blog-header.php .
I added comments to the beginning and end of "wp-blog-header.php." Those comments did not print!
It would seem the problem is either the index.php is failing to load the wp-blog-header.php or there is a serious problem in wp-blog-headers.php.
Which is it?
Tom,
I seriously doubt anything is wrong with the p-blog-headers.php.
Millions of folks have used it without problems.
Blank pages are php errors of some kind.
Maybe add php error reporting to files and see what errors come up
http://www.php.net/manual/en/function.error-reporting.php
I am using WordPress as downloaded, it has no errors, and all pages will display?
I've installed this version over 100 times without any file problems. I have had a blank page like you have here and there - like 4 times - but 2 of those were out of php memory issues (server was set to 8M) which were easily corrected. The other 2 was basically getting the host to install php5 so wordpress could use that instead of php4.
Also I tried the script you referenced and got the message: Parse error: syntax error, unexpected T_IF in /usr/local/pem/vhosts/118806/webspace/httpdocs/PITS/TP/Blog/wp-blog-header.php on line 2
line 2 is
if ( !isset($wp_did_header) )
line should look exactly like
if ( !isset($wp_did_header) ) {
The bracket was actually on line 3, I moved it up to line 2 and still get the same error message!
Parse error: syntax error, unexpected T_IF in /usr/local/pem/vhosts/118806/webspace/httpdocs/PITS/TP/Blog/wp-blog-header.php on line 2
The entire file is
<?php/** * Loads the WordPress environment and template. * * @package WordPress */
if ( !isset($wp_did_header) ){
$wp_did_header = true;
require_once( dirname(__FILE__) . '/wp-load.php' );
wp();
require_once( ABSPATH . WPINC . '/template-loader.php' );}
?>Well I went through all the posts. Couldn't get anything but a blank page. Found a WPversion 2.5 installed it and it works fine. I will be watching this thread in hopes of being able to upgrade.
Thanks,
Mike
And now there are 3
per trac-
Delete the file, Replace it with a new blank copy from here: http://core.trac.wordpress.org/export/12006/tags/2.8.4/wp-blog-header.php
In this case, it solved the problem.
after installing 2.5 I downloaded the newest version, uploaded all files except the config.php file and it works just fine now, it even updated the database.
I've searched and searched online and I hope this is the right place to post my issue. When I attempt to 'post' 'save draft' or 'preview' I often get a blank white screen. Once in a while I get 'wordpress error'.
If I wait a few minutes and try again it works... but lately more often than not I'm getting all white. Is this related to the php memory issue that you mentioned above? If so, how do I change it?
Thank you.
@ billydec - read the 2nd post (from kailash1) for ways of changing php memory limit.
increasing php limit helped solve my issue. additionally, there was a fatal error, caused by plugin that was trying to find a path that no longer existed after server upgrade... i was able to circumvent this by deleting the relevant plug-in folders.
@ silverakshi - thanks for the reply.
I tried adding the line of code to wp-config.php ... I read in another thread that it worked for some people. It didn't work for me.
I re-installed all wordpress files. Deactivated and deleted all plugins and no luck. I've been dealing with this issue for months now and it's getting frustrating.
I'll try changing htaccess to see if that works.
Wondering why this hasn't been addressed in any of the wordpress updates. It seems so many people are having the same issue.
I also tried adding the line to htaccess - no help there either.
Well, after troubleshooting until my eyes were bleeding I called my host again and they said, "Oh, you're on a server that's having issues. Let me change servers for you."
Two hours later the site is now running fine.
HOST = Webair
Time to read the forum about changing servers.
This topic has been closed to new replies.