Upload - white screen of death
Posted: Mon Jun 27, 2011 1:51 pm
Hi,
I'm trying to configure an upload field, storing the file on the filesystem. After adding a record, I get the "white screen of death" in php. The file uploads ok, and the record goes into the database. When I try to view the record, white screen again. (same with edit).
Here's my field definition:
[imagepath]
Type = "container"
widget:type = "file"
savepath = "/home/mysite/public_html/images/bars"
url = "/images"
Again, everything saves where it should be, but the application bombs trying to view the record.
FYI - if I remove the "Type=container" line, it shows me the record, but of course, the upload stuff no longer works.
The application works fine without the upload field turned on.
Any ideas? I tried display_errors, and all that. So I'm guessing maybe it's a memory issue, but I don't know why that might be it.
-Jim
I'm trying to configure an upload field, storing the file on the filesystem. After adding a record, I get the "white screen of death" in php. The file uploads ok, and the record goes into the database. When I try to view the record, white screen again. (same with edit).
Here's my field definition:
[imagepath]
Type = "container"
widget:type = "file"
savepath = "/home/mysite/public_html/images/bars"
url = "/images"
Again, everything saves where it should be, but the application bombs trying to view the record.
FYI - if I remove the "Type=container" line, it shows me the record, but of course, the upload stuff no longer works.
The application works fine without the upload field turned on.
Any ideas? I tried display_errors, and all that. So I'm guessing maybe it's a memory issue, but I don't know why that might be it.
-Jim