Can not reset admin password using reset password form - codeigniter

I am using CodeIgniter and PHP. I was developing a project where I have an admin role to change all features. I was trying to reset my admin password by using the reset password form. But when I am trying to submit the form.
When I am submitting the form it's showing an error message which I am tried to solve but I need some assistance to fix it. The error message is:
An uncaught Exception was encountered
Type: Error
Message: Call to undefined method Mailer::Tpl_PwdResetLink()
Filename: /home1/jobyouxy/public_html/application/controllers/admin/Auth.php
Line Number: 103
Backtrace:
File: /home1/jobyouxy/public_html/index.php
Line: 315
Function: require_once"
Filename: /home1/jobyouxy/public_html/application/controllers/admin/Auth.php
Line Number: 103
File: /home1/jobyouxy/public_html/index.php
Line: 315
See the screenshots of my code of this file location showing on the error message.

Related

Am getting this error when i upload my website to cpanel a codeigniter project

A PHP Error was encountered
Severity: Warning
Message: fopen(/var/cpanel/php/sessions/ea-php74/ci_session8c890fa70e8c2a9726a00d721269c80de8117d50): failed to open stream: No such file or directory
Filename: drivers/Session_files_driver.php
Line Number: 174
Backtrace:
File: /home/propert6/public_html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php74)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /home/propert6/public_html/index.php
Line: 315
Function: require_once
What is listed in the php.ini file for session.save_path ?
Most likely you'd find this (depending on your configuration) in cPanel>>Software>>MultiPHP INI Editor
You can create a php info page to get this information (importanly whether the value is set locally or globally for that version of PHP) as well as the .ini file files loaded into the configuration
You may also want to check the following:
/home/$user/public_html/.htaccess
/home/user/public_html/*.ini

Codeigniter: Cannot modify header information

I am getting following message when I click on a submit form button.
What do I need to do to get rid of the error?
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/handball-profile.com/httpdocs/cucc/cuccioletto_ci/application/controllers/admin_home.php:2)
Filename: helpers/url_helper.php
Line Number: 543

Magento 1.7.0.2 Forgot password Fatal error

When I enter email address to retrieve forgotten password it gives the following error after submit. Please help.
Fatal error: Call to a member function getBackend() on a non-object in /app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 1536

how to add QuickBase a CodeIgniter

I'm looking for how to integrate the QuickBase API in a website developed with the CodeIgniter framework
I esayer add the api as a library
$this->load->library('quickbase', 'login','password', true, 'table');
and when I do I call displays error
A PHP Error was encountered
Severity: Warning
Message: Missing argument 1 for QuickBase::__construct(), called in /var/www/vhosts/************/httpdocs/system/core/Loader.php on line 1099 and defined
Filename: libraries/quickbase.php
Line Number: 43
A PHP Error was encountered
Severity: Warning
Message: Missing argument 2 for QuickBase::__construct(), called in /var/www/vhosts/**************/httpdocs/system/core/Loader.php on line 1099 and defined
Filename: libraries/quickbase.php
Line Number: 43
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: un
Filename: libraries/quickbase.php
Line Number: 45
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: pw
Filename: libraries/quickbase.php
Line Number: 49
thank you in advance
Your error is because the Quickbase API file(s) does not have the same calling format as a CodeIgniter library needs to work with the load->library syntax. You will need to read up on the Creating Libraries section of the manual and then create your own CodeIgniter compatible Quickbase library that includes the file(s) for the Quickbase API.

TCPDf error in CodeIgniter

I am using TCPDF, but i encountered these problem.
please give me solution.
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant K_CELL_HEIGHT_RATIO - assumed 'K_CELL_HEIGHT_RATIO'
Filename: libraries/Loader.php
Line Number: 928
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\small projects\project1\system\libraries\Exceptions.php:166)
Filename: tcpdf/tcpdf.php
Line Number: 8060
TCPDF ERROR: Some data has already been output to browser, can't send PDF file
Check out this. You probably doing it wrong.
Check this CodeIgniter Forum
just comment line 3 to 8 on libraries/pdf.php
your code should look like this:
/*
override the default TCPDF config file
if(!defined(‘K_TCPDF_EXTERNAL_CONFIG’))
{
define(‘K_TCPDF_EXTERNAL_CONFIG’,
TRUE); }
*/

Resources