Hello, just uploaded a new Drupal site to my ISP. I have the logon block hidden, and after going to sitename/user and logging in, I get a blank page. I have to manually navigate to \admin. The same thing happens when I'm editing content and hit Submit - it goes to a blank screen, and I have to manually navigate back to the home page - the content is updated in all cases. I am using a custom theme - my fouth one, and I have not had a similar problem. I am using Garland as the admin theme, and this was not a problem diring development on localhost. The navigation works fine, and I have clean URL's enabled, so I'm almost ruling out .htaccess. Any ideas?

Thanks

Comments

bwill’s picture

Did I post in the wrong forum?

vm’s picture

Your question lack alot of necessary information.

version of Apache?
version of PHP?

so on so forth.

however, blank pages are apache errors. check your apache/http errors log on your server. If you don't know where these are located ask your host. Typcially blank pages are often associated with memory exhaustion. This may or may not be your case, only the error will explain what is going on.

Since you are getting blank pages on submission, this could be a post_max_size settings in your PHP that is set too low.

do a phpinfo() to check your default settings.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

bwill’s picture

Sorry - still learning how to debug problems - I'm a Windows guy... According to the info in admin:

PHP is 5.25
Apache is Apache/1.3.41 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8

I'm also seeing these PHP errors in the log:

warning: Cannot modify header information - headers already sent by (output started at /home/vilano/public_html/sites/all/themes/TDV/template.php:1) in /home/vilano/public_html/includes/session.inc on line 100.
warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/vilano/public_html/includes/session.inc on line 103.

Most likely the cause of my problem - not sure if this is host related, or what to do about it.

vm’s picture

Warning: "Headers already sent"

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

bwill’s picture

On this project, I was editing using MS Wordpad which adds line break characters - Notepad on the other hand does not do this. The template.phpfile actually started with <?php and removing the  solved the issue. Thanks for giving me more tools to debug errors with!