whenever my drupal site tries to run a cronjob, i get an error in my apache error log as follows,
[Tue Nov 24 23:28:31 2009] [error] [client 64.141.5.41] PHP Fatal error: Class 'DOMDocument' not found in /var/www/main/modules/wowarmory/wowarmory.inc on line 134, referer: http://portal.va7paq.ca/?q=admin/settings/supercron
this is an issue as wowarmory is unable to grab any info from the armory itself, and running the cron manually for wowarmory just sticks at a blank white php page. i had the module working fine a few weeks back on a debian server, i recently migrated all my stuff to a CentOS server and did a fresh drupal install, and now this is no longer working, with the default drupal Cron, or with supercron...
any help offered will be greatly appreciated.
Cheers,
Tyler
Comments
Comment #1
nhdriver4 commentedMy guess right off the top of my head would be that the DOM is not being populated. Make sure that the curl module is enabled in your php.ini. Change that, restart apache and let me know how that works for you.
Comment #2
wolf87ca commentedHey,
shortly after i posted that i went digging around a bit more and discovered i had forgotten to install the php-xml module, installed it restarted apache and she worked fine... yeah, my first intuition was php-curl, but i remember specifically installing it, in any case its all fixed.
Thanks Though :)
Cheers,
Tyler
Comment #3
pauligree commentedInstalling php-xml resolved for me too
Comment #4
ravi shankar karnati commentedHow an i install the PHP-xml module ?
can u briefly explain? thanks in advance...
Comment #5
ravi shankar karnati commentedHow can i install the PHP-xml module ?
can u briefly explain? thanks in advance...
Comment #6
darrellduane commentedOn Fedora 16, I installed php-xml by doing the following on the command line:
I'm not sure if php-devel is required but it may be and can't hurt. Then I had to edit my php.ini file and add the line:
I added this line in the section where it talks about extensions. I then restarted the apache web server and this error went away.