I have installed drupal 5.10 at the root of my hosting, installed and tested it, BUT facing the following problem.

In short the problem that when I submit any form I get a blank page in return. I mean HTML form, like login form, or any admin page that contains fields.

For example when I try to login, I get a blank page in return, I have to manually go to admin page. When I click Save Configuration on admin/build/modules, the next page admin/build/modules/list/confirm is blank. I have to click in the location bar and press enter to get the resultant page.

I have tried error_reporting=E_All and display_errors=On but still get a blank page. I have contacted the technical support of my hosting. They replied that they do not get any error in their logs. They did not provide me my access/error log.

I have successfully installed drupal 5 and 6 on my personal computer. They work properly and nothing is wrong.

Please help me get out of the problem. I will provide my admin username/password if anyone seriously wants to help me. This is a production server and I must have to work with it successfully.

Regards

Comments

gpk’s picture

This may not be much help, but if you are going to be developing a production site then you really need access to your server access and error logs.

Having said that, your own success of running Drupal locally suggests this is a server config. problem. AFAIK every form submission in Drupal core is an HTTP POST (e.g. to admin/build/modules/list/confirm) and when this has been processed Drupal usually redirects to the page you started on (in the case you specify Drupal should redirect back to admin/build/modules again after processing the form submission). It looks as if these redirects aren't happening. This does raise the question of why the installation worked OK since I believe it uses the same form processing API which is a fundamental part of Drupal.

You might want to look at your {accesslog} table (or go to admin -> reports -> recent hits) (enable statistics.module and turn on logging of page views ... for every form submission you should get 2 entries - one for the POST of form data and one for the GET request which results from the redirect. Probably you will only see the first of each, though note that {accesslog} doesn't record whether it was a POST or a GET.

Suggest you talk to your host again. Seriously, if they are "Drupal-unfriendly" then you need to consider if they are the best place for you. There are many good Drupal-friendly hosts out there.

gpk
----
www.alexoria.co.uk