Author Topic: When leave a message, it is always loading , but the email was sent  (Read 2086 times)

0 Members and 1 Guest are viewing this topic.

dvwind

  • Full Member
  • ***
  • Posts: 8
When leave a message, it is always loading , but the email was sent.


zandermais

  • Jr. Member
  • **
  • Posts: 1
I'm having the same problem, and upgraded to version 2.2.1 and still have problem

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 810
    • Mibew Messenger
Re: When leave a message, it is always loading , but the email was sent
« Reply #2 on: June 01, 2017, 10:00:00 PM »
1. What browser have you used? Have you tried different browsers?

2. Are there any messages in the error log of the web server?


dvwind

  • Full Member
  • ***
  • Posts: 8
When leave a message, it is always loading , but the email was sent(Only Safari)
On the Safari Browser of Iphone and Macbook Pro

dvwind

  • Full Member
  • ***
  • Posts: 8
Anyone can help me? Thanks, the version is 3.1.3
« Last Edit: July 19, 2018, 03:50:59 PM by dvwind »

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 810
    • Mibew Messenger
Re: When leave a message, it is always loading , but the email was sent
« Reply #5 on: July 19, 2018, 09:02:51 PM »
So, after 16 months and 9 releases your problem still persists? Ok...

I'll just repeat my own questions:

1. What browser have you used? Have you tried different browsers?

2. Are there any messages in the error log of the web server?

(And, BTW, Safari is not a browser, it's a family of browsers.)

Also, do you see any error messages in the developers console of the browser?

dvwind

  • Full Member
  • ***
  • Posts: 8
Re: When leave a message, it is always loading , but the email was sent
« Reply #6 on: July 20, 2018, 01:18:38 AM »
I have tested on all browsers, the problem is still on, in the config file, i choose smtp, if i choose mail, it is no loading, but i can not receive email.

dvwind

  • Full Member
  • ***
  • Posts: 8
Re: When leave a message, it is always loading , but the email was sent
« Reply #7 on: July 20, 2018, 01:19:23 AM »
i can not see any error on developers console.

dvwind

  • Full Member
  • ***
  • Posts: 8
Re: When leave a message, it is always loading , but the email was sent
« Reply #8 on: July 20, 2018, 06:37:25 AM »
I want to know how to use PHP mail() to send mail, it is supported on my server.

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 810
    • Mibew Messenger
Re: When leave a message, it is always loading , but the email was sent
« Reply #9 on: July 20, 2018, 08:28:19 AM »
0.
I want to know how to use PHP mail() to send mail, it is supported on my server.

If you're talking about using the standard PHP function to send emails in Mibew Messenger, the brief instruction is written in the default configuration:

Code: [Select]
## Mailer parameters
mailer:
    # This value determines what kind of mailer will be used. Possible values
    # are "mail" and "smtp".
    #
    # To use standard PHP mail function just set this option to "mail". No
    # additional configs are required in this case.
    #
    # To use SMTP-based solution set this option "smtp". This approach require
    # some extra configuration to be done (see below).
    transport: mail

So in case of properly configured server environment setting the transport to mail should be enough.

1. Stop flooding. Everything you wrote could been written in one post.

2.
I have tested on all browsers, the problem is still on, in the config file, i choose smtp, if i choose mail, it is no loading, but i can not receive email.

All browsers? Really? And how does it feel to use Mibew Messenger with NCSA Mosaic 2.7 for Linux on Raspbian?  ;D

3. If you want to solve your problem stop behave as a mentally retarded manager. You will have to solve the problem yourself, no one will do that for you, one could only assist you in that action. Answer the questions carefully, politely, and providing maximum details. It's not a help desk, so one could just ignore you in case of lack of interest.

 And read this:

Quote
If you're posting a message at this forum, please, don't duplicate it in the bugtracker and/or don't send it to Mibew developers via email or as a private message.

4. I will repeat for the last time:

1. What browser have you used? Have you tried different browsers?

2. Are there any messages in the error log of the web server?

Moreover, provide all information about your server environment, versions of all related software, etc.

dvwind

  • Full Member
  • ***
  • Posts: 8
Re: When leave a message, it is always loading , but the email was sent
« Reply #10 on: July 25, 2018, 04:00:26 PM »
Thanks for your support, I have tested on Chrome and Firefox, No error log on my server when I use smtp. I use cPanel VPS with php 5.6 and MySQL. You can test on my website: https://www.stylecnc.com, my server environment: https://im.stylecnc.com/php.php, thanks again.
« Last Edit: July 25, 2018, 04:20:24 PM by dvwind »

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 810
    • Mibew Messenger
Re: When leave a message, it is always loading , but the email was sent
« Reply #11 on: July 25, 2018, 09:23:06 PM »
1. If you write something like "Chrome" and "Firefox" you should specify their versions too.

2. Read this (hope that will help you to get more information from error logs):

https://stackoverflow.com/questions/24644436/php-mail-function-doesnt-complete-sending-of-e-mail
https://stackoverflow.com/questions/4565066/why-shouldnt-i-use-phps-mail-function/4565160#4565160
« Last Edit: July 25, 2018, 09:50:05 PM by faf »

dvwind

  • Full Member
  • ***
  • Posts: 8
Re: When leave a message, it is always loading , but the email was sent
« Reply #12 on: July 26, 2018, 02:03:51 AM »
Thanks, my brower is Chrome 67.0.3396 and Firefox 61.0.1.
Now I don't want to used php mail(), I want to use smtp to send mail, the problem is the form can be submited and the mail can be sent, but the leave message form stay there and the ajax loading all along, no success jump, so the visitor cannot judge whether or not it has been sent.

if I use php mail(), the error log: [26-Jul-2018 04:42:42 UTC] PHP Warning:  Application stopped because of uncaught exception RuntimeException "Cannot read configuration file" (/home/stylecnc/im/libs/classes/Mibew/Style/AbstractStyle.php:97) in /home/stylecnc/im/libs/classes/Mibew/Application.php on line 165
« Last Edit: July 26, 2018, 04:53:34 AM by dvwind »

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 810
    • Mibew Messenger
Re: When leave a message, it is always loading , but the email was sent
« Reply #13 on: July 26, 2018, 09:20:36 AM »
[26-Jul-2018 04:42:42 UTC] PHP Warning:  Application stopped because of uncaught exception RuntimeException "Cannot read configuration file" (/home/stylecnc/im/libs/classes/Mibew/Style/AbstractStyle.php:97) in /home/stylecnc/im/libs/classes/Mibew/Application.php on line 165

So, you should check and fix the permissions on configuration file (and its parent directory).