Button help with asp database in dreamweaver
Hey i have a page that has an iframe inside it with 2 menu's
side by side with buttons in between to move items from one menu to
another and i have them set with javascript to move back and forth
works great only problem is its also supposed to update to the
database as well and i used the update command feature in
dreamwaver and i set it up but its still not working if i post my
code can someone help me?
If you're good with Flash and Action Script you could build a custom player. Otherwise, pick-one from the links below. Some are free, some are not.
Coffee Cup Video Player -- (supports playlists)
http://www.coffeecup.com/video-player/
Video LightBox --
http://videolightbox.com/
WWD Player -- supports playlists
http://www.woosterwebdesign.com/flvplayer/
Wimpy Rave -- supports playlists
http://www.wimpyplayer.com/index.html
JW Player --
http://www.longtailvideo.com/
FlowPlayer --
http://flowplayer.org/
YouTube --
http://code.google.com/apis/youtube/getting_started.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
Similar Messages
-
Help with ASP Connections - New User
I just set up a hosting account with 1 and 1 for a simple
website to catalog a series of yo-yo contest that we coordinate. I
have a simple MS Access database for organizing contest information
that we are trying to get online.
I am new to the application side of this and know very little
about connection strings, DSN, etc. I am experiencing problems with
connecting to the MS Access database that I have uploaded to the
1and 1 servers. If I hardcode the Javascript into the page, I can
connect and pull information but I definitely want to take
advantage of the design interface that Dreamweaver MX 2004 offers.
This is the code from the page that I can get working based
on the FAQ Sheet that 1and 1 offers for database connections:
<html>
<title>Database query using ASP</title>
<body bgcolor="FFFFFF">
<h2>Query table <b>Products</b> with
ASP</h2>
<%
Set dbaseConn = Server.CreateObject("ADODB.Connection")
dbaseConn.Open "DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=" & Server.Mappath("\db\League.mdb") & ";"
SQLQuery = "SELECT * FROM Contest_Information"
Set RS = dbaseConn.Execute(SQLQuery)
%>
<%
Do While Not RS.EOF
%>
<%=RS("cStartDate")%>, <%=RS("cName")%>,
<%=RS("cWebsite")%> List
<p>
<%
RS.MoveNext
Loop
RS.Close
Set RS = Nothing
dbaseConn.Close
Set dbaseConn = Nothing
%>
</body>
</html>
If I put in a "Custom Connection String" using the previous
code:
"DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" &
Server.Mappath("\db\League.mdb") & ";"
Dreamweaver can connect to the database when the connection
is 'tested' but cannot pull any tables and therefore cannot create
bindings.
Guidance...help...I'm stuck...
Thanks in advance.Hello Lucky.da.boss,
And welcome to Apple Discussions!
is asking can I or is there anyway i can transfer my music off that iPod to my touch?
See this article for tips on how to copy music from your 5th generation iPod to your iTunes library. Once you have successfully done that, you can sync them over to your iPod Touch. There is no way to do it directly.
http://macs.about.com/od/backupsarchives/ss/ipodcopy.htm
Also, I have two applications that aren't downloading I want to know how to delete them.
Tap your finger on one of them and hold it there until you see all your Apps start to wiggle. You will also see a small x in the upper right hand corner of the Apps you can delete. Go ahead and tap this to delete the App. When you are finished, hit the Home button to make the Apps stop wiggling. It might also help to have a look at your iPod's *User Guide.
http://manuals.info.apple.com/enUS/iPod_touch_iOS4.1_UserGuide.pdf
Can you have constant internet service or do they run solely off wi-fi?
Only Wi-fi.
B-rock -
Seriously Need Help With Lightbox Widget In Dreamweaver
Hi guys, I seriously need your help with this widget.
I'm not exactly new to Dreamweaver and I've been working on a particular website. Everything was going well until I dropped the Lightbox widget into the page.
Lightbox gallery displays, but opens images in a new window on its own. Here's an example;
http://imagesbylady.co.nz/photomike/HTML/promogallery.html
Yet, when I drop the widget into a completely separate page from the website, it works absolutely fine. Like here;
http://imagesbylady.co.nz/photomike/HTML/testing.html
I have exhausted this entire forum on the subject. I don't understand how the widget can work on a blank html page but when dropped into an already designed webpage, it breaks....!
If you need to have a look at the coding so you can help me further let me know. I've been on this for a total of 11 hours and I still can't figure out what the problem is. Seriously....i'm nearly close to tears! ;-(
If you could help me out I would be forever grateful.
Lots of Love
Lady xxHi guys, I seriously need your help with this widget.
I'm not exactly new to Dreamweaver and I've been working on a particular website. Everything was going well until I dropped the Lightbox widget into the page.
Lightbox gallery displays, but opens images in a new window on its own. Here's an example;
http://imagesbylady.co.nz/photomike/HTML/promogallery.html
Yet, when I drop the widget into a completely separate page from the website, it works absolutely fine. Like here;
http://imagesbylady.co.nz/photomike/HTML/testing.html
I have exhausted this entire forum on the subject. I don't understand how the widget can work on a blank html page but when dropped into an already designed webpage, it breaks....!
If you need to have a look at the coding so you can help me further let me know. I've been on this for a total of 11 hours and I still can't figure out what the problem is. Seriously....i'm nearly close to tears! ;-(
If you could help me out I would be forever grateful.
Lots of Love
Lady xx -
hye...
i have some problem with mySQLite database.i have this code
for my application (in attachment).when you clik the load button,it
will load a text file on the desktop directory.when you click the
filter function it will split the text file according to an array
that i have specified.
the text file consist of some data like this:66.249.71.54 - -
[10/Oct/2008:03:31:01 +0800] "GET
/mod.php?_call=Kalendar&day=2014-05-09 HTTP/1.1" 200
66.249.71.54 - - [10/Oct/2008:03:31:57 +0800] "GET
/KERIAN%20ENG/Towns/Main_Town.htm HTTP/1.0" 404
i have created a database on my desktop using one tool that i
have downloaded and point to that database.
the probllem now is,i want to store the "200" only strings
into the database.strings other than "200" will be not stored in
the database.can u show me how to do this..
i hope you can understand what i want...
thanks for your time..ty for your reply
my boss was dead set to make it work so we get down to it.. he says that this particular conf was now soppurted by oracle (dont think so), but well we modified the realese and now we have the vm server in the box with the vm manager and cam working..
now i what to discover the server and throws this error
OVMAPI_4010E Attempt to send command: discover_hardware to server: ovm1.grtn.cfe.gob.mx failed. OVMAPI_4004E Sync command failed on server: 10.0.2.210. Command: discover_hardware, Server error: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.Exception'>:ERROR 0 @ 730 parse_multipath_conf_file() ERROR: /etc/multipath.conf could not be read !?! ERROR 1 @ 372 fill_blkDevInfo_scsi_device() blkdev 'dm-0' bad devLink [../devices/virtual] !?! Runtime errors occured [2] [Tue Jan 20 05:58:32 CST 2015] [Tue Jan 20 05:58:32 CST 2015]
this is in the vm manager 3.3.1 console
try to check the etc/multipath.conf and its not there and i have no idea why.. -
PHP Help with inherited database site
Hope someone can help with this, although I might be a bit vague. (But will be happy to post any code that might help.)
Basically I do a few sites for a company, and everything is coming together nicely moving everything to a new reseller hosting account where everything can site. I'm basically doing some redesign and new database work for them.
But there's one site I'm basically just trying to move over, that already has a database. I've copied the site onto the new hosting, copied the database across and created a new connection file.
I must admit the code is all a bit more PHPO heavy than what I'm used to working with. so have run into a problem trying to figure out what data is not displaying due to queries failing. As far as I can tell the connection is working, and the queries have not changed.
Anyway - the main page is here, where you should be able to click on the furniture images to go to the product page :
http://www.miradatravelmedia.com/lusty/public_html/index.php
But when you click through the product page query is failing :
http://www.miradatravelmedia.com/lusty/public_html/products.php?category=1
The products page is mostly PHP and looks like this :
[PHP]<?php
if (!@empty($_REQUEST["img"])) {
require_once("../includes/hft_image.php");
$img = new hft_image($_REQUEST["img"]);
$img->resize(200,180,"-");
$img->output_resized("");
exit;
$page = "products";
include("../includes/header.php");
include("../includes/db_open.php");
$sql = "SELECT `id`, `name` FROM `categories` WHERE `id` = '" . $_REQUEST["category"] . "'";
$result = mysql_query($sql) or die("Query failed : $sql at line " . __line__);
$category = mysql_fetch_assoc($result);
?>
<div id="trail"><a href="shop.php">Shop</a> > Lloyd Loom <?php echo $category["name"]?></div>
<div class="clear" id="divider1"><img src="images/spacer.gif" alt="<?php echo keyword()?>" /></div>
<h1>Lloyd Loom <?php echo $category["name"]?></h1>
<?php
$sql =
"SELECT * " .
"FROM `products` " .
"WHERE `category` = '" . $_REQUEST["category"] . "' " .
"ORDER BY `order`";
$result = mysql_query($sql) or die("Query failed : $sql at line " . __line__);
if (mysql_num_rows($result) == 0) {
?>
<p>Coming soon ...</p>
<?php
} else {
$n = 0;
while ($row = mysql_fetch_assoc($result)) {
$n++;
?>
<a href="product.php?id=<?php echo $row["id"]?>" class="product"<?php if ($n == mysql_num_rows($result)) echo " id=\"last\""?>>
<?php
if ($file = glob("images/products/" . $row["id"] . "_*.*")) {
?>
<img src="img.php?img=<?php echo $file[0]?>&width=200&height=180" alt="<?php echo $row["code"]?>" />
<?php
} else {
?>
<div id="no_image">No image found</div>
<?php
?>
<?php echo $row["code"]?>
</a>
<?php
if (is_int($n / 4)) {
?>
<div class="clear"><img src="images/spacer.gif" alt="<?php echo keyword()?>" /></div>
<?php
?>
<div class="clear" id="divider2"><img src="images/spacer.gif" alt="<?php echo keyword()?>" /></div>
<?php
include("../includes/footer.php");
?>[/PHP]
If anyone could shed any light on what's going wrong still, that would be much appreciated.
Thanks.Iain71 wrote:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''categories' WHERE 'id' = '1'' at line 1
So it does look a bit odd with the quotes.
Column names in a SQL query must not be in quotes. The MySQL error message tells you that the SQL syntax error is "near" the section it refers to. In other words, the error is just before that part of the query. Normally, you need to display the whole query to spot the error, but it's obvious in this particular case, because there's a quotation mark after categories, indicating that you've put the column name in quotes. Anyway, you've solved that problem by using the version I suggested.
I still haven't managed to establish where this vat.php file is - is there any explanation for it not being visible on the original hosting server where the site is working? And could it have anything to do with the query not working?
No, it has nothing to do with the query not working, and the reason you can't see it on the live site is because there's no error. The error message on your test site tells you exactly where to look for the problem. The file vat.php is included by header.php on line 19. Either vat.php isn't on your server, or the code on line 19 of header.php is pointing to the wrong location. -
Help on working with MySQL databases in Dreamweaver
I am new to the world of dynamic webpages. I have been
following along on the Lynda.com videos Dreamweaver CS3: Beyond the
Basics, and Dreamweaver CS3: Dynamic Development, and have
basically got it figured out for doing stuff on my local computer.
However, I can't quite figure out what steps I have to take so that
I can take my database driven site live. I use hosting with both
ASTHost and GoDaddy. My hosting with each, I believe, is on Linux
servers (GoDaddy for sure Linux, ASTHost may be MS). I am designing
with DW CS3, and using WAMP as the PHP server on my pc. I am also
using MySQL version 5.0. My PHP version is 5.1.2 with ASTHost and
GoDaddy.
Can anyone point me to a good tutorial or site that explains
how to move the site from your own pc at home onto a hosting server
and make it work? I have tried a few things, but keep running into
MySQL errors.I have seen a good solution at http://webdesignsolutions.co.in/add-phtml-extension-in-dreamweaver , this is very simple.
-
Help with asp ... security levels
I made a change to the security level for the end user. i add
a security feature by adding 12345 to their security level.
<%@LANGUAGE="VBSCRIPT"%>
<%Option Explicit%>
<%
'check to see if the page is submitted
Dim validLogin
Dim strErrorMessage
Dim intLevel
Dim sLevel
If (Request.Form("uname")<>"") Then
'user has submitted the form
'get the entered values and hit the database
Dim strUserName
Dim strPassword
'going to use an implicit connection, no connection object
needed
Dim objRS
strUserName = UCase(Request.Form("uname"))
strPassword = UCase(Request.Form("pwd"))
response.write("strUserName")
'prepare the RS
Set objRS = Server.CreateObject("ADODB.Recordset")
'set the sql statement
objRS.Source = "SELECT * FROM tblEmployee WHERE
strEmpUserName = '" & strUserName & "' AND strEmpPassword =
'" & strPassword & "'"
' heres the implicit connection
objRS.ActiveConnection =
"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\Inetpub\db\IMPCustomers.mdb"
objRS.CursorType = 0
objRS.CursorLocation = 3
objRS.Open
'check for EOF
If(objRS.EOF) Then
'no records matched, invalid login
Response.Redirect("invalidLogin.asp")
'strErrorMessage = "Invalid Login. Try Again."
validLogin = false
Else
'added intLevel to add more security on 3/29/07
intLevel = Cint(objRS("intEmpSecurityLevel"))
intLevel = intLevel + 12345
sLevel = intLevel
'valid login, set session variables
Session("username") = UCase(strUserName)
Session("userpass") = UCase(strPassword)
Session("sLevel") = sLevel
'Session("sLevel") = objRS("intEmpSecurityLevel") - changed
to add more security on 3/29/07
Session("fn") = objRS("strEmpFN")
'release the RS
Set objRS.ActiveConnection = Nothing
Set objRS = nothing
'redirect off this page
Response.Redirect("custSearch.asp")
End If
End If
%>
I'm now having trouble removing the 12345 from their security
level in the custSearch.asp.
<%@LANGUAGE="VBSCRIPT"%>
<%Option Explicit%>
<%
Dim strUserName
Dim strPassword
Dim intSLevel
Dim isum
Dim intS
Dim intNewSLevel
Dim sLevel
Dim strFN
Dim strErrorMessage
Dim strError
'get pass parameters
strUserName = Session("username")
strPassword = Session("userpass")
intSLevel = Session("sLevel")
'add on 3/29/07 for security
'get the security level
isum = sLevel
'take isum which contains sLevel and subtract 12345 from it
isum = isum - 12345
'now intS equals security level in the db
intS = isum
'put into a session
Session("intS") = intS
strFN = Session("fn")
strErrorMessage = ("strError")
'If strErrorMessage = "" Then
'strError = "There is no customer with that last name."
'End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<title>Employee Intranet - Customer Database, Search
for a particular customer.</title>
<meta http-equiv="content-type" content="text/html;
charset=utf-8" />
<link rel="stylesheet" type="text/css"
href="../css/pop_style.css" />
<link rel="stylesheet" type="text/css"
href="../css/forms.css" />
<style type="text/css">
/* HMTL selectors start here */
h2 {
margin-bottom:15px;
p {
margin-bottom:20px;
hr {
border:thin;
border-color:#CCCCCC;
border-style:dotted;
width:100%;
text-align:center;
table {
width:300;
align:center;
cellpadding:2px;
cellspacing:2px;
margin-left:30%;
td {
font-size:14px;
font-style:normal;
font-weight:normal;
border:0;
padding:0;
/* HMTL selectors start here */
/* ID selectors start */
#mainText {
height:400px;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
text-align:left;
margin-left:1%;
margin-right:1%;
padding: 10px 5px;
word-spacing:1px;
letter-spacing:1px;
/* id ends here */
</style>
<script language="JavaScript" type="text/JavaScript">
<!-- function MM_reloadPage(init) { //reloads the window
if Nav4 resized if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW ||
innerHeight!=document.MM_pgH) location.reload(); }
MM_reloadPage(true); //-->
</script>
</head>
<body>
<!-- CASCADING POPUP MENUS v5.2 by Angus Turnbill
http://www.twinhelix.com -->
<script language="javascript" type="text/javascript"
src="../js/pop_core.js"></script>
<script language="javascript" type="text/javascript"
src="../js/pop_data.js"></script>
<!-- border begins here -->
<div id="border">
<!-- second nav start here -->
<div id="secNavBar"><a
href="../index.htm">Home</a> | <a
href="../htm/quality.htm">Quality</a>
| <a href="../htm/contactUs.htm">Contact
Us</a> | <a
href="../htm/siteMap.htm"> Site
Map</a></div>
<!-- logo starts here -->
<div id="logo">
<img src="../art/NewLogo.jpg" alt="Logo of IMPulse NC,
INC." usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="5,3,280,74"
href="../index.htm" alt="Return to home page" />
</map>
</div>
<!-- primary navigation div tags starts here -->
<div id="priNav">
<a id="home" name="home"
style="visibility:hidden;">Home</a>
<!-- primary navigation div tags ends here -->
</div>
<!-- main text starts here -->
<div id="mainText">
<h2>Customer Database </h2>
<p
style="font-size:14px;font-style:normal;font-weight:normal;">Welcome
<%=strFN%></p>
<p
style="font-size:14px;font-style:normal;font-weight:normal;">Please
search for a customer by using the fields below. You can use one
field or multiple fields for your search.</p>
<!-- signIn form starts here -->
<div id="signIn">
<div id="CSearch">
<table>
<form action="results.asp" method="post" name="search"
id="search">
<tr>
<td width="98" height="29">Last Name:</td>
<td width="150" tabindex="1"><input type="text"
name="clname" size="25" maxlength="25" /></td>
</tr>
<tr>
<td height="30">First Name:</td>
<td tabindex="2"><input type="text" size="25"
maxlength="25" name="cfname" /></td>
</tr>
<tr>
<td height="30">Company:</td>
<td tabindex="3"><input type="text" size="25"
maxlength="25" name="ccomp" /></td>
</tr>
<tr>
<td height="48" colspan="2" tabindex="4">
<input type="submit" name="login" value="Submit" />
<input type="reset" name="Reset" value="Reset" />
<a href="logOut.asp">
<input type="button" name="logOut" value="Log Out" />
</a> </td>
</tr>
</form>
</table>
<!-- customer search form ends here -->
</div>
<blockquote> </blockquote>
<!-- signIn form ends here -->
</div>
<!-- main text ends here -->
</div>
<div id="btm_Bar">
100 IMPulse Way • Mount Olive, North Carolina 28365
• Main (919) 658-2200 • Fax (919) 658-2268<br />
©2006 IMPulse NC, Inc. All Rights Reserved. </div>
</div>
<script language="javascript" type="text/javascript"
src="../js/pop_events.js"></script>
<!-- Places text blinker in the uname text box thru
javascript -->
<script language="javascript" type="text/javascript">
document.search.clname.focus();
</script>
<!-- javascript ends here -->
<%
Response.Write(Session("username")) & "<br />"
Response.Write(Session("userpass")) & "<br />"
Response.Write(Session("sLevel")) & "<br />"
Response.Write(Session("intS")) & "<br />"
%>
</body>
</html>
What am I doing wrong?"pqer" <[email protected]> wrote in message
news:eugsik$kt5$[email protected]..
> What am I doing wrong?
1. You're allowing unfiltered user input into your SQL query.
I could do
some horrible damage to your system.
2. You have SELECT * in your query.
3. You're doing something that doesn't make any sense. Why
add a constant
to the security level just to subtract it again when you
actually want to
use it? You're just making more work for yourself. There is
no benefit
there. -
I'm still stuck on learning database-driven development. I
plan to take the Lynda.com free lessons... but until then, if
anyone can help me, I'd be very appreciative:
Here are today's questions:
My manager (VP eng./sales/mktg) wants to know WHY I think
Dreamweaver is better for developing database-driven applicaitons
than C# in an asp.net environment. I believe DW is better at
supporting CSS and enabling an user-friendly design for the UI, but
I don't know whether C# can do all the same things... (C# is a
development tool for the asp.net environment).
Can you help me identify why DW is better than C# for either
the entire dynamic site development OR just the UI?
Also I need to learn how to attach my sql queries (already
written) to an html page created in dreamweaver, We have an IIS
webserver. Here's how I see the process:
a) Kick off the query from a DW html page
b) access the DB through the web server (IIS?)
c) recieve the results back from the database
d) render the results on a DW page.
The sql is going to an oracle DB.
I can access oracle and run the query (using SQL plus) from
my PC, so the only question is how to I hook it up to DW...
Anything you can say to shed light on any of these would be
so helpful!
THanks,
JaneHi Jane,
You must remember DW is a tool for creating websites. You
could use C#
for your website and do the coding of C# in DW. DW is not a
scripting
language as PHP, ASP and C# are.
As for the query, do you know what scripting language you
would be using
to connect to the Oracle DB (ASP, PHP, etc.)? Once you let us
know what
you are using it will be easy to give an example.
Cheers.
Chris
basketcasecafe1 wrote:
> I'm still stuck on learning database-driven development.
I plan to take the
> Lynda.com free lessons... but until then, if anyone can
help me, I'd be very
> appreciative:
>
> Here are today's questions:
>
> My manager (VP eng./sales/mktg) wants to know WHY I
think Dreamweaver is
> better for developing database-driven applicaitons than
C# in an asp.net
> environment. I believe DW is better at supporting CSS
and enabling an
> user-friendly design for the UI, but I don't know
whether C# can do all the
> same things... (C# is a development tool for the asp.net
environment).
>
> Can you help me identify why DW is better than C# for
either the entire
> dynamic site development OR just the UI?
>
> Also I need to learn how to attach my sql queries
(already written) to an html
> page created in dreamweaver, We have an IIS webserver.
Here's how I see the
> process:
> a) Kick off the query from a DW html page
> b) access the DB through the web server (IIS?)
> c) recieve the results back from the database
> d) render the results on a DW page.
>
> The sql is going to an oracle DB.
> I can access oracle and run the query (using SQL plus)
from my PC, so the
> only question is how to I hook it up to DW...
>
>
> Anything you can say to shed light on any of these would
be so helpful!
> THanks,
> Jane
>
>
>
>
> -
Help with errors on opening Dreamweaver
On opening DW (v. CS3), I get an error message that says:
quote:
The following translators were not loaded due to errors:
XSLTransform.htm: has configuration information that is invalid"
It takes a couple of times of clicking "OK" to get that one
to disappear, then I get:
quote:
"While executing onLoad_in -onOpen.htm the following
Javascript error(s) occurred: In file ""_onOpen"": Reference Error"
onOpen is not defined.
It also takes a few clicks of the OK button to get that one
to disappear too.
I also get these messages when trying to open, save or close
individual pages.
Not sure how much information is needed to troubleshoot this
- but here goes:
I have one site, all pages are based on a template
I'm a novice, using a downloaded template which I tweaked to
suit the needs of my agency.
The site has been working just fine for the past 2 or 3
weeks, this is a recent problem, and I'm not sure what I did
immediately prior to it occurring ... I first noticed it when I
went to open DW to make some edits to our website (www.mccainc.org)
Thanks for any help anyone can offer!
Vikki
@ MCCA Inc.If that fails to solve the problem, then I recommend you
contact Adobe
directly and use one of your one-on-one support incidents.
http://www.adobe.com/support/programs/dreamweaver/index.html?tab:contact=1
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"MCCA_Vikki" <[email protected]> wrote in
message
news:g4at1e$mra$[email protected]..
> Thanks for your reply, I tried to work through the
available solutions,
> but I
> can't seem to get anything to work. The error is
occurring at startup of
> the
> program, and not with any particular site (I only have
one).
>
> I can't locate a .dws cache file to delete.
>
> I'll keep trying to work on this, but if anyone has any
other ideas in the
> meantime, I'd love to hear your suggestions.
>
> Thanks!
> Vikki
> -
Help with iTunes database and Time Machine after Lion clean install
I did a clean install of OS X Lion and think I've given myself problems with my Snow Leopard Time Machine backup and with my iTunes Library database files.
My iMac (2007) had become very sluggish so I opted for a clean install. Before the install of Lion my Snow Leopard 10.6.8 internal 1TB HD was at about 600GBs. I was using Time Machine to backup to an external 1TB drive. I had my iTunes 10.? library on the same drive.
For the Lion install I partitioned my internal 1TB HD into two partitions - a 250GB Lion boot partition and the rest for Lion data files.
Now I have two problems - 1. I can't work out how to re-connect my Time Machine backups, since they were related to a much bigger original drive, and 2. I can't seem to find my iTunes database files.
I also don't want to restore any application files at this stage, as I'm determined to do a fresh install of only the applications I need as I go along, and hopefully avoid the issues of sluggishness I had with Snow Leopard.
I have all my iTunes files in their pre-Lion external HD folder, but that folder does not seem to have the iTunes Library.XML or iTunes Library files. I didn't delete them so I'm hoping they were in my iTunes folder on my SL boot drive. But that drive was deleted during the install, so I'll be depending on Time Machine to restore the database.
Can anyone suggest a way to deal with Time Machine for my Lion install, and a way to restore my iTunes database? I'd like to keep as much of the Snow Leopard Time Machine data as I can, while continuing to do Time Machine backups from my Lion installation.
Anyone know where iTunes stores those database files, if not in the external drive iTunes folder? Spotlight search doesn't find the files, but is there a way to search my old Time Machine backups without having the Time Machine backups folder re-connected in Lion?
Thanks.My iTunes folder is organised like this if it helps:
And iTunes uses them from the Prefrences like this:
Regards,
Colin R. -
Need help with .asp Virtual Includes
Hi,
I am using;
Dreamweaver 8
Win XP Pro
IIS6
Virtual Directory Information in IIS:
Local Path: C:\Inetpub\wwwroot\hseih
Application Name: hseih
Execute Permissions: Scripts Only
Configurations>Options>Enable Parent Paths: Checked
Read, Write, Browsing, Script Secure access, log visits,
index this source: All Checked
Dreamweaver Site Setup Information:
Local Root: C:\Inetpub\wwwroot\hseih\
Links Relative to: Site Root
Server Model: ASP/VBScript
Access: Local/Nework
Testing Server Folder: C:\Inetpub\wwwroot\hseih\
URL Prefix:
http://localhost/hseih/
Heres the code Im using in my index.asp file, where the
footer.asp file is in the same directory.
<!--#include virtual="/header.asp"--> or
<!--#include virtual="header.asp"-->
very simple, I believe I have everything setup correctly, and
it should work. But I receive:
Error Type:
Active Server Pages, ASP 0126 (0x80004005)
The include file 'header.asp' was not found.
/hseih/index.asp, line 10
However, it DOES work whenI add the root directory name into
the include path as follows:
<!--#include virtual="/hseih/header.asp"-->
its like there's a setup issue somewhere, where IIS is
misinterpreting the root of my site. When Im specifying to use the
Site Root, and also the use of the "/" in the include path - doesnt
that specify the root directory?
Any insight would be greatly appreciate.
Thanks!You web server configuration is what ultimately drives how
your site is set
up and how you navigate to all of your resources, whether
they be include
files, images, or what have you.
Right now, the *root* of your web site, according to your IIS
configuration,
is c:\inetpub\wwwroot. This translates into
http://localhost/. If you have
your "hseih" folder within wwwroot, then it's a virtual
directory, or
subfolder, of the root. In other words,
http://localhost/hseih/. So if
you
had a file in the "hseih" directory called "myfile.asp", then
the path to it
would be:
http://localhost/hseih/myfile.asp.
If, on the other hand, you reconfigure the web site in IIS to
use
c:\inetpub\wwwroot\hseih as the root of your web site as
described in the
configuration information I referred to earlier, the path to
that same file
would be
http://localhost/myfile.asp.
It's all a matter of telling IIS
where the start of your web site is.
The Local Root Folder config in the Local Info section of
your site
definition tells Dreamweaver where the files reside that
you'll be editing.
*Typically*, this lines up with the HTTP Address config in
the Local Info
section of your site definition. Not always, but most of the
time.
*Typically*, this also lines up with the URL Prefix in the
Testing Server
section of your site definition. Because you've got
http://localhost/hseih/
set up in the URL prefix *and* "c:\inetpub\wwwroot\hseih" set
up in the
local root folder everything is resolving correctly, because
technically
they're the same location. But, the thing to remember is
"hseih" is a
virtual directory within the site, it's not the root of the
site (which is
one level up from there).
Any configuration URL that you set in your Dreamweaver site
definition is
pretty much there to tell Dreamweaver where to find things
when it creates
your preview pages, and other similar tasks. It's mostly
there to make sure
it builds links and references correctly for those functions.
Once you have
a grasp on those two items and know where the separate of web
server and
design tools occur, it makes a lot more sense.
When you're working locally, which it sounds like you are,
things are
generally easier to configure because the local and remote
info are the
same. But when you begin working with outside web servers, it
can get more
complicated.
Best regards,
Chris
"fmeenz" <[email protected]> wrote in
message
news:[email protected]...
> chris -
>
> just reading your 2nd post about making the IIS root
directory 'hseih'
>
> currently, my IIS local path for my virtual directory is
set to
>
> Local Root: C:\Inetpub\wwwroot\hseih\
>
> is that not correct?
>
> when i browse
http://localhost/hseih/ i do in
fact see my index.asp page.
> Its
> the include files that arent working correctly. I am
under the assumption
> that, by adding a "/" to any reference -- link, image,
include -- it
> should
> first start from the root of the site and pull from
there. From what I
> understand, I have set the root of my site to the hseih
directory. please
> correct me if im wrong.
>
> thanks
> eric
>
> -
Help with a database view/table
Hi,
I have seperate oracle9i database on one machine (UNIX).
Myview view has poor performance in dbtest, but it has good performance in dbdev.
Both DBs are having relatively similar configuration.
When I set the autotrace on I realized the indexes are in place on both databases.
But it takes 2 times more to query dbtest than dbdev.
Here is the difference when I query both views and the autotrace is on:
SELECT id from Myview; on DBTEST:
Statistics
105 recursive calls
0 db block gets
83147 consistent gets
456 physical reads
0 redo size
2777 bytes sent via SQL*Net to client
400 bytes received via SQL*Net from client
10 SQL*Net roundtrips to/from client
4 sorts (memory)
0 sorts (disk)
122 rows processed
SELECT id from Myview; on DBDEV:
Statistics
105 recursive calls
0 db block gets
42537 consistent gets
267 physical reads
0 redo size
3601 bytes sent via SQL*Net to client
414 bytes received via SQL*Net from client
12 SQL*Net roundtrips to/from client
4 sorts (memory)
0 sorts (disk)
157 rows processed
How can I identify where the problem is? Why "consistent gets" and "physical reads" parameters are about 2 times in DBTEST. I believe this is why I have poor performance in DBTEST.
Could someone give me a clue on how to idetify the issue?
Thanks"I have seperate oracle9i database on one machine (UNIX)."Correction: "I have two seperate oracle9i database installed on one machine (UNIX).
Can anyone help me with this? If you need more infor let me know.
Thanks in advance. -
Help with a database template - Desktop Product Inventory Template
Hello Developers,
I'm trying to develop a database to track purchase orders, supply levels, and supplies issued (with reports). I've been working with the MS Access template called "Desktop Product Inventory", but it has more functionality than I need (i.e. shipping,
sales, invoicing). This template is almost exactly what I'm looking for.
I've tried removing the fields I don't need, but I encounter errors everytime. Frustrated, I created a new database by studying and copying the format of the template. I have the general structure of the database setup with tabs, but I'm completly lost when
it comes to formatting/coding the database. I'm not sure what needs to be done in order to recreate the functionality from the original template.
Unfortunately, I must admit that Access is my least favorite and used MS application.
So, my questions are:
1.) Does anyone know of an "effective" way to edit the Desktop Product Inventory template and maintain functionality?
OR
2.) Would someone mind taking a look at my database and giving me feedback? It's essentially just the layout and what I want the database to show.
Any and all help is appreciated, thanks for reading!The Microsoft template apps have a lot in them - which is why they are particularly difficult to modify by the novice - so don't feel bad.
A database that does Inventory, shipping, sales, invoicing - is going to be complicated inherently, and is really a matter of development familiarity and experience. -
I have two recordsets: Recorsdset 1 results have an ID field. Recordset 2 results have an ID field
I want to show all records in Recordset 1 that are not in Recordset 2. For example.
Recordset 1 has
1
2
3
4
5
Recordset 2 has
1
3
4
I want the results to show
2
5
How can i accomplish this. It is ASP/VBScript with an access database.Do you need two recordsets? Why not just use one?
select MyId from MyTableOne where MyId not in (select MyId from MyTableTwo)
Of course, the where clause of the main and subqueries could be more complex but you get the idea. -
Helleo Everyone
I have been given a website to ammend and although i am not new to dreamweaver and using asp within dremweaver i sometimes struggle dealing with stuff that may have not been created with the tools i am used to.
I have a page that displays information relating to different clocks the page gets its info ftom an access table called tblmovements, in that table is column Called KitID and another column called details that has link information that would go to another page.
Back to the main page all that i need to happen is when the user scrolls down to find the clock that they want i need them to be able to click on more details and for that to link to the page that is referenced in the details column in the table.
But i am not sure on how to do this.
The column kitID is a unique column.
Can anyone assist
Thanks
JohnHi Thanks for the response
Below is the page that shows the information, then where it says details that would then link to the appropriate page.
I did do a link using dreamweaver recordset to the column that has the link in it but every details bit went to the same page, so i understand what you are saying about identifying via the ID but thats the bit i am unsure of.
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/dbConn.asp" --> <% Dim Recordset1 Dim Recordset1_cmd Dim Recordset1_numRows
Set Recordset1_cmd = Server.CreateObject ("ADODB.Command") Recordset1_cmd.ActiveConnection = MM_dbConn_STRING Recordset1_cmd.CommandText = "SELECT * FROM tblMovements"
Recordset1_cmd.Prepared = true
Set Recordset1 = Recordset1_cmd.Execute
Recordset1_numRows = 0
%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%
Dim objRS
Set objRS = Server.CreateObject ("ADODB.Recordset") strSQL = "SELECT * FROM tblMovements ORDER BY KitID ASC"
objRS.Open strSQL, MM_dbConn_STRING%>
<title>Oakside Classic Clocks | Clock Makers - Kit Gallery</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="description" content="Oakside Classic Clocks' Gallery of clock makers Kieninger 'movement, dial, pendulum and accessories' kits." /> <style type="text/css">
<!--
@import url(css/global.css);
.style3 {
color: #990000;
font-style: italic;
.style6 {
font-family: Georgia, "Times New Roman", Times, serif;
color: #000066;
font-style: italic;
.style9 {color: #990000; font-style: italic; font-weight: bold; }
.style14 {color: #990000; font-style: italic; font-weight: bold; font-size: small; }
.style15 {color: #000000}
-->
</style>
</head>
<body id="gallery">
<table width="100%" height="56" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="imgs/banner.gif"><img src="imgs/banner_l.gif" width="236" height="56" /></td>
<td width="12"><img src="imgs/banner_r.gif" width="12" height="56" /></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#000066"><img src="imgs/slogan.gif" width="485" height="24" /></td>
</tr>
</table>
<!--#include file="incl/mainnav.asp" -->
<div id="content">
<h1 class="strapline">Kieninger Clock 'Movement, Dial & Pendulum' Sets - For those who insist on the Best! </h1>
<h2 align="left" class="strapline">Welcome to Oakside's 'Clock Makers' Gallery - On this page Frank has assembled a large selection of comprehensive clock makers sets to suit all styles of clock cabinets - each Set contains a Kieninger mechanical Clock Movement and a Dial and where appropriate, a Pendulum, the Weight Shells & Fillings, plus all of the Accessories required to get your clock running. We believe that Oakside now stock the largest range of Kieninger Movements and Accessories in Europe! </h2>
<h2 align="left" class="style14"> </h2>
<h2 align="left" class="strapline">Each of Oakside's Clock Makers Sets include every thing you will need to get your clock running, including a Kieninger Mechanical Clock Movement, a Dial, a Pendulum, polished brass weight shells & fillings, the cable pulleys, the gongs, winding key and the fixings. We also include a drawing showing the primary 'movement, dial and pendulum' accommodation dimensions and a template for positioning the mounting holes required to fit these items into your clock. On the 'Spares & Accessories' page you will find special brass rebate hinges, mortise locks, escutcheons, keys and brass screws and adjustable cabinet feet for leveling your clock. You may collect your pre-ordered/pre-paid kit and save the postage.</h2>
<h2 class="style9"> </h2>
<h2 align="justify" class="strapline">We also stock a huge range of <a href="kit_spares_accessories.asp">replacement parts</a> for Kieninger movements. </h2><h2 align="left" class="strapline">If you require a replacement Kieninger movement without accessories please <a href="movement_gallery.asp">click here</a>. </h2>
<h2 class="style9"> </h2>
<h3 class="style6"> You are invited to phone Frank to discuss your project prior to ordering a kit. If you are designing your own clock or are intending to modify an existing design, we suggest that you pre-order your Movement set with a deposit of £25. We will then send you the Kieninger installation drawing so that you can ensure that all parts will fit and operate without later cabinet alterations.</h3>
<h3 align="justify" class="style6">Please note, when you purchase your mechanical clock parts from Oakside, you are dealing with a dedicated Longcase Clock Designer & Maker, not just a shop! We would happily examine you clock drawings to ensure that your design will be able to accommodate the Kieninger movement of your choice; we will also provide telephone assistance when you are installing the mechanicals and commissioning your clock - our expertise will ensure that your new clock performs perfectly!</h3>
<h3 class="style6">Thinking about building you first Grandfather Clock - We suggest that you visit the web site of <a href="http://www.van-vliet.org/dempseywoodworking/grandfatherclock.shtml">Dempsey Woodworking</a> in Canada. Frank has coordinated with the sites owner who has prepared detailed construction plans for a longcase clock, in the style of our Winchester Grandfather clock. Please note that by modifying the depth dimensions on the plan, you can build this clock to accept any of our Kieninger 116cm movements. The web site provides an illustrated 'Step by Step' guide showing each of the constructional stages and you can down-load a free copy of the plans.</h3>
<h5> For Grandfather Clocks around 80 inches high and taller we suggest a 116cm movement with a 280mm width dial.</h5>
<h5> For Grandmother Clocks between 60 & 70 inches tall consider a 100 or 93cm pendulum Movement with a 250mm width dial. </h5>
<h5>For Granddaughter clocks we suggest a 93 or 80CM pendulum Movement and a 200mm width dial. </h5>
<h5>For Laterndluhr Style, Large Wall Regulators with 116cm 'Seconds pendulums, consider Kits 24, 25, 26, 27 28 and 29. </h5>
<h5>For Medium Height Longcase Wall clocks consider the 65, 80 and 93cm Pendulum Movements.</h5>
<h5>For Smaller longcase Wall Clocks consider Kits 08, 09 and 09A. </h5>
<h5>Shaker Wall clocks require a movement of shallow depth and are usually without chimes - Frank suggests Kit 09 .</h5>
<h5>For Small Mantle Clocks consider Kits 01 and 02. </h5>
<h5>For Large Mantle or Bracket Clocks, consider Kits 04, 05, 06 and 07.. </h5>
<hr /><hr />
<div class="clock">
<p>
<%
Do While Not objRS.EOF
' Replace character retuns, ' and " characters
strKitDescriptionShort = objRS("KitDescriptionShort")
strKitDescriptionShort = Replace(strKitDescriptionShort, vbCRLF & vbCRLF, "</dd><dd>")
strKitDescriptionShort = Replace(strKitDescriptionShort, chr(34), """)
strKitDescriptionShort = Replace(strKitDescriptionShort, chr(39), "'")
strImgSrc = "imgs/clocks" & objRS("imgKitCatalogue") %>
<dl>
<img src="<%="imgs/clocks/movement_images/" & objRS("imgKitCatalogue")%>" alt="<%=objRS("imgKitCatalogueAltText")%>" hspace="10" vspace="10" class="img-gallery" />
<dt><%=objRS("KitID")%> featuring the Kieninger
<%=objRS("MovementName")%> </dt>
<dd class="strapline"><%=objRS("Strapline")%></dd>
<dd><%=strKitDescriptionShort%></dd>
<h6 align="center" class="strapline">Price including UK & Ireland delivery £<%=objRS("KitCostStandard")%></h6>
<h6 align="center" class="style3"> Please note that we ship to Canada, the USA, Australia & New Zealand and you get UK Tax Free Prices. </h6>
<dd>
<h3 class="strapline"> You can view the dials etc available for this kit by <a>clicking here.</a>Details</h3>
</dd>
<dt class="strapline">Click to view the </span><%=objRS("KitID")%> <a href="kit_options.asp?KitID=<%=objRS("KitID")%>"> Options & Prices</a> page. </dt>
</dl>
<%
objRS.MoveNext
Loop
%>
</div><!-- clock End -->
<!--#include file="incl/footer.asp" --> </div>
<!-- content End -->
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
Maybe you are looking for
-
Hello I have an adobe CC id [removed] and I'am using the trial version, please send me a serial number for complete registration [personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731] [This is an open forum, not Adobe support,
-
Creating 2 structures in a query
Hi All, I have created a structure in coulmns and now i want to create a structre in rows as well...... can i do it? if yes can you please tell me the steps do it? Thanks Raj
-
How to stop application folder form disappearing from the dock
I'm on MAC OS 10.6.7 on my Macbook 7.1. My applications folder disappeared from the dock. I can drag a new copy from the Mac Hard Disk folder to the dock (to the right of the dashed line (my dock is at the bottom) and it appears with an Address boo
-
Streaming video from copmputer
I have an Envy model 23-059 all in one with hdmi port. How do I stream video from my all in one to my LG tv with hdmi cable? This question was solved. View Solution.
-
I have doubt in defining enterprise structure: we have three company code: 1000 1100 1200 uder this every comany code we have all branch: In 1200 we have branch 1201 for Mumbai 1205 for pune 1210 for dehli etc can we create, all personal area branch