Enabling Add Node results in Page not found - blank page

lunas - May 14, 2007 - 23:22
Project:Addnode
Version:5.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi, after enabling addnode and adding an addnode select list to a content type, I am unable to get to that content type. Instead, when I go to node/add/content type all I get is an internet explorer can't connect to website error message. It's the same thing if I try to configure the new field I just created. I figured it might be a conflict with another module, so I disabled them one by one -- couldn't find the problem.

#1

ica - June 6, 2007 - 12:50
Title:Enabling Add Node results in Page not found» Enabling Add Node results in Page not found - blank page

Same here, took me few days and hours to find out which module causes the 'blank page of death' as its also referred. It made me look to lots of forum posts on 'blank page' symptoms and possible solutions fixes, no avail. As no specific error message might indicate a module. Eventually I started to actvate/deacativate every module 1 by 1. So it was the addnode.module..

just posting to confirm the bug and help other Drupallers whom might have the same issue. write up above might provide some keywords on their searchs.

#2

Lionfish - June 11, 2007 - 11:39

Thanks for the bug reports (sorry I've been busy with other projects for the last couple of weeks),
A couple of questions to help me narrow it down:
1) What sort of caching have you got enabled?
2) Does this happen in different browsers?
3) Does it go away if the cache is cleared (ie truncate the cache* tables)?
4) How can you duplicate the error?

Thanks,
Mike

#3

Lionfish - June 11, 2007 - 12:04

Oh also:
Could you look in your server's error logs, as that will probably have something in, if it's completely failing to serve the page. You might find them in /var/log/apache2/error.log. If you don't have access to them, you could turn error reporting on by adding the line:
"display_errors = On" to your php.ini file (on my system this is found in: /etc/php5/apache2/php.ini). (Note: This shouldn't be left on as it could leak security information).
It might be a different setup (eg different version of PHP) that could cause an error (eg a Syntax error), and for it to fail. If you've not set it to display an error message then the failure will result in a blank screen.

Thanks for helping me solve this!
Mike.

#4

Richard Eriksson - December 6, 2007 - 00:25
Title:Enabling Add Node results in Page not found - blank page » Enabling Add Node results in Page not found - blank page

I'm getting the same errors, on the node/add page for the content type, as well as the screen for the content type. What's happening is that PHP runs out of memory. I put the php.ini settings for maximum memory up to a ridiculously high amount, and it's still failing.

An example error message follows:

Allowed memory size of 33554432 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/includes/common.inc on line 2226, referer: http://example.com/admin/content/types/page/fields
Allowed
memory size of 33554432 bytes exhausted (tried to allocate 20 bytes)

Other times it will be menu.module that tries to allocate the memory, but same thing. My guess is there's an infinite loop in there somewhere, or an array that just gets populated until PHP gives up.

#5

xxvelcrar - June 13, 2008 - 14:02

I suspect this is the "infinite recursion" known bug talked about on the module description. Looking into fixing it.

#6

lmfisher100 - November 5, 2008 - 03:02

help have same problem... edited php.ini and htaccess, and dont know help. took out and added in modules cant find the culprit... also i suspect its thickbox or some cck stuff.

#7

lmfisher100 - November 5, 2008 - 03:05

YES ITS IN CCK ! AND THINK BOX, SPECIFICALLY CCK NODE REFERENCE AND THICK BOX TOGETHER. WHYWHY. I AM NOT a phper if anyone can assist.

#8

verlierer - April 9, 2009 - 18:42

I don't have Thick Box installed, and am getting this error.

 
 

Drupal is a registered trademark of Dries Buytaert.