I receive a white screen upon node submit.

I am running PHP 5 and have configured a ttf liberation font for use.

Comments

mr.baileys’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

You are giving the maintainers very little information to help them assist you in troubleshooting this problem... Why do you think the white screen is related to the Barcode module? Did you configure any barcode fields? What symbology do those fields use? Can you give steps to reproduce this on a clean installation? Did you check the PHP log files for errors?

Take a look at The White Screen of Death (Completely Blank Page) to help you get more information about the actual error causing the WSOD, and post back the error if you are still having issues.

chaosmind’s picture

I seem to be getting the exact same problem, so let's see if I can't submit some additional information:

I'm running a pretty clean Acquia stack (6.22) on a recent Intel Mac (10.6). Using barcode 6.x-1.0-rc5. Create new content with additional "barcode" field. The font is entitled "IDAutomationHC39M_FREE", and the module is set to encoding method "CODE39".

If I create a new node with the barcode field blank, it shows up just fine. But if I create a new node, or update an existing one, to include any text in the barcode field (I typically test with the string "*0123456789*" as the input), I get the WSOD.

The only line in (Acquia's) error log is the following:
[Thu Oct 27 16:40:03 2011] [error] [client 127.0.0.1] File does not exist: /Users/rob/Sites/acquia-drupal/favicon.ico

which pretty clearly has nothing to do with the barcode font. Very curious... Any help greatly appreciated!

trickyricky26’s picture

I had this same problem when migrating hosts.

You need to make sure you have FreeType support enabled or any node with a barcode field will give WSOD when saving.

Check your php settings to make sure Freetype support is enabled. This resolved the issue for me.

FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1

gokulnk’s picture

Issue summary: View changes

If you check the project description page you can see that Freetype support for GD is a requirement.

Dependencies
FreeType Support and GB Support enabled for PHP

In all probability your server doesn't have that support. Enable that you should have the module working without any issues.

Check http://stackoverflow.com/questions/21216129/install-gd-library-and-freet... for tips on how to install Freetype.

skyredwang’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

I am closing this issue in favor of #2372373: Freetype dependency check, because the other issue already has a patch.