I posted here a week ago but received no replies so I'll post again.

Hi there,

My Drupal site has been chugging along for a while but my configure pages for themes are all blank. I can get to /?q=admin/themes but trying to configure individual themes gives me a blank page. Also, user configuration gives me a blank page (admin/user/configure).

Fedore Core 4 fully patched, Apache 2.0, MySQL 4.1.14, PHP 5.0.5, Drupal 4.6.3. The only non-standard module I have is the Gallery module (gallery.menalto.com or gallery.sourgeforge.net) because I have Gallery 2.0 installed. I have a random image block loading on the left. Hardware is AMD Sempron 2400, ATI AIW 9600, 1gb ram, 80gb HD space

I've tried removing the Gallery block and the Gallery module (as I've seen in some of the other posts on blank pages here) to no avail. This isn't really critical as I don't tweak the themes that often but it sure is annoying as all heck.

Any thoughts?

Comments

Duplika’s picture

Doesn't seem like a Module problem there.

What version are you working on? CVS, 4.6, 4.5.2? Did you recheck your installation? Do you have latests PHPtemplate engine installed?
--
Hospedaje de Páginas Web

samfrimp’s picture

4.6.3 is the version I have installed. It was a fresh install, not an upgrade.

I'll check my PHPtemplate engine and my PHP logs and get back to the forum.

Thanks.

samfrimp’s picture

My apache log tells me the following when trying to access the themes/configure page:

PHP Fatal error: Only variables can be passed by reference in /var/www/html/modules/system.module on line 649, referer: http://www.devinbaines.com/?q=admin/themes

Line 649 says the following:

file_check_directory(variable_get('file_directory_path', 'files'), FILE_CREATE_DIRECTORY, 'file_directory_path');

Of course, that directory exists and is writable.

webchick’s picture

It introduced a new way to deal with passing variables to functions. It's affected *a lot* of software packages out there, not just Drupal.

There is a 4.6.4 bugfix release planned to deal with this issue and some others, but for now your best bet is to downgrade to 5.0.4 if you can possibly help it.

samfrimp’s picture

I'm glad to see this issue is being addressed. I'll await the bugfix release.

Good work!

Eglish’s picture

Maybe you could check your Apache logs to see if PHP has any warnings?

reikiman’s picture

Yeah - every time I saw a blank screen, the error logs were showing some error messages.

- David Herron - http://7gen.com/

matt_moran’s picture

After a day and a half of frustration, I'm glad to find this post. Changing my PHP installation is not an option (I don't control the machine.) And I'm not sure how to read the apache logs (I may not have access to them) so I was pretty stuck looking at the blank page.

It'd be really helpful if there were a note in the installation instructions warning users that PHP 5.0.5 is a problem.

Thanks for the great software and site!

Matt Moran