Announcement

Collapse
No announcement yet.

Miva Merchant Empresa Bugs?

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Re: MIVA Empresa Bugs?

    Not sure if this is an Empressa bug or not, but i cannot use MvSMTP at all with my current host. Returns:

    Runtime error in test.mvc @ [00000000:0000004c]: D:! My DocumentsMy Web Sitestest.mv: Line 3: MvSMTP: Syntax error - your mail software violates RFC 821.

    Raw mail log:

    Aug 24 09:16:36 server courieresmtpd: started,ip=[::ffff:69.36.5.142]
    Aug 24 09:16:36 server courieresmtpd: HELO server.billbuilt.com
    Aug 24 09:16:36 server courieresmtpd: MAIL FROM:[email protected]
    Aug 24 09:16:36 server courieresmtpd: error,relay=::ffff:69.36.5.142,msg="554 Syntax error - your mail software violates RFC 821.",cmd: MAIL FROM:[email protected]

    Of course my host tells me its Empressa. Its running linux and using the Courier mail server. I have to resort to calling a php script to do emails, which can be argued is better, and i agree if your wanting to do complex emailing, esp BCC and such, but for very simple text only emailing, this is quite a hassle.

    PHP via mail() or using the PEAR mail class works just fine so i am leaning towards some incompatibility in Empressa.

    Any help would be appreciated, as i have no idea where to even start with tracking this down.

    Thanks,
    Bill M.
    Bill Matlock

    Comment


      #32
      Re: MIVA Empresa Bugs?

      Ok i think i got it. Waiting 48 hrs to get my post posted must have forced me to stop trying for a bit and walk away from it, i realized that the server requires the addresses to be surrounded by < >. Simple solution that was being overlooked out of frustration i suppose.


      Bill M.
      Bill Matlock

      Comment


        #33
        Re: MIVA Empresa Bugs?

        Sorry for the delay, Bill sometimes I step away.
        Leslie
        www.lesliekirk.com | Twitter | Facebook
        Past Web Production Manager for eMediaSales
        Previously of www.websyourway.com
        Forum Moderator lesliekirk
        Miva Merchant and more ... since 1997

        Comment


          #34
          Re: MIVA Empresa Bugs?

          N/P Sorry if i was rude.... one of those awful "work, work, work and get nothing done" days.
          Bill Matlock

          Comment


            #35
            Re: MIVA Empresa Bugs?

            Naw - I have one of those long laundry lists of work work work too.
            Leslie
            www.lesliekirk.com | Twitter | Facebook
            Past Web Production Manager for eMediaSales
            Previously of www.websyourway.com
            Forum Moderator lesliekirk
            Miva Merchant and more ... since 1997

            Comment


              #36
              [IMPORTANT] Critical Arithmetic Bug in 5.06

              Empresa and Mia v5.06 parse simple arithmetic functions wrong and inconsistently which may lead to completely false results in simple calculations. This happens when an expression is passed through MvDO, and possibly in other MIVA Script tags too. Below there is a sample code demonstrating the fatal bug. Compile it and run to see the illogical results for the simple expression A - B - C. In old versions such expressions worked well; currently it is necessary to transcribe them into logically identical equivalent of A - (B + C) :
              HTML Code:
              <h3>Plain expression</h3>
              <MvASSIGN NAME="l.res1" VALUE="{5 - 1 - 3}">
              <MvASSIGN NAME="l.res2" VALUE="{5 - (1 + 3)}">
              <MvEVAL EXPR="{result(l.res1,l.res2)}">
               
              <h3>Expression in a function argument in MvDO</h3>
              <MvDO FILE="test.mvc" NAME="l.res1" VALUE="{test(5 - 1 - 3)}">
              <MvDO FILE="test.mvc" NAME="l.res2" VALUE="{test(5 - (1 + 3))}">
              <MvEVAL EXPR="{result(l.res1,l.res2)}">
               
              <h3>Expression directly in MvDO</h3>
              <MvDO FILE="test.mvc" NAME="l.res1" VALUE="{5 - 1 - 3}">
              <MvDO FILE="test.mvc" NAME="l.res2" VALUE="{5 - (1 + 3)}">
              <MvEVAL EXPR="{result(l.res1,l.res2)}">
               
              <MvFUNCTION NAME="test" PARAMETERS="val">
               <MVFUNCRETURN VALUE="{l.val}">
              </MVFUNCTION>
               
              <MvFUNCTION NAME="result" PARAMETERS="val1 VAR, val2 VAR">
               <MvIF EXPR="{l.val1 NE l.val2}">
                 <MVFUNCRETURN VALUE="{'<span style="color:red">' $ l.val1 $ ' != ' $ l.val2 $ '</span>'}">
               <MvELSE>
                 <MVFUNCRETURN VALUE="{l.val1 $ ' == ' $ l.val2}">
               </MvIF>
              </MVFUNCTION>
              The test program should show three times 1 == 1 but instead it shows the incorrect result 7 != 1 for the last two calculations passing the expression through MvDO. MvASSIGN and MvEVAL work correctly, but I suspect the same problem may pop up in other commands too (such as MvFILTER, index expressions, etc).
              Last edited by truXoft; 10-16-07, 01:18 PM.
              Ivo Truxa . @ . t r u X o f t

              Comment


                #37
                Re: [IMPORTANT] Critical Arithmetic Bug in 5.06

                Ivo,

                Thanks for catching this one. As it is potentially quite serious we have begun looking into it already. I will post when we find a cause and when we expect to have a fix in place.
                Mark Johnson
                Vice President Development
                Miva Merchant
                [email protected]
                http://www.mivamerchant.com

                Comment


                  #38
                  Re: Miva Merchant Empresa Bugs?

                  Hello everyone....

                  Create a file with " <) " inside. Try to call it from another file.. and you'll get:
                  Runtime error in /yourfile.mvc @ [00000000:0000002c]: W:yourfile.mv: Line 1: MvCALL: Unexpected EOF in tag

                  Is there any workaround for that problem?

                  Thanks in advance
                  Claudiu
                  Zen Radio : Relax :) : www.zenradio.fm
                  MivaScript Tutorials & Scripts : www.mivascript.org

                  Comment


                    #39
                    Re: Miva Merchant Empresa Bugs?

                    Hi,
                    Another bug seems to be XHR POST's from Firefox 3 fail because the XMLHTTPRequest adds the charset to the mime type. It looks like Empressa is doing a literal string match and chokes on the "; charset=UTF=8" part, returning a 500 Internal Server Error on Apache/Linux, and a blank body 200 OK on Mia/Win32.

                    Normal Post:
                    Code:
                    Content-Type: application/x-www-form-urlencoded
                    XHR Post:
                    Code:
                    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
                    It would be good if Empressa could parse the headers correctly as per RFC.

                    Matt.

                    Comment


                      #40
                      Re: Miva Merchant Empresa Bugs?

                      Just a follow-up for the arithmetical bug in v5.06 reported more than year ago. As Mark claimed, being serious it ought to be handled with priority, so I wonder if it was fixed in the meantime. Was v5.07 with the bug fix already released? If so, where can it be downloaded? I did not see anything new on the FTP server since a while.
                      Ivo Truxa . @ . t r u X o f t

                      Comment


                        #41
                        Re: Miva Merchant Empresa Bugs?

                        5.07 also addresses some PCI compliance security issues (persistent cookies set in non-secure mode), but as of today, 5.07 is still in beta. You should be able to get a copy from Miva direct - it's not available as a general download on their ftp site just yet.

                        Rick, or anyone else at MM... is there an ETA on when the final version of VM 5.07 may be released?

                        Comment


                          #42
                          Re: Miva Merchant Empresa Bugs?

                          It's going to go into a public beta here shortly, we may leave it in that state for a while so we can keep adding features without revving it. The hold up isn't stability it's the difficulty in releasing too many Empresa updates.
                          Thanks,

                          Rick Wilson
                          CEO
                          Miva, Inc.
                          [email protected]
                          https://www.miva.com

                          Comment


                            #43
                            Re: Miva Merchant Empresa Bugs?

                            Totally understand that part. But if anything, it would be nice to know there's a non-beta version that addresses the dreaded persistent cookie issue. We continue getting tickets from clients asking to have this PCI vulnerability resolved, but when we mention "beta" almost every client has declined having 5.07 installed so far.

                            Addressing security issues vs adding more features should really be two separate items. I hope the "adding features" part doesn't make it more important than releasing a fix for a security issue - even if it is rather minor, but unfortunately preventing some clients from getting their sites PCI certified.

                            Comment


                              #44
                              Re: Miva Merchant Empresa Bugs?

                              Remik,

                              I agree with that, let me see what it would take to make the current 5.07 official.
                              Thanks,

                              Rick Wilson
                              CEO
                              Miva, Inc.
                              [email protected]
                              https://www.miva.com

                              Comment


                                #45
                                Re: Miva Merchant Empresa Bugs?

                                Grazie!

                                Comment

                                Working...
                                X