database repeatedly locks

This is an archive of old posting to the User Forum

database repeatedly locks

Postby Dave » Tue May 14, 2002 8:01 pm

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.
Dave
 

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

Postby Kevin Sullivan » Wed May 15, 2002 6:45 am

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>
Kevin Sullivan
 

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

Postby loren_d_c » Wed May 15, 2002 11:38 am

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
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 25 guests