An Error Was Encountered Unable to load the requested file: helpers/mailer/phpmailer_helper.php

ATTENTION!
Suddenly I am not able to send emails and I got this error
Sam

Really strange.
First make sure you have correctly copy/pasted your error from your log file or your error screen

Next make sure the file that cannot be loaded is uploaded correctly

This is an example contents of the application/helpers/ directory

ERROR - 2025-06-28 11:21:52 → Severity: error → Exception: Upload::validate_csrf(): Return value must be of type bool, CI_Security returned /home//public_html/ip/application/modules/upload/controllers/Upload.php 183

So now you’re mixing up problems.
For your upload problems try this version:

or this version:

Finally found what was supposed to be loaded.
It’s this path:

So application/modules/ is missing from your error message which is really strange

Last comment, I had the file int the directory that was empty and it works.
Thanks
How it is possivble that that file disappear?
Sam

1 Like