Git Product home page Git Product logo

picomailforms's People

Contributors

fl3pp avatar jflepp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

picomailforms's Issues

Unable to get plugin to work with PicoCMS for NextCloud.

I have setup two PicoCMS environments, both I setup via composer via command-line.

With the standalone version of PicoCMS, I was able to get the plugin to work and send email successfully.

The version installed into 'PicoCMS for Nextcloud' would create the labels for the form objects, but no input text or text area and no submit button would be displayed. This happened for both plain and bootstrap forms.

I found an Nextcloud Forum around 'HTML Forms' https://help.nextcloud.com/t/html-form-in-pico-cms-wont-show-autoescape-issue/73939 .. but I am unsure if this is the issue.

HTTP ERROR 500

Hello,

I tried to use PicoMailForms but I've got HTTP ERROR 500 after installed your plugin on every Pico page ;-)
The Apache Error Log shows:
[Thu Apr 18 13:06:34.151545 2019] [:error] [pid 32417] [client 82.X.X.X:yyyyy] PHP Fatal error: Declaration of PicoMailFormsPlugin::__construct($pico) must be compatible with PicoPluginInterface::__construct(Pico $pico) in /<PICO_ROOT>/plugins/PicoMailFormsPlugin/PicoMailFormsPlugin.php on line 3

My System:
Ubuntu 16.04.6 LTS
Apache/2.4.18 (Ubuntu)
PHP 7.0.33-0ubuntu0.16.04.3 (cli)
Pico 2.0.4

I've installed PicoCMS and PicoMailForm with composer (after installing composer):
$ curl -sSL https://getcomposer.org/installer | php
$ sudo -su www-data
$ cd /var/www/html/
$ php ~/composer.phar create-project picocms/pico-composer pico
$ cd pico
$ php ~/composer.phar require jflepp/picomailformsplugin

Did I make any mistakes during the installation or is there any issue in PicoMailForm?

Kind regards.

How install?

Hello,
I will trying your plugin, but can't figured out how install.

  1. Download the zip from Github
  2. Uploas the unzipped folder 'PicoMailForms-master' and rename it 'PicoMailForms'
  3. Add this code in a test.md file:
[form]
  [text mail]E-Mail[/text]
  [text]some other information[/text]
[/form]
  1. Adding this code in the config/config.yml (okay i would chanfg this, but i leave it for testing):
Mail:
    SenderName: test.ch
    Host: server.test.ch
    UserName: [email protected]
    Password: test
    Port: 587
    OperatorMail: [email protected]

After that my test-website shows a blank page with an 500 error.

I used Picocms a week now, but for me as beginner it is not so easy installing without a good step-by-step guide and i'm not familiar with composer at the moment.

Hope you can adding more detailed steps how can implement your plugin in picocms? Where adding the config and content snippets?

Registration failed.

Hey i hope you still around.
I always get
Registration failed. The site administrator has already been informed.
but i wouldnt know where to find an error code
nor do i get an email

Email settings

Hello,

Thx for the help how installing your plugin with composer, however i asked if it config/config.yml is the right place for the mail-settings (i think yes!), without answer:

Mail:
    SenderName: Christophe
    Host: smtp.gmail.com
    UserName: ***@gmail.com
    Password: ***
    Port: 465
    OperatorMail: c.***@gmail.com

Here you can see and test my test-form if you want.
Trying with the gmail settings and also with the settings of my hosting company, and playing with some settings but nothing works, both outgoing-mail settings shows an error, so the mail don't send the form.

An error occured while sending your message. Please contact the site administrator.

Sorry about my beginners questions, i hope you can help me further how solve this problem.

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.