By andrew404 on
I've got all my Rewrites and directory indexes lined up.... .htaccess is changing the relevant php directives etc....
When I attempt to login, I am taken to a blank page, can't figure it out.
RewriteBase is /drupal
if point my browser after to http://localhost/drupal/q?
It will take me to the admin page where I can go to various settings pages.
If I make a change to the settings for instance (change the slogon for instnce)
when I press the form submit button I get a blank screen
Can anyone give any suggestions as to what it might be?
Using apache 2, php4 and php5 (I've got 2 machines, one linux one wamp with same issue)
It's driving me up a wall....... :(
Comments
swtich off clean urls
It can be that your host does not allow .htaccess setting. If so, you cannot use clean urls., so best is to switch them of and see if it fixes it.
And if this solved you problem, would you be so kind to report back that it helped? This will help others whom are looking for the same solution.
[Ber | Drupal Services webschuur.com]
pretty sure I'm not using clean urls at the moment
Hi Ber,
Thank you for your response, I was getting worried I wouldn't get the chance to make progress on this.
I believe .htaccess is working. The only test I know.... which is looking at the phpinfo() output and seeing the changes between 'local value' column and 'master value' column for the php directives being changed (session.save_handler -> master=files, local=user for example).
Of course I'm unsure of whether mod_rewrite is on or not. I believe it is although I'm uncertain how to verify.
My drupal install is in a subdir, /drupal. I've uncommented the RewriteBase directive and pointed it to the appropriate location.
Not sure what other info I can give you at the moment, but if you need more let me know.
I'd really like to get this up and going before Dries comes out to Vancouver on Thursday to give his presentation on Drupal to the Vanphp user group
cheers,
Andrew
wasn't able to get it working
It seems that using apache 1.3 instead of apache 2 has allowed me to complete the install successfully.
Although I've not been able to figure out why it didn't work before. Whether it was a config issue, a module issue or otherwise.
Has anyone used apache2 successfully before?
Fixed it!!!!
I was finally able to fix this silly little problem. Wouldn't you know it was the silliest thing. Copying my install to my linux machine only served to exacerbate the problems that one would think would be fixed.
Thanks to Dries, and to all the Drupal hackers in Vancouver for attempting to help me through it.
The reason I was getting blank screens after form submission turned out to be due a silly little rookie move of editing files in windows notepad/wordpad (not sure which one is the culprit yet, but I wasted too much time on it already) adding a whitespace character instead of nothing after the '?>' at the end of either common.inc or conf.php. Since those were the only pages I modified in my install I like to think that that's how it happenned.
Of course as most more adept than I would know that the character was being sent before the HTML tag (or Head or Body, not sure) and basically dropped the whole page and left poor little me with nothing but garbage (and/or) nothing.
So that being said, it perhaps may be prudent for someone to run through the codebase and make sure that there isn't any spurious characters hanging around might cause this for inexperienced, 'wet behind the ears' types trying to give Drupal a try on there wamp installs.
cheers,
Andrew
That would be Wordpad.
That would be Wordpad. Wordpad is capable of inserting 'invisble tags' and control characters.
I recommend Crimson Editor as I like tabbed documents and color context highlighting for a number of languages (and I've been using it for years).
www.crimsoneditor.com
I have recently seen Notepad2 recommended but have not used it myself as it is a recent discovery for me.
http://www.flos-freeware.ch/notepad2.html
-sp
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Would you believe the problems back
I can't believe this!!?!?!?!?
The problem has returned, and I haven't touched any source files. To top that, I've just tried to do a fresh install on my linux box and it's not working either. Doing the exact same thing as before
check the conf.php It is
check the conf.php
It is the one file you need to edit to use Drupal. It can pick up spaces.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
thanx for your help
Hey sepeck, thanks for your help, I had checked, double and triple checked that file and common.inc.....
It actually turned out to be some odd characters at the beginning of common.inc that showed up with another editor that I found through the xdebug site called weaverslave
I wonder if there is
I wonder if there is something in how you are uploading the files that is causing this. Very weird. Glad you found it, I have on occassion gone nuts on this issue.
I now keep my original files in a download/drupal4.5.1 directory. If something really odd happens, I just replace all the include files (except conf.php) as a first step.
Odd rambling probably not but any anti-virus mucking with the file?
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
nope, no AV touching
nope, no AV touching it....
It was a pretty straight forward vanilla download of tar.gz from projects/releases folder of drupal, unpacked with winzip right into a local web server directory.
Only changed the name of the folder (to drupal451 from drupal-4.5.1 etc..), conf.php (base_url), common.inc (patch to ignore strict_warning in error_handler function), as well as .htaccess (rewrite base).