By janne on
After upgrading from 6.3 to 6.4 and also updating the CCK module, I tried to run update.php but ended up on a blank screen with "Content-Length: 6868" written in the top left corner.
Checking the status screen, everything seems ok, except for the prompt to update my database (which I obviously can't do).
What does "Content-Length: 6868" mean and how can I fix it?
Comments
Try the update again,
Try the update again, if/when the error occurs check your server's error log. Memory limit errors are often the cause of white screens.
Content-Length meaning
The "Content-Length: 6868" comes directly from the HTTP response header and usually it's not displayed in the web page.
This is not an error message. It means that the object sent to the browser contains 6868 bytes.
Well, before upgrading any site, I'm always making a backup. And I never upgrade Drupal at the same time I upgrade modules.
Did you try editing your php.ini to assign more memory?
/*_*/
http://www.xmacinfo.com
You're probably right. This
As far as I can tell, the memory limit is set to 256M, which should be enough, right? Besides, it seems to be the maximum value allowed by my host. I guess the next step would be to contact them in regard to this issue, but I'd really like to all possible options before doing that...
Did you try doing the
Did you try doing the updates separately, as xmacinfo suggested, and after dong a backup? It's possible you don't have to change your settings. If you do have to edit your your php.ini file this handbook page should help, or this posting.
You might find it best to ask your Host about where your php.ini file is and if you can customize it.
Yeah, I tried doing the
Yeah, I tried doing the updates separately, but the problem remains.
Speaking generally, how can such a "memory loss" occur? I mean, what could be happening to my site now, that wasn't happening before the upgrade?
Remove all contributed modules
You should try to remove all contributed modules. Drupal won't try to load modules that have been removed manually.
Once removed, check to see if your site loads normally. In the affirmative, add a single module at a time. If the sites is still broken, try running /update.php.
/*_*/
http://www.xmacinfo.com
Thanks to both of you for
Thanks to both of you for trying to help me!
I removed all contributed modules and checked the site. Everything worked fine. I then added one module at a time, checking for the dreaded "content-length"-message to appear...
It now seems to be an issue specifically with the CCK-module, rather than the Drupal update. (I already had developed some suspicions about this, but checking it systematically confirmed these suspicions.) So I'll just pop over to the CCK-page and post an issue to see if those guys can help me further.
Thanks again! :)
Clearing the cache might help with CCK upgrade
I'm glad to hear that your site in back online.
Now you should clear the cache and try to re enable the CCK module again.
http://example.com/admin/settings/performance --> Look for the last button which should read something like "Clear the cache".
Drupal 6 uses cache much more extensively than previous version. And, usually, when a D6 site fails, clearing the cache helps out.
/*_*/
http://www.xmacinfo.com
Cleared the cache, but I
Cleared the cache, but I just had to upload the module to see the content-length messages start appearing again. I also tried disabling the cache mode, but to no effect.
It seems wierd. I mean, I hadn't even activated the module and the problems reappeared?
Very strange
I don't have CCK on Drupal 6.4 yet. I might stay on 6.3 for a while...
Did you post an issue on CCK. If so, which node is it?
/*_*/
http://www.xmacinfo.com
I did post an issue on CCK
I did post an issue on CCK and got a quick answer as well. It all had to do with a messy upload of the CCK module. I had uploaded the "cck-6.x-2.0-rc6" folder instead of it's subfolder "CCK", and it seems the two folders caused some sort of conflict, resulting in - among other things - the "Content-Length" messages.
Everything was resolved, though, as soon as I moved the "CCK" folder (and module) out of the "cck-6.x-2.0-rc6" folder and deleted that one.
Thanks for the update
Thank you for the research. I'll be able to update a few sites too.
/*_*/
http://www.xmacinfo.com