Active
Project:
XML sitemap
Version:
6.x-2.0-beta2
Component:
xmlsitemap.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2011 at 14:06 UTC
Updated:
11 Apr 2011 at 23:21 UTC
Jump to comment: Most recent
Comments
Comment #1
pwaterz commentedWhat version of php are you running?
Comment #2
Anonymous (not verified) commentedI have the same problem when running the update.php to beta-2 (Apache/2.2.15 (Unix) PHP/5.2.17) - Furthermore all acces to administration menu gives same problem
Drupal er run on 6.20 and all modules are up to date
Please help :-)
Thomas
Furter Info
Error in update.php
An error occurred. http://www.site.xx/drupal/update.php?id=11&op=do
Fatal error: Cannot pass parameter 2 by reference in /home/virtual/site.xx/public_html/drupal/sites/all/modules/xmlsitemap/xmlsitemap.module on line 339
The update process was aborted prematurely while running update #6203 in xmlsitemap.module. All errors have been logged. You may need to check the watchdog database table manually.
(nothing to be seen in watchdog regarding error)
Comment #3
sterndata commentedHere's the error:
PHP Fatal error: Class 'XMLWriter' not found in /var/www/drupal/drupal/sites/all/modules/xmlsitemap/xmlsitemap.xmlsitemap.inc on line 12
Comment #4
kirtimansharma commentedphp is 5.x
Comment #5
jppo commentedHello,
I get the same kind of error :
Call to undefined function xmlsitemap_link_type_rename() in ... drupal/modules/xmlsitemap/xmlsitemap_menu/xmlsitemap_menu.install on line 48
and then :
recoverable fatal error: Argument 1 passed to xmlsitemap_sitemap_load_multiple() must be an array, boolean given, called in www/drupal/modules/xmlsitemap/xmlsitemap.install on line 656 and defined in www/drupal/modules/xmlsitemap/xmlsitemap.module on line 124.
recoverable fatal error: Argument 1 passed to xmlsitemap_sitemap_load_multiple() must be an array, boolean given, called in /www/drupal/modules/xmlsitemap/xmlsitemap.install on line 703 and defined in /www/drupal/modules/xmlsitemap/xmlsitemap.module on line 124.
The update process was aborted prematurely while running update #6201 in xmlsitemap_menu.module. All errors have been logged. You may need to check the watchdog database table manually.
Some parts have been done :
The following queries were executed
xmlsitemap module
Update #6203
ALTER TABLE {xmlsitemap_sitemap} ADD `max_filesize` INT unsigned NOT NULL DEFAULT 0
Update #6204
ALTER TABLE {xmlsitemap_sitemap} DROP KEY context_hash
ALTER TABLE {xmlsitemap_sitemap} DROP smid
ALTER TABLE {xmlsitemap_sitemap} CHANGE `context_hash` `smid` VARCHAR(64) NOT NULL
ALTER TABLE {xmlsitemap_sitemap} ADD PRIMARY KEY (smid)
xmlsitemap_engines module
Update #6202
The following search engines have deprecated their XML sitemap ping services and have been disabled: Ask.com, Moreover, Yahoo.com.
How to "repair" the watchdog database ?
The xmlsitemap module can't be called from the administration menu, the action gives a blank page.
I am using Drupal on a Debian system (lenny) with :
php5 5.2.6.dfsg.1-1
apache2 2.2.9-10+lenny
mysql-server-5 5.0.51a-24
The system is on a "cloud" machine running under XEN.
Some problems running system, so I have to re-install from the daily backup (files and database) as some tables were in an intermediate (and not usable) state.
Regards
JPPO
Comment #6
dave reid@sterndata Check your admin/reports/status page - the module requires the XMLWriter class to be included in your PHP installation.
Comment #7
sterndata commentedThanks. I'm using the Amazon linux implementation of PHP and phpinfo() reports this in the configure section: --disable-xmlwriter
I'll install php-xml and try again. (And that fixed it.)
Comment #8
kirtimansharma commentedoops. module is giving a lot of fatal errors. Cron is not able to run - shows a fatal error, update is not able to run - Fatal Error shows and I don't if its only me but I m experiencing a slow production site render.
I guess I ll uninstall the module till a solution is devised, I m sure the module maintainers are working very hard on it.
Comment #9
dave reid@sterndata: That is unfortunate that it's disabled by default. Always check admin/reports/status.
@kirtimansharma: Without knowing what the errors are, I cannot work very hard on it.
Comment #10
Anonymous (not verified) commented@Dave Reid: What kind of info do you need - Just looked at my php and xml-writer is enabled. I'm quite new at debugging Drupal / php, so please instruct what info you need.
On my php I have the following consering Xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.26
xmlreader
XMLReader enabled
xmlwriter
XMLWriter enabled
Cron does not run as it should - Keeps on running for a hour and then drupal shoot it down
The error is Fatal error: Cannot pass parameter 2 by reference in /home/virtual/site.xx/public_html/drupal/sites/all/modules/xmlsitemap/xmlsitemap.module on line 339
Just say what you need :-)
Comment #11
desiman commentedI had the same issue and was resolved by installing php-xml
yum -y install php-xml
and restarting Apache.
Comment #12
Anonymous (not verified) commentedsubscribing
both xmlreader and -writer should be installed in my case, still throws the error.
Comment #13
the_g_bomb commentedSimilar issues, am awaiting my managed server to enable xmlreader and xmlwriter.
Drush is updating the module even when it is disabled, so I have had to uninstall for the time being. Will try again when I have confirmation that the PHP classes are enabled.