After a fresh installation of rc3. Tried to add an article page as described below

1. Fill in the Title, Tag & Body fields (no other settings modified, no additionals modules enabled/disabled)

2. Click on the Save button

3. Redirected to URL - http://localhost/drupal7rc3/?q=node/1&

but I see empty page. In fact I could not access any page, entire site became not accessible. (I just see blank page).

When I checked the MySQL database - the following tables have rows for the newly added content
* node, * node_comment_statistics, * node_revision.

I removed those rows from the above mentioned three tables, I could access the site but the following warning is displayed
* Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in filter_dom_load() (line 1042 of H:\xampp\htdocs\drupal7rc3\modules\filter\filter.module).

Tested using
Firefox - 3.6.13
in Windows Vista

Apache, PHP & MySQL were installed using "XAMPP for Windows"

Apache Version: Apache/2.2.9
PHP Version 5.2.6
MySql - Server version: 5.0.51b-community
MySQL client version: 5.0.51b
phpMyAdmin - 2.11.7

CommentFileSizeAuthor
#13 Modules installed at 100311.pdf28.08 KBbenjaminbob

Comments

burgeonit’s picture

Component: node system » node.module

Additional Info:
This issue is happening due to the "Text Format".

I entered plain text (as well tried with html text having

  • ) in Body but left the "Text Format" value untouched - taking the default option "Filtered HTML".

    But if I select the option "Plain Text" it works as expected, I am redirected to the node page after the Article is created.

Mo’s picture

I followed the steps mentioned above, using DAMP 1.2.32. I didn't get any errors. Everything looks fine on my install..

OSX
FF 3.6

rfay’s picture

Priority: Critical » Normal

I can't recreate this either.

It looks to me like you have an unusual problem or some problem with your database or something?

I'm really interested in figuring out what's wrong, in case it affects other people, but I don't think this is a critical general-purpose bug. This sort of thing is tested rather extensively in the automated testing as well.

I note that you're having unusual troubles in #1005896: Toolbar disappears when a shortcut is added/removed inside the overlay as well. Could there be something wrong with your install? Have you looked at admin/reports/dblog to see if there are any problems being logged?

Could there be something wrong with your xampp? It looks like a relatively old version, as the recent versions are running PHP 5.3 and mysql 5.5. If you'll let me know what version of xampp you're running I'll give it a try. Probably first I'll try a current xampp on Windows Vista. (XAMPP hasn't had a version with Mysql 5.0 for more than 2 years, since December 23, 2008)

Thanks for your report, and we all want to make this work right. Please stick with this as long as you think it's a Drupal problem.

rfay’s picture

I just did a download of XAMPP (1.7.3, the current version) and downloaded Drupal 7.0-rc3 as a tarball and did the install on Windows Vista. I had no troubles with the install and cannot recreate your problem, and also tested #1005896: Toolbar disappears when a shortcut is added/removed inside the overlay and found no problem there.

One thing I notice in your bug reports is that you do not have clean URLs on... and they would have been on by default in any normal install. Is it possible that you have lost your .htaccess file somehow? That might cause some interesting behavior. (I just tried it and found that it does cause some problems with adding items to the toolbar, but not the issue you reported in #1005896.)

burgeonit’s picture

Status: Active » Closed (cannot reproduce)

Hi rfay,

Thanks for ur effort to understand & reproduce the issues. I think something is wrong with my old XAMPP installation. I was working for quite some time (several months) & I had been working with different drupal 6 installations.

But after you mentioned that these issues cannot be reporduced, I installed everything new.
1. XAMPP for Windows Version 1.7.3
2. Drupal 7 rc3

Everything works fine! I don't get these problems anymore.

As well the other issue I posted is nomore reproducible.
#1005896: Toolbar disappears when a shortcut is added/removed

Thanks

rfay’s picture

Thanks for doing that, and I'm glad things are working. I'll be keeping my eyes out for this sort of thing anyway.

rightchoice2c_me’s picture

I encountered the same error, I was not able to access the content part apart from that I am able to access other admin pages, I debugged that error, and figured out that probs is with filter formats.

I made the plain text as default and deleted node 1 that I had created, and now the site functions as usual.

FYI,
I was getting this error:

Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in filter_dom_load() (line 1042 of /var/www/htdocs/drupal7/modules/filter/filter.module.

I think this is due to a conflict between DomDocument and DomXML extentions.
So commented out the following in php.ini:
extension=php_domxml.dll,
worked perfectly for me.

rfay’s picture

Status: Closed (cannot reproduce) » Active

@rightchoice2c_me, we can't deal with this unless you can give specific instructions on how to recreate it.

I'm glad you gave the important info about the possibly conflicting PHP extensions, but please:

1. Can you recreate this by setting your extensions back to what they were?
2. What environment are you using? PHP version? Operating system? Etc.?

devenderdagar’s picture

Version: 7.0-rc3 » 7.0

I agree that it was some conflict at XAMPP windows DomDocument and DomXML extentions.
So commented out the following in php.ini :
extension=php_domxml.dll,
and worked perfectly for me.

Cheers

damien tournoud’s picture

It is documented all over the web that one should disable the php_domxml extension on XAMPP. That said, nothing explains how the XAMPP guys managed to enable by default a PHP4 extension on PHP 5.2... :)

luketarplin’s picture

I had this problem, and after tracking through the problem I found that the error relates to the __construct Method of the DOMDocument object. As a test I added '1.0' as the first argument and it all started working again.... Hacking core though is never the answer so after further investigation I found turning off the domxml extension on php did the trick. I am using WAMP Server with php 5.2.11

sanjoy_drupal’s picture

I am facing this type of problems too.
By turning off extension=php_domxml.dll will fix this issue, but this is not a fruitful solution to them who don't know about php.ini.

benjaminbob’s picture

StatusFileSize
new28.08 KB

Hello,

I am also having this problem (trying to create a 'basic page'). I type in all the info I want on the page, click 'save' and all pages on my website have gone blank!

Not sure what I am doing wrong - I am fairly new to web development and drupal, and am a 'user' rather than a techie and thus don't know how to code things, and so far have not yet learned anything about php.

Can anyone please give me a 'jargon free' or 'plain english' guide to sorting this out?

For more info, I am using drupal 7, with various modules (see attachment for list of modules I have installed).

To try and explain what I am doing to get a new 'basic page' added:

1. click on 'add content'
2. Click on 'basic page'
3. Type in the 'title' and 'body'
4. Add in the menu item and description, then click 'save'

The page exists with the menu tab, but there is no content on that page - it is blank. I have tried with 'plain text' and 'filtered html' but neither work.

Any ideas what I can do so I can start getting content into my website?

Thanks

Damian Davis
(benjaminbob)
England

bishwadeep’s picture

Thank you guys this solved my problem as well. I uncomment the php_domxml.dll in php.ini and it solved my problem.

mdupont’s picture

Status: Active » Fixed

@benjaminbob: I assume you are using XAMPP. Look for the php.ini file and comment out or delete the following line:
extension=php_domxml.dll

The issue seems fixed for me, as we know it is not Drupal but XAMPP default configuration.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

felinobb’s picture

Version: 7.0 » 7.10
Assigned: Unassigned » felinobb

I have problems with format text, only can work with text plain, not filter or html, the
page show white.
and error Warning: domdocument::domdocument() expects at least 1 parameter, 0 given en filter_dom_load() (línea 1045 de E:\Server_Web\xampp\htdocs\drupal7-10\modules\filter\filter.module).
please i need help.

voj’s picture

the comment #15 works for me thanks!