Error: Call to undefined Method
Posted: 11 Jul 2008, 13:17
Hello,
when I installed the Phoca Guestbook on a local test installation,
Installation and Creation of Guestbook worked fine.
Also no error when trying to create a link in the main menu
(to the one and only guestbook)
But when I try to click on the menu item,
the following warning and error show instead of the guestbook:
Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in
[site root]\components\com_phocaguestbook\assets\library\HTMLPurifier\Lexer\DOMLex.php on line 58
Fatal error: Call to undefined method domdocument::loadHTML() in
[site root]\components\com_phocaguestbook\assets\library\HTMLPurifier\Lexer\DOMLex.php on line 62
Short overview of the system:
Phoca Guestbook: 1.3.0 beta
Joomla: 1.5.4 German
XAMPP 1.6.7 for Windows
- Apache HTTPD 2.2.9
- MySQL 5.0.51b
- PHP 5.2.6
Windows2000 Professional (5.0 Build 2195 Platform 2 Service Pack 4)
for a detailed overview I attach a JTS log
Any help is appreciated
Thanks in advance for your help!
Dirk
Diagnostic Information
Joomla! Version: Joomla! 1.5.4 Production/Stable [ Naiki ] 6-July-2008 22:00 GMT
configuration.php: Writable (Mode: 666 ) | RG_EMULATION: N/A
Architecture/Platform: Windows NT 5.0 ( i586) | Web Server: Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 ( localhost ) | PHP Version: 5.2.6
PHP Requirements: register_globals: Disabled | magic_quotes_gpc: Enabled | safe_mode: Disabled | MySQL Support: Yes | XML Support: Yes | zlib Support: Yes
mbstring Support (1.5): Yes | iconv Support (1.5): Yes | save.session_path: Writable | Max.Execution Time: 60 seconds | File Uploads: Enabled
MySQL Version: 5.0.51b-community-nt ( [...] via TCP/IP )
Extended Information:
SEF: Disabled (without ReWrite) | FTP Layer: Enabled | htaccess: Not Implemented
PHP/suExec: User and Web Server accounts are not the same. (PHP/suExec probably not installed)
PHP Environment: API: apache2handler | MySQLi: Yes | Max. Memory: 32M | Max. Upload Size: 32M | Max. Post Size: 16M | Max. Input Time: 60 | Zend Version: 2.2.0
Disabled Functions:
MySQL Client: 5.0.51b ( latin1 )
when I installed the Phoca Guestbook on a local test installation,
Installation and Creation of Guestbook worked fine.
Also no error when trying to create a link in the main menu
(to the one and only guestbook)
But when I try to click on the menu item,
the following warning and error show instead of the guestbook:
Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in
[site root]\components\com_phocaguestbook\assets\library\HTMLPurifier\Lexer\DOMLex.php on line 58
Fatal error: Call to undefined method domdocument::loadHTML() in
[site root]\components\com_phocaguestbook\assets\library\HTMLPurifier\Lexer\DOMLex.php on line 62
Short overview of the system:
Phoca Guestbook: 1.3.0 beta
Joomla: 1.5.4 German
XAMPP 1.6.7 for Windows
- Apache HTTPD 2.2.9
- MySQL 5.0.51b
- PHP 5.2.6
Windows2000 Professional (5.0 Build 2195 Platform 2 Service Pack 4)
for a detailed overview I attach a JTS log
Any help is appreciated
Thanks in advance for your help!
Dirk
Diagnostic Information
Joomla! Version: Joomla! 1.5.4 Production/Stable [ Naiki ] 6-July-2008 22:00 GMT
configuration.php: Writable (Mode: 666 ) | RG_EMULATION: N/A
Architecture/Platform: Windows NT 5.0 ( i586) | Web Server: Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 ( localhost ) | PHP Version: 5.2.6
PHP Requirements: register_globals: Disabled | magic_quotes_gpc: Enabled | safe_mode: Disabled | MySQL Support: Yes | XML Support: Yes | zlib Support: Yes
mbstring Support (1.5): Yes | iconv Support (1.5): Yes | save.session_path: Writable | Max.Execution Time: 60 seconds | File Uploads: Enabled
MySQL Version: 5.0.51b-community-nt ( [...] via TCP/IP )
Extended Information:
SEF: Disabled (without ReWrite) | FTP Layer: Enabled | htaccess: Not Implemented
PHP/suExec: User and Web Server accounts are not the same. (PHP/suExec probably not installed)
PHP Environment: API: apache2handler | MySQLi: Yes | Max. Memory: 32M | Max. Upload Size: 32M | Max. Post Size: 16M | Max. Input Time: 60 | Zend Version: 2.2.0
Disabled Functions:
MySQL Client: 5.0.51b ( latin1 )