Announcement

Collapse
No announcement yet.

Any Known Issues with Mia 3.9705?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Any Known Issues with Mia 3.9705?



    Hey folks,

    It's been awhile. For those who remember me, I'm still writing Miva code
    but only just now starting to tinker with Miva Mia. I installed the copy of
    Miva Mia I had from waaaaaaaaay back in ... oh I don't even remember now.
    It was v3.22. So I went poking around and found the exe (on Miva's FTP
    site) to bring it up to Miva Mia 3.9705. After installation, I have Two
    questions:

    1) Are there any elements in Miva Mia that don't work the same in Empressa?
    Or is there a document somewhere (that I haven't been able to find yet)
    which describes the differences?

    2) Are there any known issues with fdelete and/or sdelete in Miva Mia 3.9x?
    Both work fine on the remote web server. But it appears sdelete does not
    work on Miva Mia (local) or I have something setup wrong on my box based on
    this result from diag.mv:

    Test Script Directory [Run]

    Writing temporary file to data directory: ok
    Moving temporary file to script directory: ok
    Testing MvDO: ok
    Checking Results: ok
    Cleaning up: Unable to delete '11077266061203.mv'

    In case it is necessary, my system config is:

    OS: Windows XP Pro (SP2)
    Processor: 1833 megahertz AMD Athlon XP
    Bus Clock: 166 megahertz
    Memory: 1 gig

    Can someone clue me in or point me in the right direction to figure it out?

    Thanks!
    -mike




    #2
    Any Known Issues with Mia 3.9705?



    It's probably a code issue. I still use Miva Mia (same version as you)
    for development and testing for non-compiled scripts and have never
    experienced a problem that was not code related when using
    f/sdelete(...) functions.

    Want to share your code?

    Actually, I just noticed something in your flow below. If you MvDO a
    file that you then want to sdelete(...), it's not going to happen in the
    same page because the sdelete(...) thinks the file is in use. You'll
    need to do it afterwards. If the file does not contain miva script,
    then a better idea might be to MvIMPORT it and evaluate it line by line.

    Scot

    Mike @ Levrah wrote:
    > Hey folks,
    >
    > It's been awhile. For those who remember me, I'm still writing Miva code
    > but only just now starting to tinker with Miva Mia. I installed the copy
    > of Miva Mia I had from waaaaaaaaay back in ... oh I don't even remember
    > now. It was v3.22. So I went poking around and found the exe (on Miva's
    > FTP site) to bring it up to Miva Mia 3.9705. After installation, I have
    > Two questions:
    >
    > 1) Are there any elements in Miva Mia that don't work the same in
    > Empressa? Or is there a document somewhere (that I haven't been able to
    > find yet) which describes the differences?
    >
    > 2) Are there any known issues with fdelete and/or sdelete in Miva Mia
    > 3.9x? Both work fine on the remote web server. But it appears sdelete
    > does not work on Miva Mia (local) or I have something setup wrong on my
    > box based on this result from diag.mv:
    >
    > Test Script Directory [Run]
    >
    > Writing temporary file to data directory: ok
    > Moving temporary file to script directory: ok
    > Testing MvDO: ok
    > Checking Results: ok
    > Cleaning up: Unable to delete '11077266061203.mv'
    >
    > In case it is necessary, my system config is:
    >
    > OS: Windows XP Pro (SP2)
    > Processor: 1833 megahertz AMD Athlon XP
    > Bus Clock: 166 megahertz
    > Memory: 1 gig
    >
    > Can someone clue me in or point me in the right direction to figure it out?
    >
    > Thanks!
    > -mike
    >
    >
    >

    Comment


      #3
      Any Known Issues with Mia 3.9705?



      1) There should be no difference in the command set (as in
      there are no <MvCOMMAND> that exists in Empresa but not in
      Mia. About the only real difference is in system variables.
      Some exist in Empresa that do not exist in Mia, and they
      can give different answers.

      Here is a chart:
      <A HREF ="http://www.miva.com/docs/ScriptMan_html/18-SystemVariables.html#467709">http://www.miva.com/docs/ScriptMan_html/18-SystemVariables.html#467709</A>

      2) It's probably not a MivaScript problem but a MS Windows
      problem. Often MS Windows will think a file is still in use
      even though nothing is actively connected to the file. If
      the OS still thinks something is using the file, s/fdelete
      will fail. I've also seen this happen with my text editor.

      I would unzip something into a fresh directory. Fire up my
      text editor (EditPlus) to view the README. Find out it's
      not what I want do I close the text file, but leave
      EditPlus running. When I go to try and delete the
      directory, Windows says a file is still in use and fails.
      It's not until I close EditPlus that I can delete the
      directory.

      /ScottMc


      --- "Mike @ Levrah" <[email protected]> wrote:

      > Hey folks,
      >
      > It's been awhile. For those who remember me, I'm still
      > writing Miva code
      > but only just now starting to tinker with Miva Mia. I
      > installed the copy of
      > Miva Mia I had from waaaaaaaaay back in ... oh I don't
      > even remember now.
      > It was v3.22. So I went poking around and found the exe
      > (on Miva's FTP
      > site) to bring it up to Miva Mia 3.9705. After
      > installation, I have Two
      > questions:
      >
      > 1) Are there any elements in Miva Mia that don't work the
      > same in Empressa?
      > Or is there a document somewhere (that I haven't been
      > able to find yet)
      > which describes the differences?
      >
      > 2) Are there any known issues with fdelete and/or sdelete
      > in Miva Mia 3.9x?
      > Both work fine on the remote web server. But it appears
      > sdelete does not
      > work on Miva Mia (local) or I have something setup wrong
      > on my box based on
      > this result from diag.mv:
      >
      > Test Script Directory [Run]
      >
      > Writing temporary file to data directory: ok
      > Moving temporary file to script directory: ok
      > Testing MvDO: ok
      > Checking Results: ok
      > Cleaning up: Unable to delete '11077266061203.mv'
      >
      > In case it is necessary, my system config is:
      >
      > OS: Windows XP Pro (SP2)
      > Processor: 1833 megahertz AMD Athlon XP
      > Bus Clock: 166 megahertz
      > Memory: 1 gig
      >
      > Can someone clue me in or point me in the right direction
      > to figure it out?
      >
      > Thanks!
      > -mike
      >
      >
      >

      Comment

      Working...
      X