Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: PHP Warning upon installation?! Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Milos
Newbie
Newbie
Avatar

Joined: 10 January 2008
Location: New Zealand
Online Status: Offline
Posts: 5
Posted: 10 January 2008 at 12:39am | IP Logged Quote Milos

Hello everyone,

Thanks for opening my topic. I am having trouble installing MailBee Lite (PHP Version).

Server software: Windows Server 2003 + Apache/2.2.6 (Win32) + PHP/5.2.5

When I ran it for the first time it worked and gave me an expected error that I didn't enter the correct location for the "data" folder; this was easily fixed. Once that has been done I went back to the page and refreshed and sadly it returned an unexpected PHP warning that stated:

"Warning: domdocument::domdocument() expects parameter 2 to be long, string given in D:\...\...\...\mail\web\class_dom_xml.php on line 12"

There was no other content on the page.

(Replaced system directory for my security )

Any help would be appreciated and I can't wait to use this!

Regards,

Milos
Back to Top View Milos's Profile Search for other posts by Milos
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 10 January 2008 at 3:26am | IP Logged Quote Andrew

Please try to comment the following line in your php.ini:

Code:
extension=php_domxml.dll


so it'll become:

Code:
;extension=php_domxml.dll


This URL should be helpful for you.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Milos
Newbie
Newbie
Avatar

Joined: 10 January 2008
Location: New Zealand
Online Status: Offline
Posts: 5
Posted: 10 January 2008 at 4:12am | IP Logged Quote Milos

Wow! That worked flawlessly!

So then why does it say in the installation help that you must install the PHP DOM extention if you don't use it?

Is it because (from the URL you sent me - Quote):

Code:

According to the php manual it shouldn't be included in php5, as it was replaced by the new DOM extension.


Thanks, I'm about to try MailBee Lite (PHP) now. It's a very good WebMail script by the looks of it =]


Regards,

Milos
Back to Top View Milos's Profile Search for other posts by Milos
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 10 January 2008 at 4:21am | IP Logged Quote Andrew

Actually, we use PHP DOM extension, but PHP5 has it embedded while PHP4 doesn't. In case of PHP5, enabling external php_domxml.dll in php.ini is not required.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Milos
Newbie
Newbie
Avatar

Joined: 10 January 2008
Location: New Zealand
Online Status: Offline
Posts: 5
Posted: 10 January 2008 at 4:25am | IP Logged Quote Milos

Oh I see. It shouldn't really come with the installation then, because that's where I installed it from. Hmm...

Thanks for all your help though!
Back to Top View Milos's Profile Search for other posts by Milos
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide