Announcement

Collapse
No announcement yet.

Miva Merchant Empresa Bugs?

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

    #76
    Re: Miva Merchant Empresa Bugs? MvDo ?

    Originally posted by virtualkiwi View Post
    That worked back in the days of interpreted mivascript, but I don't think it's ever worked with compiled mivascript as the include has to be a compiled mivascript.
    You can use file_read() function and and <mveval > to achieve the intended result.
    If thats actually the correct answer, can we get the docs updated?
    William Gilligan - Orange Marmalade, Inc.
    www.OrangeMarmaladeinc.com

    Comment


      #77
      Re: Miva Merchant Empresa Bugs?

      Do you have a link to the incorrect docs?
      Thanks,

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

      Comment


        #78
        Re: Miva Merchant Empresa Bugs?

        Originally posted by Rick Wilson View Post
        Do you have a link to the incorrect docs?
        http://www.mivascript.com/item/mivas...tags/MvDO.html

        Under examples.

        Although I just realized... this isn't actually Miva's site is it?

        Bill
        William Gilligan - Orange Marmalade, Inc.
        www.OrangeMarmaladeinc.com

        Comment


          #79
          Re: Miva Merchant Empresa Bugs?

          Ray Yates maintains it on our behalf, I'll get with him and Burch to make sure it's properly documented.
          Thanks,

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

          Comment


            #80
            Re: Miva Merchant Empresa Bugs?

            I just got back, and I'll check on this today.
            Ray Yates
            "If I have seen further, it is by standing on the shoulders of giants."
            --- Sir Isaac Newton

            Comment


              #81
              Re: Miva Merchant Empresa Bugs?

              This syntax error crashes the compiler 5.20. Notice the extra parenthesis after l.data.

              <MvIF EXPR="{ substring(l.data),1,1) EQ '0' }">
              Ray Yates
              "If I have seen further, it is by standing on the shoulders of giants."
              --- Sir Isaac Newton

              Comment


                #82
                Re: Miva Merchant Empresa Bugs?

                I'm able to reproduce it and will file a bug.

                Comment


                  #83
                  Re: Miva Merchant Empresa Bugs? MvDo ?

                  Originally posted by wmgilligan View Post
                  Not sure if its me or Miva, but the docs say (and I have done this before):

                  Code:
                  <!--#include file="/external.html"-->
                  
                  This can be replaced by:
                  <MvDO FILE="/external.html">
                  MvDo has been update on MivaScript.com to reflect the current state of the language.
                  Ray Yates
                  "If I have seen further, it is by standing on the shoulders of giants."
                  --- Sir Isaac Newton

                  Comment


                    #84
                    Re: Miva Merchant Empresa Bugs?

                    This is relating more to Mia than to Empresa as such, but hopefully this is the right place to post.
                    I ran a diagnostic script to check some settings which made me realise I was still running Mia 5.19, so I duly upgraded to 5.20.

                    The trouble is with Mia 5.20 no matter what I did to configure a custom port and script and data directories, Mia would not apply the directories I set at all, and would not remember the port after closing and restarting Mia.

                    I tried both installing and running as administrator to no avail, and tried a complete uninstall, still with no luck.

                    Uninstalling 5.20 completely and reinstalling 5.19 has Mia behaving as expected again.

                    I'm running on Windows 7 x64.

                    I'm not sure if anyone else has encountered this? I've never had problems upgrading versions previously.
                    Christopher Cookson
                    Create IT Powered by Webpression CMS

                    Comment


                      #85
                      Re: Miva Merchant Empresa Bugs?

                      Hi Christopher

                      I havenít been able to reproduce that issue so far. I am using Miva Mia on my win 7 x64 system. I can both change and save the port, data, and html fields. I have tried clean install of Mia 5.20 and Mia 5.20-x64 as well as updating from Miva Mia 5.19 to 5.20 & 5.20-x64.

                      Is there anything else you can think of that might be the cause of this issue for me to try?

                      Thanks

                      -Eric
                      Eric Foresman
                      Software Tester
                      Miva Merchant
                      http://www.mivamerchant.com/
                      [email protected]

                      Comment


                        #86
                        Re: Miva Merchant Empresa Bugs?

                        Hi Eric,
                        thanks for looking into this. One thing I noticed, even after an unistall of 5.19 there was still a registry key:
                        HKEY_CURRENT_USER\Software\Classes\VirtualStore\MA CHINE\SOFTWARE\Wow6432Node\Miva\Miva Mia\VM

                        Installing 5.20 did not appear to access or modify any of the entries under this key.

                        I'm not sure if this would have any impact?
                        Christopher Cookson
                        Create IT Powered by Webpression CMS

                        Comment


                          #87
                          Re: Miva Merchant Empresa Bugs?

                          Similar compiler bug as Ray reported above (may be the same in fact, though with a different type of parenthesis). Compiler v5.20. Omitted a closing curly bracket will crash the compiler. Normally, when running the compiler from a command line, it is not a big issue, since the compiler prints out the error message before crashing, but when called from within a programming workbench (such as for example Visual Studio), the error messages are not passed through, so it may look like the file compiled without errors, and it can take a while before realizing the problem.

                          Example:
                          Code:
                          <MvEVAL EXPR="{glosub('XYZ','X','A')">
                          Ivo Truxa . @ . t r u X o f t

                          Comment


                            #88
                            Re: Miva Merchant Empresa Bugs?

                            As for the Mia bug reported by Christopher above, I am on Win8/64 bit and cannot edit Mia settings through the interface either. Only editing them directly in the Registry works (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Miva\Miva Mia\VM).
                            Ivo Truxa . @ . t r u X o f t

                            Comment


                              #89
                              Re: Miva Merchant Empresa Bugs?

                              Originally posted by truXoft View Post
                              Similar compiler bug as Ray reported above (may be the same in fact, though with a different type of parenthesis). Compiler v5.20. Omitted a closing curly bracket will crash the compiler. Normally, when running the compiler from a command line, it is not a big issue, since the compiler prints out the error message before crashing, but when called from within a programming workbench (such as for example Visual Studio), the error messages are not passed through, so it may look like the file compiled without errors, and it can take a while before realizing the problem.

                              Example:
                              Code:
                              <MvEVAL EXPR="{glosub('XYZ','X','A')">

                              Hi truXoft,

                              Can you give us more specifics on your setup? I've tried this on Ubuntu 14.04 (64 bit), Cent 5.2 (32 bit), Win 8.1 (64 bit) and I get the same compiler errors, but never a seg fault.

                              Do you get any compiler errors, or does it was just crash on you?

                              Thanks
                              David Carver
                              Miva, Inc. | Software Developer

                              Comment


                                #90
                                Re: Miva Merchant Empresa Bugs?

                                Wrapping foreachcontinue inside comments causes the template compiler to fail.

                                Error compiling template: At 260:7-260:21 - syntax error, unexpected FOREACHCONTINUE

                                Code:
                                <mvt:comment> 
                                <mvt:if expr="NOT ('_Head' IN l.settings:item:name)">
                                    <mvt:foreachcontinue />
                                </mvt:if>
                                </mvt:comment>
                                Miva Merchant 9.0004
                                MivaScript Engine v5.23
                                Ray Yates
                                "If I have seen further, it is by standing on the shoulders of giants."
                                --- Sir Isaac Newton

                                Comment

                                Working...
                                X