| Author |  | 
      
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          Hi,
           | Posted: 25 November 2007 at 8:58am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Make sure to set the correct path for "session.save_path" parameter in "php.ini" config file.
           | Posted: 26 November 2007 at 6:36am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          Hi,
           | Posted: 08 January 2008 at 1:37pm | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          I have got the Admin panel working - I suspect the main problem is hmailserver which is running fine in the background.
           | Posted: 08 January 2008 at 2:34pm | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Andrew AfterLogic Support
 
  
 
 Joined: 28 April 2006
 Location: United States
 Online Status: Offline
 Posts: 1189
 | 
          
           | Posted: 09 January 2008 at 1:57am | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          Sorry - must have been tired last night!
           | Posted: 09 January 2008 at 10:34am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Andrew AfterLogic Support
 
  
 
 Joined: 28 April 2006
 Location: United States
 Online Status: Offline
 Posts: 1189
 | 
          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.
           | Posted: 10 January 2008 at 1:26am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          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:
           | Posted: 10 January 2008 at 2:05pm | IP Logged |   |  
           | 
 |  
 Connect unsuccessful!
 Can't load MySQL extension.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Andrew AfterLogic Support
 
  
 
 Joined: 28 April 2006
 Location: United States
 Online Status: Offline
 Posts: 1189
 | 
          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.
           | Posted: 11 January 2008 at 12:40am | IP Logged |   |  
           | 
 |  
 Best regards,
 Andrew
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          Andrew,
           | Posted: 11 January 2008 at 7:14am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Please make sure that you entered the correct SQL password in "mailadm.php" -> "Database Settings" section.
           | Posted: 11 January 2008 at 7:50am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          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)?
           | Posted: 11 January 2008 at 9:02am | IP Logged |   |  
           | 
 |  
 I can sense I'm close this time!
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Yes, you may try localhost:3307 (because 3307 port is not standard and the default for PHP is 3306).
           | Posted: 11 January 2008 at 10:03am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          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).
           | Posted: 11 January 2008 at 10:12am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          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.
           | Posted: 11 January 2008 at 10:30am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          Alex,
           | Posted: 11 January 2008 at 10:44am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          I think you should contact hMailServer manufacturers to ask them how other applications can use the bundled MySQL.
           | Posted: 11 January 2008 at 10:51am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          Alex,
           | Posted: 11 January 2008 at 11:16am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          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.
           | Posted: 11 January 2008 at 11:23am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          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.
           | Posted: 11 January 2008 at 11:27am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          
           | Posted: 11 January 2008 at 11:46am | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | indigoallan Newbie
 
  
  
 Joined: 25 November 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 14
 | 
          Excellent!
           | Posted: 11 January 2008 at 1:14pm | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          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.
           | Posted: 13 January 2008 at 4:49am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          We have answered you via email.
           | Posted: 14 January 2008 at 7:58am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |