| Author |  | 
      
        | davkraid Newbie
 
  
 
 Joined: 11 October 2013
 Location: Germany
 Online Status: Offline
 Posts: 5
 | 
          Hey guys,
           | Posted: 22 September 2014 at 5:47am | IP Logged |   |  
           | 
 |  
 I can't save anything in my adminpanel (Domains). It always shows "Failed to save." That's my error log:
 
 -----------------
 
 Location: index.php
 
 [12:46:14.25] /mail/adminpanel/index.php
 [12:46:14.25]
 call CCommonModule->PopulateData->SystemLogging()
 call CWebMailModule->PopulateData->SystemLogging()
 
 [12:46:15.34] /mail/adminpanel/index.php?tab=domains
 [12:46:15.34]
 DB(PDO/mysql) : start connect to webmail@localhost
 DB : PDO(mysql:dbname=webmail;host=localhost;charset=utf8)
 DB : connected to webmail@localhost
 DB[1] > SELECT COUNT(id_domain) as domains_count FROM awm_domains
 DB[2] > SELECT id_domain, is_internal, name FROM awm_domains  ORDER BY name ASC LIMIT 19 OFFSET 0
 call CCommonModule->PopulateData->DomainsMain()
 call CWebMailModule->PopulateData->DomainsMain()
 DB : disconnect from webmail@localhost
 
 [12:46:17.11] /mail/adminpanel/index.php?edit&tab=domains&uid=0
 [12:46:17.11]
 DB(PDO/mysql) : start connect to webmail@localhost
 DB : PDO(mysql:dbname=webmail;host=localhost;charset=utf8)
 DB : connected to webmail@localhost
 DB[1] > SELECT COUNT(id_domain) as domains_count FROM awm_domains
 DB[2] > SELECT id_domain, is_internal, name FROM awm_domains  ORDER BY name ASC LIMIT 19 OFFSET 0
 Main object not exist ["domain_edit"]
 Set main object ["domain_edit", CDomain $oObject]
 call CCommonModule->PopulateData->DomainsMainEdit()
 call CWebMailModule->PopulateData->DomainsMainEdit()
 DB : disconnect from webmail@localhost
 
 [12:46:18.64] [POST(23)] /mail/adminpanel/index.php?ajax
 [12:46:18.64] POST > [QueryAction, hiddenDomainId, chOverrideSettings, selIncomingMailProtocol, txtIncomingMailHost, txtIncomingMailPort, txtOutgoingMailHost, txtOutgoingMailPort, radioAuthType, chAllowUsersAccessAccountsSettings, txtSiteName, txtWebDomain, selSkin, chAllowUsersAccessInterfaveSettings, selLanguage, selTimeZone, radioTimeFormat, selDateformat, chEnableWebmail, selMessagesPerPage, selAutocheckMail, chEnableAddressBook, selContactsPerPage]
 [12:46:18.64]
 call CCommonModule->TableAjaxAction->DomainsEdit_Pre()
 Main object not exist ["domain_edit"]
 Set main object ["domain_edit", CDomain $oObject]
 call CCommonModule->TableAjaxAction->DomainsEdit()
 call CWebMailModule->TableAjaxAction->DomainsEdit()
 call CCommonModule->TableAjaxAction->DomainsEdit_Post()
 Delete main object ["domain_edit"]
 function DomainsEdit_Post() return $sError = Failed to save.
 AJAX: { "null": "null", "error": "Failed to save." }
 
 [12:46:20.02] /mail/adminpanel/index.php?tab=system
 [12:46:20.02]
 call CCommonModule->PopulateData->SystemLogging()
 call CWebMailModule->PopulateData->SystemLogging()
 
 [12:46:21.49] /mail/adminpanel/index.php?pop&type=dllog
 [12:46:21.49]
 call CCommonModule->StandardPopAction->System()
 call CWebMailModule->StandardPopAction->System()
 
 
 ------------------
 
 I don't have any idea what kind of problem this is.
 
 Best regards,
 davkraid
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          You need to make sure data directory is writable by web server, changing permissions for the directory recursively should do the trick.
           | Posted: 22 September 2014 at 6:35am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | davkraid Newbie
 
  
 
 Joined: 11 October 2013
 Location: Germany
 Online Status: Offline
 Posts: 5
 | 
          I've changed the permission to 777 for the data directory (recursive). Still the same problem.
           | Posted: 22 September 2014 at 6:55am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | davkraid Newbie
 
  
 
 Joined: 11 October 2013
 Location: Germany
 Online Status: Offline
 Posts: 5
 | 
          Oh my gosh! I got it. Wrong directory.
           | Posted: 22 September 2014 at 6:57am | IP Logged |   |  
           | 
 |  Sorry, shame on me.
   | 
       
        | Back to Top |     | 
       
       
        |  |