Subversion Repositories SmartDukaan

Rev

Rev 11510 | Rev 11805 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11510 Rev 11681
Line 153... Line 153...
153
					//$errmsg ='<h3>OH SNAP!!!! :</h3><p>Something is not right. <br/><h1>But Relax</h1> <br/>We are working hard on it. </p>';
153
					//$errmsg ='<h3>OH SNAP!!!! :</h3><p>Something is not right. <br/><h1>But Relax</h1> <br/>We are working hard on it. </p>';
154
					$msg = '
154
					$msg = '
155
					API for '.$key.' is not working.
155
					API for '.$key.' is not working.
156
					
156
					
157
					url of API Failed ===> '.$this->calls[$key]['url'].'
157
					url of API Failed ===> '.$this->calls[$key]['url'].'
-
 
158
					parameters are ===> '.$call['params'].'
158
					
159
 
159
					Access modifier is Public.
160
					Access modifier is Public.
160
					
161
					
161
					Error is ====> '.$this->calls[$key]["error"].'';
162
					Error is ====> '.$this->calls[$key]["error"].'';
162
					$this->write_log_send_mail('error',$msg);
163
					$this->write_log_send_mail('error',$msg);
163
					//$this->session->set_flashdata('errormsg',$errmsg);
164
					//$this->session->set_flashdata('errormsg',$errmsg);
Line 173... Line 174...
173
						$this->_ci->session->set_userdata('errorurl',$url);
174
						$this->_ci->session->set_userdata('errorurl',$url);
174
						$msg = '
175
						$msg = '
175
						API for '.$key.' is not working.
176
						API for '.$key.' is not working.
176
						
177
						
177
						url of API Failed ===> '.$this->calls[$key]['url'].'
178
						url of API Failed ===> '.$this->calls[$key]['url'].'
-
 
179
						parameters are ===> '.$call['params'].'
178
						
180
						
179
						Access modifier is Public.
181
						Access modifier is Public.
180
						
182
						
181
						Error is ====> '.$this->calls[$key]["error"].'';
183
						Error is ====> '.$this->calls[$key]["error"].'';
182
						$this->write_log_send_mail('error',$msg);
184
						$this->write_log_send_mail('error',$msg);