Why this error is showing while writing code - oracle

Compilation errors for PROCEDURE MTR.MTR_DAILY_MAIL_REPORT_PRC1
Error: PLS-00201: identifier 'EXCELFILE.EXCEL_OPEN' must be declared
Line: 54
Text: Excelfile.Excel_Open(Excel_Data);

Related

Class 'Public_Controller' not found in codeigniter

Same code is run properly in localhost but on server its show error
An uncaught Exception was encountered
Type: Error
Message: Class 'Public_Controller' not found
Filename: /home/referralearn/public_html/techmaa.org/portal/application/controllers/Auth.php
Line Number: 4
Backtrace:
File: /home/referralearn/public_html/techmaa.org/portal/index.php
Line: 314
Function: require_once
help me to solve this

Error in calling Stored Proc from Spring JPA

Error in Stored proc execution when called from Java
#PersistenceContext
private EntityManager em;
#Override
public String funcName(String valueId) {
StoredProcedureQuery query = em.createStoredProcedureQuery("proc_name");
query.registerStoredProcedureParameter("input_id", String.class, ParameterMode.IN);
query.setParameter("input_id", valueId);
query.execute();
return "Stored Procedure Exceuted";
}
}
The value of valueId is present in query.setParameter("input_id", valueId);
And I get the following error
2020-03-19 20:10:55.904 DEBUG 8684 --- [io-7080-exec-10] o.h.SQL :{call proc_name(?)}
2020-03-19 20:10:56.460 WARN 8684 --- [io-7080-exec-10] o.h.e.j.s.SqlExceptionHelper : SQL Error: 6550, SQLState: 65000
2020-03-19 20:10:56.460 ERROR 8684 --- [io-7080-exec-10] o.h.e.j.s.SqlExceptionHelper : ORA-06550: line 1, column 7:
PLS-00201: identifier 'proc_name' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Please help me resolve
I get the same error even if i use query.getResultList()
My stored proc updates the values in the table and expects only one parameter
create or replace procedure proc_name(input_id in varchar2)

Error log in Joomla K2

How to fix this error in error log ( Joomla K2 ) ?
href='function.preg-match'>function.preg-match</a>]: Compilation failed: invalid range in character class at offset 7 in /home/tesstr13/public_html/administrator/components/com_k2/lib/class.upload.php on line 2843
[12-Apr-2014 21:03:21 Europe/Amsterdam] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: invalid range in character class at offset 7 in /home/tesstr13/public_html/administrator/components/com_k2/lib/class.upload.php on line 2870
[12-Apr-2014 21:03:21 Europe/Amsterdam] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: invalid range in character class at offset 7 in /home/tesstr13/public_html/administrator/components/com_k2/lib/class.upload.php on line 2915
Errors such as this several thousands.

Joomla 3.2: Undefined offset: 0 in C:\Apache2\htdocs\ictogcio\libraries\cms\application\site.php on line 479

My website Joomla 3.2 website was running well recently, when I got this error message and things don't work anymore.
Notice: Undefined offset: 0 in C:\Apache2\htdocs\ictogcio\libraries\cms\application\site.php on line 479
Notice: Trying to get property of non-object in C:\Apache2\htdocs\ictogcio\libraries\cms\application\site.php on line 483
Warning: Creating default object from empty value in C:\Apache2\htdocs\ictogcio\libraries\cms\application\site.php on line 483
Notice: Undefined offset: 0 in C:\Apache2\htdocs\ictogcio\libraries\cms\application\site.php on line 479
Notice: Trying to get property of non-object in C:\Apache2\htdocs\ictogcio\libraries\cms\application\site.php on line 483
Warning: Creating default object from empty value in C:\Apache2\htdocs\ictogcio\libraries\cms\application\site.php on line 483
Error displaying the error page: Could not find template "".

CodeIgniter send Email with outlook.com

I am trying to send emails using CodeIgniter and outlook.com (using XAMPP).
Sending emails using Codeigniter and Gmail worked well, using the following $config specifications:
$config = array(
'mailtype' => 'html'
'protocol' => 'smtp',
'smtp_host' => 'ssl://smtp.googlemail.com',
'smtp_port' => 465,
'smtp_user' => '******#gmail.com',
'smtp_pass' => '******'
);
However, applying the following outlook.com config specifications results in error messages (see below):
$config = array(
'mailtype' => 'html'
'protocol' => 'smtp',
'smtp_host' => 'ssl://smtp.live.com',
'smtp_port' => 587,
'smtp_user' => '******#outlook.com',
'smtp_pass' => '******'
);
Errors:
A PHP Error was encountered
Severity: Warning
Message: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Filename: libraries/Email.php
Line Number: 1689
A PHP Error was encountered
Severity: Warning
Message: fsockopen(): Failed to enable crypto
Filename: libraries/Email.php
Line Number: 1689
A PHP Error was encountered
Severity: Warning
Message: fsockopen(): unable to connect to ssl://smtp.live.com:587 (Unknown error)
Filename: libraries/Email.php
Line Number: 1689
A PHP Error was encountered
Severity: Warning
Message: fwrite() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1846
A PHP Error was encountered
Severity: Warning
Message: fgets() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1869
A PHP Error was encountered
Severity: Warning
Message: fwrite() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1846
A PHP Error was encountered
Severity: Warning
Message: fgets() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1869
A PHP Error was encountered
Severity: Warning
Message: fwrite() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1846
A PHP Error was encountered
Severity: Warning
Message: fgets() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1869
A PHP Error was encountered
Severity: Warning
Message: fwrite() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1846
A PHP Error was encountered
Severity: Warning
Message: fgets() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1869
A PHP Error was encountered
Severity: Warning
Message: fwrite() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1846
A PHP Error was encountered
Severity: Warning
Message: fgets() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1869
A PHP Error was encountered
Severity: Warning
Message: fwrite() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1846
A PHP Error was encountered
Severity: Warning
Message: fwrite() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1846
A PHP Error was encountered
Severity: Warning
Message: fgets() expects parameter 1 to be resource, boolean given
Filename: libraries/Email.php
Line Number: 1869
Replacing 'smtp_host' => 'ssl://smtp.live.com' with 'tls://smtp.live.com' results in the following error messages:
A PHP Error was encountered
Severity: Warning
Message: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Filename: libraries/Email.php
Line Number: 1689
[etc.]
Question:
Which specifications do I need to apply in order to get Codeigniter Email to work with outlook.com?

Resources