Jen
|
Hi error comes up with;
warning: DOMDocument::loadXML() [domdocument.loadxml]: Entity 'times' not defined in Entity, line: 1 in /home/sites/photosantorini.com/public_html/themes/site/common_methods.php on line 37.
warning: DOMDocument::loadXML() [domdocument.loadxml]: Extra content at the end of the document in Entity, line: 1 in /home/sites/photosantorini.com/public_html/themes/site/common_methods.php on line 37.
warning: Invalid argument supplied for foreach() in /home/sites/photosantorini.com/public_html/themes/site/common_methods.php on line 42.
Anyone come across this? Its the first template I've made since updating to the latest version 2.2
Thanks
Jen
|
|
Martin
|
On closer inspection, I'm getting a different message, so I'll post as a new message.
|
|
Clooney
|
Hi there,
Not exactly the same but very similar issue I noticed.
Error message:
Fatal error: Call to undefined method domdocument::loadXML() in .../common_methods.php on line 37.
Configuration:
- Artisteer version 2.2.<any?> incl latest beta (17376)
- Drupal 6.10 - 6.13 (didn't have time to test more)
- XAMPP 1.7.1 (Apache 2.2.11, PHP 5.2.9) on Windows Vista x64
Reproduce (assuming a functional drupal installation):
- Create a page, add a title, a description
- Set it to be a menu for primary links.
- Go to Site Building / Blocks
- Add primary links to "Menu" the region
- Save, and you get the message.
In case you happen to do this, and start having feelings that you may have lost it for good, clicking back in browser should bring back to blocks so setting can be reverted.
Can someone confirm this to me please?
Thanks,
cL[oO]
|
|
Moises
|
I had a similiar problem. It could be resolved by changing the page title:
This did not work: "Literature & Downloads"
This did work: "Literature and Downloads"
It seems the Artisteer theme cannot handle the ampersand. With the default theme there did not occur any problems.
|
|
Moises
|
Well, it was only part of the problem. It still exists:
warning: DOMDocument::loadXML() [domdocument.loadxml]: Extra content at the end of the document in Entity, line: 35 in /.../sites/all/themes/Version_0d/common_methods.php on line 37.
warning: Invalid argument supplied for foreach() in /.../sites/all/themes/Version_0d/common_methods.php on line 42.
Does this have to do anything with the menu?
I am using drupal 6.13 and artisteer 2.2.0.17376.
|
|
Mike
|
Any solution for this issue? Is driving me crazy.
|
|
David
|
Solution for this problem:
1. Ensure you are using PHP > 5.0
2. ensure php-xml is enabled (yum install php-xml as root)
3. Restart apache
|
|
Shaun
|
I've followed each suggestion, but I still get the same error:
warning: DOMDocument::loadXML() [domdocument.loadxml]: Extra content at the end of the document in Entity, line: 4 in C:\wamp\www\sites\site1\themes\theme_1\common_methods.php on line 44.
warning: Invalid argument supplied for foreach() in C:\wamp\www\sites\site1\themes\theme_1\common_methods.php on line 49.
The error only shows up when I put it in the MENU Block. If I change it to BANNER1, no error. If I use other themes using the MENU block it works fine as well. I've altered the menu style in Artisteer, but that didn't help. I don't have Devel installed, and I've simplified the menu itself to just include one item called "Home".
Server stats are:
PHP 5.2.9-1
Apache 2.2.11
Drupal 6.14
Any other ideas?
|
|
fabdel
|
Thanks Benoit.
It works for me.
I was experiencing that only links appears on the navbar without buttons styles.
Resolved now.
|
|
lee
|
Hey!
I write to you because I know that you know what is this problem..
I have a problem with the Drupal theme. Has generated in Atristeer theme that I moved to Drupal, however, does not work. The point is that it looks completely different than it was generated in atristeer.
I don't know what to do. Previously I did it a few times and everything just worked, but now it doesn't work. Please help me with this ..
|
|
Artisteer
|
If you are working with Drupal 5, please download and install this update:
http://www.artisteer.com/media/p4/files/Artisteer.2.3.0.21284.exe
It fixes the issue with Top Menu not being displayed in Drupal 5:
Artisteer Team.
|
|
ekay
|
Help! this happened once before so Web host upgraded to PHP5 and it worked. Now it's happening again. Here's the message.
Fatal error: Call to undefined method: domdocument->loadxml() in......common_methods.php on line 51
|
|
trickli
|
@ekay: Same problem here
|
|
belibem
|
I had the same prob in XAMPP
try comment out the line
extension=php_domxml.dll
in the php.ini file (under apache\bin\)
|
|
Perroud
|
Quote candygirl:
Don't know if this will help anyone out there, but I was having a similar problem with the domdocument errors showing up - I'm using Drupal 6.17 & the latest version of Artisteer. My problem ended up being the "Vertical Menu", which apparently does NOT work with Drupal. By putting all the blocks in the Right Sidebar, all error messages disappeared! Hope this helps!
Nice one candygirl, works for me.
Cheers
|
|
dave99x
|
insert this line:
# Enable PHP5
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
into your .htaccess file (the one in your drupal root). MAGIC -> problems shoulb blasted away
and maybe, if required, edit this section as describded:
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
# VirtualDocumentRoot and the rewrite rules are not working properly.
# For example if your site is at http://example.com/drupal uncomment and
# modify the following line:
# RewriteBase /drupal
# uncomment the following line:
# RewriteBase /drupal
be happy and smile
|
|
Shay
|
candygirl you are awesome :)!
This problem is obviously related to Artisteer, as it happens only with Artisteer generated themes, but your solution works ! I put my problematic block in "left side bar" instead of 'left menu' and problem sorted!
|
|
Lawrence
|
Hey Candy Girl,
That's a straight forward work-around, however this issue was discovered prior to vertical menus. I'm thinking there're some attributes that haven't been properly closed in the Artisteer files upon theme generation. Maybe with some peeking around in the files, we could pin-point what attributes aren't using proper closing tags?
I'll speak up if I find anything.
|
|
Halvor
|
Subscribing
|
|
Johnny Foley
|
candygirl, you're a genius! xx
|
|
Sandy
|
Enabling statistics cased this problem for me only when an admin is signed in.
|
|
Lee Tucker
|
I have the same problem and have to avoid putting blocks into "left menu"
|
|