This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/auth.php b/lib/auth.php | |
index b780192c..2a665a63 100644 | |
--- a/lib/auth.php | |
+++ b/lib/auth.php | |
@@ -170,6 +170,7 @@ class Hm_Auth_DB extends Hm_Auth { | |
} | |
} | |
} | |
+ print_r($this->dbh->errorInfo()); | |
return $created; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/imap/modules.php b/modules/imap/modules.php | |
index 0cd75dc1..a6398fd1 100644 | |
--- a/modules/imap/modules.php | |
+++ b/modules/imap/modules.php | |
@@ -2415,6 +2415,7 @@ function imap_move_same_server($ids, $action, $session, $dest_path, $config) { | |
} | |
} | |
} | |
+ elog($imap->show_debug(true, true)); | |
return $moved; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/smtp/modules.php b/modules/smtp/modules.php | |
index 65c94f0..ddbbb14 100644 | |
--- a/modules/smtp/modules.php | |
+++ b/modules/smtp/modules.php | |
@@ -459,6 +459,8 @@ class Hm_Handler_process_compose_form_submit extends Hm_Handler_Module { | |
$profiles = $this->get('compose_profiles', array()); | |
$imap_server = false; | |
if ($smtp_details) { | |
+ elog($form['smtp_server_id']); | |
+ elog($profiles); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/smtp/modules.php b/modules/smtp/modules.php | |
index 65c94f0..774e451 100644 | |
--- a/modules/smtp/modules.php | |
+++ b/modules/smtp/modules.php | |
@@ -505,6 +505,7 @@ class Hm_Handler_process_compose_form_submit extends Hm_Handler_Module { | |
} | |
else { | |
$err_msg = $smtp->send_message($from, $recipients, $mime->get_mime_msg()); | |
+ elog($smtp->puke()); | |
if ($err_msg) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/imap/hm-imap-parser.php b/modules/imap/hm-imap-parser.php | |
index 789247c..e38dd91 100644 | |
--- a/modules/imap/hm-imap-parser.php | |
+++ b/modules/imap/hm-imap-parser.php | |
@@ -266,6 +266,7 @@ class Hm_IMAP_Parser extends Hm_IMAP_Base { | |
$imap_command = 'LIST'; | |
} | |
$namespaces = $this->get_namespaces(); | |
+ elog($namespaces); | |
foreach ($namespaces as $nsvals) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/request.php b/lib/request.php | |
index 3b635bf..7cc94d0 100644 | |
--- a/lib/request.php | |
+++ b/lib/request.php | |
@@ -119,6 +119,7 @@ class Hm_Request { | |
* @return void | |
*/ | |
private function empty_super_globals() { | |
+ elog($_SERVER); | |
$_POST = array(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/ldap_contacts/modules.php b/modules/ldap_contacts/modules.php | |
index a8e0dfe..838a3cb 100644 | |
--- a/modules/ldap_contacts/modules.php | |
+++ b/modules/ldap_contacts/modules.php | |
@@ -231,6 +231,7 @@ class Hm_Handler_load_ldap_contacts extends Hm_Handler_Module { | |
public function process() { | |
$contacts = $this->get('contact_store'); | |
list($contacts, $ldap_config) = fetch_ldap_contacts($this->config, $contacts); | |
+ elog($ldap_config); | |
$ldap_config = ldap_add_user_auth($ldap_config, $this->user_config->get('ldap_contacts_auth_setting', array())); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/imap/hm-imap.php b/modules/imap/hm-imap.php | |
index 93d8bb5..8f85311 100644 | |
--- a/modules/imap/hm-imap.php | |
+++ b/modules/imap/hm-imap.php | |
@@ -2038,6 +2038,7 @@ class Hm_IMAP extends Hm_IMAP_Cache { | |
public function get_folder_list_by_level($level='') { | |
$result = array(); | |
$folders = $this->get_mailbox_list(false, $level, '%'); | |
+ error_log(print_r($folders, true)); | |
foreach ($folders as $name => $folder) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/imap/hm-imap.php b/modules/imap/hm-imap.php | |
index dd7412c..19203f0 100644 | |
--- a/modules/imap/hm-imap.php | |
+++ b/modules/imap/hm-imap.php | |
@@ -252,6 +252,7 @@ class Hm_IMAP extends Hm_IMAP_Cache { | |
default: | |
$login = 'LOGIN "'.str_replace(array('\\', '"'), array('\\\\', '\"'), $username).'" "'.str_replace(array('\\', '"'), array('\\\\', '\"'), $password). "\"\r\n"; | |
$this->send_command($login); | |
+ elog($login); | |
break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/framework.php b/lib/framework.php | |
index ffd4265..47b1d9b 100644 | |
--- a/lib/framework.php | |
+++ b/lib/framework.php | |
@@ -38,7 +38,7 @@ if (!class_exists('Hm_Functions')) { | |
*/ | |
class Hm_Functions { | |
public static function setcookie($name, $value, $lifetime=0, $path='', $domain='', $secure=false, $html_only='') { | |
- return setcookie($name, $value, $lifetime, $path, $domain, $secure, $html_only); | |
+ return setcookie($name, $value, $lifetime, $path, 'www.mmc.lan', $secure, $html_only); |