*

danads

  • ***
  • 43 posts
Car attribute
« on: January 07, 2021, 02:09:56 AM »
I installed the car attributes plugin but when I post the ads it gives me an error.
The screen is white only with this error and the site no longer works.
I have installed on localhost osclass 4.2 with php 7.3

Fatal error: Uncaught PHPMailer\PHPMailer\Exception: Could not instantiate mail function. in C:\xampp\htdocs\osclass\oc-includes\vendor\phpmailer\phpmailer\src\PHPMailer.php:1825 Stack trace: #0 C:\xampp\htdocs\osclass\oc-includes\vendor\phpmailer\phpmailer\src\PHPMailer.php(1603): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Thu, 7 Ja...', '<p>Hi dan,</p><...') #1 C:\xampp\htdocs\osclass\oc-includes\vendor\phpmailer\phpmailer\src\PHPMailer.php(1437): PHPMailer\PHPMailer\PHPMailer->postSend() #2 C:\xampp\htdocs\osclass\oc-includes\osclass\utils.php(538): PHPMailer\PHPMailer\PHPMailer->send() #3 C:\xampp\htdocs\osclass\oc-includes\osclass\emails.php(435): osc_sendMail(Array) #4 C:\xampp\htdocs\osclass\oc-includes\osclass\classes\Plugins.php(40): fn_email_new_item_non_register_user(Array) #5 C:\xampp\htdocs\osclass\oc-includes\osclass\helpers\hPlugins.php(31): Plugins::runHook('hook_email_new_...', Array) #6 C:\xampp\htdocs\osclass\oc-includes\osclass\ItemActions.php(603): osc_run_hook('hook_email_new_...', Array) #7 C:\x in C:\xampp\htdocs\osclass\oc-includes\vendor\phpmailer\phpmailer\src\PHPMailer.php on line 1825

*

MB Themes

Re: Car attribute
« Reply #1 on: January 07, 2021, 08:41:31 AM »
@danads
"Fatal error: Uncaught PHPMailer\PHPMailer\Exception: Could not instantiate mail function"

That means your mail server is not configured properly and throws error.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

danads

  • ***
  • 43 posts
Re: Car attribute
« Reply #2 on: January 07, 2021, 04:01:17 PM »
Ok Thanks
How to make settings for local host on laptop?
I didn't find anything on the net just like it does live, not on localhost.

*

MB Themes

Re: Car attribute
« Reply #3 on: January 07, 2021, 07:24:10 PM »
Discuss with your hosting provider.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

danads

  • ***
  • 43 posts
Re: Car attribute
« Reply #4 on: January 07, 2021, 09:34:13 PM »
Is not on hosting on internet is on the my laptop, on XAMPP the osclass
Here I have to set as you saw the address in the picture.

Quote
http://localhost/osclass/oc-admin/index.php?page=settings&action=mailserver

*

MB Themes

Re: Car attribute
« Reply #5 on: January 07, 2021, 09:55:13 PM »
@danads
Then it's your issue.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

danads

  • ***
  • 43 posts
Re: Car attribute
« Reply #6 on: January 07, 2021, 10:14:00 PM »
Ok I know, but I don't know how to set it.
I want to work on xampp first and then install on the net.
Can you help me please?

*

MB Themes

Re: Car attribute
« Reply #7 on: January 07, 2021, 10:30:42 PM »
@danads
I cannot, not working on localhost nor with localhost
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots