GregM
06-16-08, 06:51 PM
Hello,
I had a script that i used to use for initializing things in Miva if i needed to do something outside of merchant.mvc. This would load all the API functions and what not so i can use them outside merchant.mvc. Ever since the MM5.5 upgrade, there seems to be an error popping up from that same script. Just wondering if anybody has encountered the same issue or if anybody knows what changes lead to this.
The code:
<MvIF EXPR="{sexists(l.m_v $ '/lib/config.mvc')}">
<MvDO FILE="{l.m_v $ '/lib/config.mvc'}">
<MvIF EXPR="{g.Merchant_Version AND sexists(l.m_v $ '/lib/db.mvc')}">
<MvDO FILE="{l.m_v $ '/lib/db.mvc'}" NAME="l.open" VALUE="{OpenDataFiles(g.Merchant_Version, l.domain)}">
<MvIF EXPR="{l.open AND sexists(l.m_v $ '/lib/util.mvc')}">
<MvDO FILE="{l.m_v $ '/lib/util.mvc'}" NAME="g.Session_id" VALUE="{DetermineSessionID()}">
<MvIF EXPR="{sexists(g.Module_Library_Utilities)}">
<MvIF EXPR="{sexists(g.Module_Library_DB)}">
<MvIF EXPR="{NOT g.Store_Code}">
<MvASSIGN NAME="g.Store_Code" VALUE="MYCODE">
</MvIF>
<MvDO FILE="{g.Module_Library_DB}" NAME="l.ok" VALUE="{Store_Open(g.Store_Code, g.store)}">
</MvIF>
</MvIF>
</MvIF>
</MvIF>
</MvIF>
And now i'm getting the following error:
Runtime error in 5.00/lib/db.mvc @ [00000002:000000f2]: lib/dbeng/open.mv: Line 66: MvDO: Unable to open '5.00/features/tui/tui_db.mvc': No such file or directory
Thanks for any help you can provide
I had a script that i used to use for initializing things in Miva if i needed to do something outside of merchant.mvc. This would load all the API functions and what not so i can use them outside merchant.mvc. Ever since the MM5.5 upgrade, there seems to be an error popping up from that same script. Just wondering if anybody has encountered the same issue or if anybody knows what changes lead to this.
The code:
<MvIF EXPR="{sexists(l.m_v $ '/lib/config.mvc')}">
<MvDO FILE="{l.m_v $ '/lib/config.mvc'}">
<MvIF EXPR="{g.Merchant_Version AND sexists(l.m_v $ '/lib/db.mvc')}">
<MvDO FILE="{l.m_v $ '/lib/db.mvc'}" NAME="l.open" VALUE="{OpenDataFiles(g.Merchant_Version, l.domain)}">
<MvIF EXPR="{l.open AND sexists(l.m_v $ '/lib/util.mvc')}">
<MvDO FILE="{l.m_v $ '/lib/util.mvc'}" NAME="g.Session_id" VALUE="{DetermineSessionID()}">
<MvIF EXPR="{sexists(g.Module_Library_Utilities)}">
<MvIF EXPR="{sexists(g.Module_Library_DB)}">
<MvIF EXPR="{NOT g.Store_Code}">
<MvASSIGN NAME="g.Store_Code" VALUE="MYCODE">
</MvIF>
<MvDO FILE="{g.Module_Library_DB}" NAME="l.ok" VALUE="{Store_Open(g.Store_Code, g.store)}">
</MvIF>
</MvIF>
</MvIF>
</MvIF>
</MvIF>
And now i'm getting the following error:
Runtime error in 5.00/lib/db.mvc @ [00000002:000000f2]: lib/dbeng/open.mv: Line 66: MvDO: Unable to open '5.00/features/tui/tui_db.mvc': No such file or directory
Thanks for any help you can provide