Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Install problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 25 November 2007 at 8:58am | IP Logged Quote indigoallan

Hi,

I am installing this product onto a Windows based PC. I can successfully load the Admin page but when I enter the default username and password nothing happens!

I can also load index.php but before it loads an error message appears with Session Language Error. Then when I try to log into my email, I get this error

Fatal error: Call to a member function Connect() on a non-object in C:\server\www\ticketyboos\public_html\wmail\web\class_accoun t.php on line 583

Any ideas?
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 26 November 2007 at 6:36am | IP Logged Quote Alex

Make sure to set the correct path for "session.save_path" parameter in "php.ini" config file.

This path must point to an existing folder with the write permissions for User-Owner of PHP interpreter and scripts. PHP applications will store temporary data in this folder.

To learn more about PHP Session Handling Functions, please visit http://www.php.net/session.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 08 January 2008 at 1:37pm | IP Logged Quote indigoallan

Hi,

I am still having these problems, despite being able to run the Mailbee Lite on the same server without any problems whatsoever.

Any ideas? I am starting to stress out about this one now!!
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 08 January 2008 at 2:34pm | IP Logged Quote indigoallan

I have got the Admin panel working - I suspect the main problem is hmailserver which is running fine in the background.

I had not been able to enter the database settings (which I have now forgotten!!!) to get it to work with hMailServer.

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


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 09 January 2008 at 1:57am | IP Logged Quote Andrew

Quote:
I had not been able to enter the database settings (which I have now forgotten!!!) to get it to work with hMailServer.


Sorry, but we couldn't understand this. How database settings relate to mail server?

Have you completed all the steps described in the installation instructions?

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

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 09 January 2008 at 10:34am | IP Logged Quote indigoallan

Sorry - must have been tired last night!

The problems I was having previously prevented me from actually being able to access the mailadm.php script. I have now set the permissions correctly and I am able to log into the Admin module.

When using the Mailbee Lite version of the product, I did not have to enter the database settings and the webmail connected to the mail accounts just fine.

When I try with the purchased version, I cannot connect to the database, despite entering the correct username, password, etc.

I am running hMailServer on the computer and it has a MySQL database setup and I can connect fine using any mail software (ie Outlook) but not with the webmail admin app.
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Andrew
AfterLogic Support
AfterLogic Support


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

Lite version doesn't use a database backend while Pro version does. This is one of main advantages of Pro version which allows storing user account settings, contacts/addressbooks, folders, messages, etc. in the database.

Which error do you get on connect? Are you sure necessary database settings specified correctly? Please refer to installation manual to learn which settings need to be specified.

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

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 10 January 2008 at 2:05pm | IP Logged Quote indigoallan

When I log into the mailadm.php script and click on database settings, I enter the correct username and password information. When I click on test connection, I get this error:

Connect unsuccessful!
Can't load MySQL extension.
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 11 January 2008 at 12:40am | IP Logged Quote Andrew

Please uncomment ;extension=php_mysql.dll or ;extension=php_mysql.so line (remove first semicolon) in your php.ini config file or ask your admin to do that.

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

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 11 January 2008 at 7:14am | IP Logged Quote indigoallan

Andrew,

Thanks for you help so far - this has partially resolved things!

I now get the error

Connect unsuccessful!
Access denied for user 'root'@'localhost' (using password: YES)

I assume this is a password related issue. I have been into the config file of hmailserver and the username (root) and password are correct, as is localhost. Should the port number be added in any way? I have left the DSN box blank. I have also tried replacing the username with Administrator (which is listed in the log in box but not in the config file) but did not achieve any more positive results.

Regards
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 January 2008 at 7:50am | IP Logged Quote Alex

Please make sure that you entered the correct SQL password in "mailadm.php" -> "Database Settings" section.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 11 January 2008 at 9:02am | IP Logged Quote indigoallan

I have triple checked and they are fine. Do you need to add the port number after the server address (ie localhost,3307 or localhost:3307/127.0.0.1,3307 or 127.0.0.1:3307)?

I can sense I'm close this time!
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 January 2008 at 10:03am | IP Logged Quote Alex

Yes, you may try localhost:3307 (because 3307 port is not standard and the default for PHP is 3306).

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 11 January 2008 at 10:12am | IP Logged Quote indigoallan

I added that anyway and it still doesn't work...I have tried getting a database explorer to look into the hMailServer database but nothing will open it (all same errors).

Do you know of another mail server engine that will work with Mailbee? I'm close to giving up on hMailServer now
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 January 2008 at 10:30am | IP Logged Quote Alex

Why do you think the issue is connected to hMailServer (i.e., with mail server)? I see the database connection is the problem, not the connection with the mail server.

Thus, you should either upgrade to MSSQL or somehow get MySQL working. It seems MySQL (or MySQL-PHP bridge) is not working/configured correctly as you have same errors in different apps.

Are you sure you're not confusing the password of the root account on the mail server (hMailServer) with the password of the root account in your database (MySQL)?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 11 January 2008 at 10:44am | IP Logged Quote indigoallan

Alex,

Thanks for your response. I am fairly new to all this SQL stuff as you can tell!

I am trying to connect to the database using the root username and password of the mail server. This is what is in the config file:

[Database]
Internal=1
type=MYSQL
username=root
password=brush
passwordencryption=0
port=3306
server=localhost
database=hMailServer

I have no other username and password to use. MySQL is bundled into the hMailServer and you are not provided with any other usernames/passwords.

You are on to something here, I just don't know what else to suggest re usernames and passwords!

Thanks again
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 January 2008 at 10:51am | IP Logged Quote Alex

I think you should contact hMailServer manufacturers to ask them how other applications can use the bundled MySQL.

We support only standalone MySQL and it's hard to say how to use bundled/customized version which comes with hMailServer. Only hMailServer manufacturer knows all the details.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 11 January 2008 at 11:16am | IP Logged Quote indigoallan

Alex,

Thanks for your patience and the pointers. I have downloaded seperate MySQL server software and created a new database using hMailServer and IT WORKS!!!

I have created a test user in hMailServer and am trying to get it to work with the Mailbee login page now (it keeps coming back wrong password)
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 January 2008 at 11:23am | IP Logged Quote Alex

OK, fine. As for wrong password on login page, you should make sure you can access the same account using Thunderbird or Outlook Express first.

Also, you should check usernames like account and account@domain or domain\account (some configurations may require or not require to specify domain part).

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 11 January 2008 at 11:27am | IP Logged Quote indigoallan

I have just tested using Outlook and it works fine. I created a single domain with one email account on hMailServer but it didn't list in mailadm.php under Users Management.

I tried to create an entirely different user account (using same domain) on the 'Create User' option but when I click Save, I get this error:

Notice: Trying to get property of non-object in C:\server\www\ticketyboos\public_html\webmail\webber\mailadm .php on line 413

Fatal error: Call to a member function CreateAccount() on a non-object in C:\server\www\ticketyboos\public_html\webmail\webber\mailadm .php on line 415
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 January 2008 at 11:46am | IP Logged Quote Alex

Quote:
have just tested using Outlook and it works fine. I created a single domain with one email account on hMailServer but it didn't list in mailadm.php under Users Management.


That's correct. WebMail Pro database has nothing to do with hMailServer database. WebMail Pro is a mail client, like Outlook. The fact that you created an account on the mail server does not automatically creates the same account in the Outlook, correct? The same is true for WebMail Pro.

Quote:
Notice: Trying to get property of non-object in C:\server\www\ticketyboos\public_html\webmail\webber\mailadm .php on line 413


I forwarded this to the developers for investigation. Will keep you updated.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
indigoallan
Newbie
Newbie
Avatar

Joined: 25 November 2007
Location: United Kingdom
Online Status: Offline
Posts: 14
Posted: 11 January 2008 at 1:14pm | IP Logged Quote indigoallan

Excellent!

I have added a few more users in hMailServer but none of them can be logged into via the webmail....keeps saying wrong password, even though I know it is correct
Back to Top View indigoallan's Profile Search for other posts by indigoallan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 13 January 2008 at 4:49am | IP Logged Quote Alex

Please enable logging into a file using WebMail Pro Admin Console/Debug Settings, then try again and check the log or send it to us for examination.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 14 January 2008 at 7:58am | IP Logged Quote Alex

We have answered you via email.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

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