We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15309
    • 30 Posts
    Quote from: kamalsomani at Feb 28, 2008, 03:13 AM

    Hey man where is the Database schema for your script..?
    I downloaded the zip file but there is no SQL file ..??

    i got it working.. silly mistake..

    you need to logout and login back, and then you have to click the Newsletter Section under Modules, it will automaticly load the database..

    Hope it saves some time for beginers like me..
      • 18503
      • 45 Posts
      Sometimes after saving configuration in easynewsletter’s module settings, the module starts looking for a language file called ".php"
      instead of the actual language file (example: "english.php") as a workaround i created a copy of my "english.php" and just named it ".php" has anyone else run into this?
        -dan
        http://wylio.com
        Wylio - Pictures for Bloggers
        • 36582
        • 463 Posts
        Same thing here - only way I could stop getting warnings was to copy, rename english.php to just .php
          Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
          • 25547
          • 61 Posts
          any fixes for the "Undefined variable: i"

          error yet?

          also it gives an "Undefined variable: mailmethod" error.

          i got rid of the rest with language file fixes and changing the snippets first $i to $i=0

          EDIT: no $i errors now, changed the first $i in the module code to $i=0

          Now all that remains is the "Undefined variable: mailmethod" error.

          And this "Use of undefined constant IsQmail - assumed ’IsQmail’"
            • 12331
            • 1 Posts
            Hi,

            Thanks for the module. But I am having problem creating a test newsletter after installation with the following error. Can you please help?

            [tt]MODx encountered the following error while attempting to parse the requested resource:
            « Execution of a query to the database failed - Incorrect integer value: ’’ for column ’id’ at row 1 »
            SQL: INSERT INTO easynewsletter_newsletter VALUES(’’, now(), ’’,’’, ’’, ’test’, ’test ’, ’’) [/tt]

            Thanks
              • 23515
              • 40 Posts
              Hi guys,

              I’ve passed on a site to a client who are hosting on their own server, and they have informed me that their mailhost only accepts SMTP connections on port 2525 rather than the default 25, is there anyway to change this setting in easy newsletter?

              Cheers
                • 20159
                • 26 Posts
                Quote from: garryn at Oct 16, 2007, 07:38 AM

                The ’undefined variables’ error means that the variable is being used before it’s been declared. The items in question are caused by:

                1. $i - used when including the language file in both the snippet and module. For example, in the frontend:
                include('assets/modules/easynewsletter/languages/'.mysql_result($result,$i,"lang_frontend").'.php');


                But, $i doesn’t have a value at that point - I think $i can be replaced with 0 in this instance as there should only 1 record being returned in the recordset. (Haven’t tried it, so if someone could validate that wink )

                2. $lang_subscriber_action - used in backend.php but doesn’t have an entry in the language file. Place a definition in the language file and that error will disappear.

                Hope that helps,
                Garry

                Hi Garry

                After a few months I have re-visited this.

                I did as you suggest but I now get this error log entry every time I click on the Newsletter module:

                Event Id: 1 Source: Easy Newsletter - Module 
                  
                Date: 19-May-2008 05:19 PM User: admin 
                
                Undefined variable: i 
                


                Any advice gratefully received!

                Thanks
                  • 16879
                  • 87 Posts
                  Came back to this - still looking good but could really, really benefit from an email with a confirm subscription link being sent out to the applicant. Can anyone any good at the stuff I’m not good at (coding rather than eye candy) suggest how I can get this great module to do this?
                    • 4429
                    • 429 Posts
                    I have successfully installed this it really is missing some useful features.

                    a) ability to import mailing lists

                    more importantly - the ability to group subscribers and send different mails to different groups.

                    Still its great to have the module - cheers.

                    My big problem is that the line spacing seems way too big especially between paragrphs and when changing the font and size, I have to manually change each line. Once saved it just reverts back to normal which i think is time new roman.
                      • 9116
                      • 1 Posts
                      Hello everybody,

                      I use this module in my webpage since 04.2008 without problems, but yesterday, i became this message error :
                      "Error while inserting event log into database easynewsletter" after having sent a newsletter.
                      The only thing I’ve done before sending the newsletter is to add some subsrcibers (around 50).
                      Someone can help me please ? because now, i don’t know if everyone receive my messages.
                      If i send this message with the TEST option, it works fine.

                      Thanks a lot por your help
                      François