SELaplana >> Wordpress >> WordPress Problem at this Blog

WordPress Problem at this Blog

I told you before that this blog has problem in redirecting users who posted comments at this blog into the right page where they posted their comments. My previous post about this is “WordPress Redirect After Commenting, Failed.

Although I’m already at my limit, but I never give up (that’s my way of blogger lol). I checked my site and found files at the root directory of my site with the filenames begin with the term “core”. Take a look at the screenshot below:

Core Problem

And these core files are eating too much space in my hosting account.

Through searching I found out that this files are called “core dumps”. They are called like this because this files are logs of core memory error. The Wikipedia has this idea:

A core dump is the recorded state of the working memory of a computer program at a specific time, generally when the program has terminated abnormally (crashed).[1] In practice, other key pieces of program state are usually dumped at the same time, including the processor registers, which may include the program counter and stack pointer, memory management information, and other processor and operating system flags and information. The name comes from the once-standard memory technology core memory. Core dumps are often used to diagnose or debug errors in computer programs.

On many operating systems, a fatal error in a program automatically triggers a core dump, and by extension the phrase “to dump core” has come to mean, in many cases, any fatal error, regardless of whether a record of the program memory is created.

The term is used in jargon to indicate any circumstance where large amounts of unedited data are deposited for further examination.

With this information, I am now suspecting that the wordpress system installed in my hosting account particularly the one used by this blog has problem in which some scripts are terminated by the server to avoid server crash.

So, I checked the error log of my hosting account and found out that the wp-comment-post.php file which is one of the WordPress files are always terminated and the error says “Premature end of script header”.

This error message, “Premature end of script header”, is not really clear and is not even giving me hint of what particular line in the script is having error. But I am thinking that the error is on the redirect code just like what I mentioned before on my previous post. The code is:

wp_redirect($location);

I think, the value of the variable “$location” is wrong. That’s why when the “wp_redirect” function is executed, the system goes wrong.

Now, if it is really the problem, then the code that enters the value of the variable “$location” has having problem in getting data. This code is:

$location = ( empty($_POST[’redirect_to’]) ? get_permalink($comment_post_ID) : $_POST[’redirect_to’] ) . ‘#comment-’ . $comment_id;
$location = apply_filters(’comment_post_redirect’, $location, $comment);

Analyzing further really makes me feel headache.

I asked help from my host but seems the technical support is busy that they couldn’t give me even a few minutes just to give me hint on what to do.

If ever you have knowledge on this kind of problem, please advise me what to do.

By the way, thanks to the PinoyBlogero. He suggested that the problem might be in redirect conflict. I am still checking this possibility.

Automatically receive updates via email...
Enter your email address:
Tweet This
Tags: , , , , , Bookmark and Share
Tweet This!

Comments

12 Responses to “WordPress Problem at this Blog”

  1. yuga says:

    I’ve had this problem with several of my blogs before. You are right that the server is terminating a script which is causing a lot of cpu load or high memory usage.

    Server environments have some restrictions on PHP script with how much memory they can use in one instance or long long they are allowed to run. From experience, memory allotment is set between 8MB to 36MB per script with execution time ranging between 10 secs to 60 seconds. If any script exceeds this limit, they are prematurely terminated. That sometimes results in core dumps.

    I’ve actually recently blogged about why WP Plugins Should Be Regulated. It is possible that for every comment submitted by a visitors, additional executions are being made by WP which exceeds the server limitations. INcreasing these limits will not solve the problem since more WP plugins will just gobble them all later on.

  2. yuga says:

    Sonnie had a similar problem where a plugin was injecting additional rows of data in the wp_options table. It grew to about 27MB. That means for every page load (all WP page load accesses wp_options), the blog eats up at least 27MB of memory. Multiply that with any number of concurrent visitors and you get the picture.

  3. SELaplana says:

    Hi! Thank you so much for the input. I read also your post. I’m sorry I missed that post. I should’ve read that post earlier.

    I understand a little now about my problem. And I am still thinking what to do to fix the problem of this blog.

    I am now asking God to make this idiot minds became genius…

  4. SELaplana says:

    I just wish I can fix this before the february ends :-(

  5. marhgil says:

    offtopic: i just like to congratulate you for being Kontera’s Publisher of the Month! Ang galing!

  6. yuga says:

    My theory is that your WP plugin is overloading the memory limit. I suggest is to upgrade it to the latest version or disabling it to see if the core files stop popping up.

  7. SELaplana says:

    Marhgil >>> thanks a lot.

    Yuga >> thanks for the suggestion. I will try it now.

  8. offtopic: oo nga astig nasali ka dun! hehehe,.. congrats din! :D

  9. Glenn says:

    makikibati din.. congrats! Kontera’s Publisher of the Month :)

  10. Jorge says:

    I was getting the same issues with over 5 gigs of CORE files. I read a couple postings at : http://wordpress.org/support/topic/180409

    and yours were very helpful.

    I basically deactivated and deleted plugins until they stopped appearing.

  11. test says:

    test comment

Trackbacks/Pingbacks

  1. [...] am still looking for the real cause of this error. I also mentioned it already on my post “WordPress Problem at this Blog.” Automatically receive updates via email. Enter your email address to [...]

Leave a Reply

CommentLuv badge

Pinay Scandal

Actually, this terms refer to the photos, videos or any stories that reveal shameful, sxeperience, and secrets of some individuals or celebrities.

Upgraded the WordPress Engine

I recently upgraded the Wordpress engine of this blog to the latest available upgrades. However, I got the problem on feeding the content to the

Commenting Problem, Not Yet Fixed

I'm sorry to tell you that this blog has problem in redirecting you to the right page after posting your comments.  Thank you so much

Still Fixing My Blogs

For several weeks already, almost all my time are spent searching for the information that might help me fix problems on my blogs. Just like

UserOnline Plugin Error

I recently upgraded the blog's Wordpress engine to Wordpress v2.1. I experienced a problem on Link Dialogue but then it was resolved after a day. Today,

Upgraded to WordPress 2.5

I upgraded the Wordpress engine of this blog last Tuedsday (April 1, 2008) to the latest version of the Wordpress which is version 2.5.  This

Songs Lyrics Blog’s Problem, Fixed

Finally, the Songs Lyrics blog's got fixed. I'm sorry for suspecting any incompatibility between the Wordpress software and the Server's settings. I was wrong. The real

Now On WordPress v2.1

The time when the BayanDSL's speed went back to normal was the right time for me to upgrade the Wordpress engine of this blog from

WordPress Redirect Function Problem

I already talked about this problem before at my posts: Commenting Problem, Not Yet Fixed, Wordpress Problem at this Blog and Wordpress Redirect After Commenting,

WordPress Redirect After Commenting, Failed

It was already a month now since I started looking for the ways to solve the problem of the Wordpress installation of this blog, but

Top 10 Plugin Edited

The Top Ten Plugin for Wordpress Engine has small bug while installed with the version of the Wordpress installed for this blog. I checked the

WordPress Hack Warning

Garry Conn noticed earlier that most of his Wordpress self-hosted blog has been hacked and exploited by Russian hackers. These blogs are powered by Wordpress

Deprecated Error: Assigning the return value of new by reference is deprecated in

In my post, Negative Effect of Keyword Hijacking, I told you that I transferred all my blogs hosted by DreamHost to a new Dedicated server. However,

Upgraded to WordPress v2.3.1

As of writing this post, our Wordpress engine has just been upgraded to the latest version of the Wordpress, the version 2.3.1. What's the Wordpress 2.3.1? According

WordPress Upload Function Failed

Update: The problem is fixed already. Thank's a lot for your help. And as proof that it's fixed already, I uploaded this image: Original Post: You know, I

Count Post vs Top 10 Plugins

Recently, I deactivated the Top 10 Plugin for my blog's Wordpress Engine, but then after upgrading the Engine into Wordpress v2.0.2, the plugin stop responding

www.sss.gov.ph static information

sss gov.ph SSS Online Inquiry

Search Lyrics by Artists: 0-9 - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z