Page 1 of 1

database repeatedly locks

PostPosted: Tue May 14, 2002 8:01 pm
by Dave
Hello all,

I have a site that has been working fine for several years. Tonight I
received an email saying the DB was locked. I went to the store, utilities
and unlocked it. However, it appears to be locking repeatedly every half
hour or so. I rebooted the server and this still occurs. I am using SC Pro
4.1.1

Thank you.

Java in page /product header-footer and shop cart head and f

PostPosted: Wed May 15, 2002 6:45 am
by Kevin Sullivan
Hi Loren,

I use adobe Golive 6.0 and we have a folder that is called "generated_items"
that we need to place in our sites to make java script actions work. But I
can also ask it to write all the code on the page as an option. I put this
"generated_items" folder into the store folder thinking that may do it but
no.

I was trying to make the shop cart header use an "open window" action but it
doesn't work. This is just a sample of the code that uses the
"generated_folder".

My question is: will java work in the shop cart headers anyway? How about
the regular store headers and footers?

Thanks,
Kevin vantelweb.com

<csactions>
<csaction name="B907DB0D0" class="Open Window" type="onevent"
val0="http://www.vantelpearls.com/p_guarantee.html" val1="" val2="300"
val3="300" val4="true" val5="false" val6="false" val7="false" val8="false"
val9="false" val10="false" urlparams="1"></csaction>
</csactions>
<csscriptdict import>
<script type="text/javascript"
src="../GeneratedItems/CSScriptLib.js"></script>
</csscriptdict>
<csactiondict>
<script type="text/javascript"><!--
CSAct[/*CMP*/ 'B907DB0D0'] = new Array(CSOpenWindow,/*URL*/
'http://www.vantelpearls.com/p_guarantee.html','',300,300,true,false,false,f
alse,false,false,false);

// --></script>
</csactiondict>

Re: Java in page /product header-footer and shop cart head a

PostPosted: Wed May 15, 2002 11:38 am
by loren_d_c
Kevin,

I am not a JavaScript expert, I am sure there are other newsgroup participants
who can answer JavaScript coding questions better than I.

Once thing that jumped out at me, though, was that you say the folder is called
"generated_items" yet your code refers to a directory called "GeneratedItems".
Also, if you are trying to put this code on the shopping cart screens, note that
they are usually in a cgi-bin directory, not in your document root. There may be
several problems with this, 1) you may not have created the directory containing
the .js file in the cgi-bin/sc directory and 2) you may not be able to put the
javascript files anywhere under the cgi-bin directory anyway because most
servers cannot serve documents (.js files fall in this category) from cgi-bin
directories, they can only execute cgis from these directories.

-Loren


Kevin Sullivan wrote:

Hi Loren,

I use adobe Golive 6.0 and we have a folder that is called "generated_items"
that we need to place in our sites to make java script actions work. But I
can also ask it to write all the code on the page as an option. I put this
"generated_items" folder into the store folder thinking that may do it but
no.

I was trying to make the shop cart header use an "open window" action but it
doesn't work. This is just a sample of the code that uses the
"generated_folder".

My question is: will java work in the shop cart headers anyway? How about
the regular store headers and footers?

Thanks,
Kevin vantelweb.com

csactions
csaction name="B907DB0D0" class="Open Window" type="onevent"
val0="http://www.vantelpearls.com/p_guarantee.html" val1="" val2="300"
val3="300" val4="true" val5="false" val6="false" val7="false" val8="false"
val9="false" val10="false" urlparams="1"></csaction
/csactions
csscriptdict import
script type="text/javascript"
src="../GeneratedItems/CSScriptLib.js"></script
/csscriptdict
csactiondict
script type="text/javascript"><!--
CSAct[/*CMP*/ 'B907DB0D0'] = new Array(CSOpenWindow,/*URL*/
'http://www.vantelpearls.com/p_guarantee.html','',300,300,true,false,false,f
alse,false,false,false);

// --></script
/csactiondict