Giter Site home page Giter Site logo

Comments (11)

rhukster avatar rhukster commented on July 24, 2024

I can't replicate this with a vanilla installation (grav + admin + form + login + email). I suspect its a plugin that is causing this. What plugins do you have installed?

from grav-plugin-email.

zachmonkey avatar zachmonkey commented on July 24, 2024

@rhukster

image

Ceevee theme - site installed via Ceevee skeleton

from grav-plugin-email.

rhukster avatar rhukster commented on July 24, 2024

CleanShot 2022-06-16 at 22 54 55@2x

Still no issues for me.

Can you save other pages/plugins etc?

from grav-plugin-email.

zachmonkey avatar zachmonkey commented on July 24, 2024

Yep, this is the only plugin that refuses to save changes in this installation. I checked the raw yaml file out of frustration and the weird thing is if I change the settings in there, those new settings aren't reflected in the admin UI. File permissions are 644

from grav-plugin-email.

rhukster avatar rhukster commented on July 24, 2024

can you provide the yaml config file so i can check for anomalies?

from grav-plugin-email.

zachmonkey avatar zachmonkey commented on July 24, 2024

Sure, see below. But the problem occurred before any direct alterations of the yaml file. I was able to save a config change once using the UI, then any subsequent changes were met with "saved successfully" followed by the warning popup "changes not saved" upon leaving the page. At this point I went for the yaml file. So this file shouldn't be the problem, despite its perhaps diabolical current state. Changed the values to "xx".

enabled: true
from: 'xx'
from_name: 'xx'
to: 'xx'
to_name: 'xx'
queue:
  enabled: false
  flush_frequency: '* * * * *'
  flush_msg_limit: 10
  flush_time_limit: 100
mailer:
  engine: 
  smtp:
    server: 'smtp.gmail.com'
    port: '587'
    encryption: 'TLS'
    user: 'xx'
    password: 'xx'
#    auth_mode: ''
#  sendmail:
#   bin: '/usr/sbin/sendmail -bs'
content_type: text/html
debug: false

Also note that the values saved in the file aren't reflected in the UI. UI shows this:

image

from grav-plugin-email.

rhukster avatar rhukster commented on July 24, 2024

Do you have any environment-based configurations? You might be saving to a different location, eg user/localhost/config/plugins/email.yaml

from grav-plugin-email.

zachmonkey avatar zachmonkey commented on July 24, 2024

We've made no custom configurations whatsoever. Thing is installed out of the box, using the ceevee skeleton. Problem occurred upon the 2nd time changing the email plugin settings. Host is Hostinger, Litespeed server. "Problems plugin" shows no problems. Really feels like a bug, since the first save went through, but the second one and any subsequent ones didn't.

Update: wild thought... I'm just thinking whether actually passing requests through the form plugin somehow screwed this up. We were testing out the contact form on the site while the email config was faulty. Wonder if this somehow affected this. That's the only thing I can imagine happening between the first save of config to the second save...

from grav-plugin-email.

rhukster avatar rhukster commented on July 24, 2024

It might be an issue with litespeed server. We've not had any issues reported regarding this before. I still can't replicate your issue, so just trying to work out what's unique to you. I'll see if i can test litespeed today.

from grav-plugin-email.

rhukster avatar rhukster commented on July 24, 2024

Nope, just fired up a new Linode and setup Litespeed via RunCloud and things just work fine. No problem editing and saving the email config via the admin.

from grav-plugin-email.

zachmonkey avatar zachmonkey commented on July 24, 2024

All of a sudden it just started working... No changes by us, just time passing. I guess it could be an environment problem...

from grav-plugin-email.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.