Summary: When I go to view my /image page, it comes up blank, and html page with no content. See:
http://www.stnina.org/test/image

Longer description:

I am starting a new issue, since I now have multiple that seem to be related.
First:
I recently updated to 4.6.1. Since then, when I click into my 'images,' I received the following error:

"getimagesize(): Read error! in ../includes/image.inc on line 88."

Second:
I then updated image.inc and theme.inc using the most recent CVS (see the following discussion: http://drupal.org/node/24157).

With these updates, when I click into 'images' I simply see a blank page with the following code:
html-body-/body-/html

Third:
I then updated the common.inc,v 1.455 file (I can't remember why I decided that, but it looked newer in CVS).

I now receive the following error:
Fatal error: Call to undefined function: drupal_lookup_path() in .../includes/common.inc on line 94

I then went back one CVS version, common.inc,v 1.434.2.9, and while the fatal error is gone, I still cannot get to my /images.

Note that if I go in through the nodes, I CAN see my images. However, I cannot access the images pages, either as user or admin. If you want to see the problem, go to:
http://www.stnina.org/test/image.

In addition, this error appears on both my phptemplate unique theme as well as the standard drupal theme.

Help! Thanks,
Maria

Comments

Eric Scouten’s picture

First, you didn't say which version you had been running prior to 4.6.1. If it was 4.5.x, there's an upgrade script that you should run first. If it's 4.6.0, I don't think there was any significant change to the image module.

Blank pages are often caused by a PHP error occurring during page generation. I've seen it many times myself. Sometimes, you can insert a little bit of dummy output that might help you figure out what's going wrong. For instance, near the top of the module, I might write:

print "Hello?";

This will mess up the formatting of any page that causes image.module to load, but it will increase the odds that you'll be able to see any error message that might be generated. That will give you a clue where to look for the real cause of your problem.

Once you have that clue, you can remove the print statement and get back to "life as usual." ;-)

mariagwyn’s picture

Title: Blank Image Page in 4.6.1 » Solved!

Eric, thanks for the response. It turns out that the problem has to do with the most recent image.module patch. So, I went back one version, to v. 1.146.2.7, and my gallery is back.

What made the problem confusing was that I had upgraded from 4.5 to 4.6 to 4.6.1 with everything intact, including the images. I must have at some point upgraded the image module from the CVS repository (I don't remember doing that) to v 1.157, and it killed the page. I let the relevant thread know that I had a problem. But thanks for responding.

Maria

ezheidtmann’s picture

Title: Solved! » Blank Image Page in 4.6.1

Changing the title of your post changes the title of the issue.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)