Database & recordset Dreamweaver mess
I create a DSN for my Access database and define it in the
System DSN, click
test and get the "Connection made successfully" message.
I view my new connection under the Application>Databases
tab and all appears
to be well. Table is there and shows all record fields.
Here's where the problem starts. I go to the Bindings tab and
try to create
a recordset. Select my table but no record fields show up in
the Columns
section. If I click test, I see the records just fine. If I
click "Advanced"
and drill down to the table, all record fields are there in
the tree. Swich
back to "Simple" and still nothing at all. If I click "ok"
anyway, the
recordest is created and the records DO show up in the
recordset tree.
The problem is that when I go to the Server Behaviors tab and
try to Insert
Record the form elements all have <ignore> next to them
and I'm dead in the
water.
Any solutions to this problem? I've never seen it happen
before. I just
re-installed WinXP w/SP2 so I thought that might be the
problem so I found
an extension that was supposed to fix it. That didn't work
either. My first
encounter with this was with Dreamweaver 8.02. I uninstalled
it and tried
Dreamweaver 8 but that didn't help either.
Just about out of ideas and could desperately use some help!
Thanks anyway. I re-tried that and followed everything to the
letter but it
didn't help.
"Minion12" <[email protected]> wrote in
message
news:ed2dk5$lnc$[email protected]..
>I had this problem too. I though the extension did not
work properly as
>well.
> It turned out that I was skipping steps in the protocol,
and appraently,
> any
> deviation form the steps will cause this extension to
croak.
>
> In addition, I found that by executing the extenion from
the server and
> not
> downloading the entire installer, caused some problems
as well.
>
> Service pack does mess up DW recordset behaviors. I was
about to throw my
> comp
> out the window, but it turned out that I should have
just read a little
> closer.
>
> You might be following the protocol correctly, but just
be sure to
> download
> the extenion installer and then execute it in your
extension manager.
> Don't run
> anything from the server.
> I hope this helps!
>
Similar Messages
-
Connection error mysql database in Dreamweaver
the error message is - HTTP error code 404 file not found. here are some possible reasons
screen shot - http://netwizlk.site50.net/images/DW-error.jpg
1)there is no testing server running on the server machine.
2)the testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMhTTPDB.php verify that the URL prefix maps to the root of the site.
guy pls help me to solve this problem. I tried several times to connect my mysql database with dreamweaver but ended up having this error I reinstalled dreamweaver cs4 and XAMPP still the error is not rectified my both remote and local files are stored in XAMPP server location called in c:\xampp\htdocs\htdocs\myweb
anybody who could give me a speedy solution for this issue will be highly appreciated thanks alot guys.c:\xampp\htdocs\htdocs\myweb
MM serverscripts must be at the root level of the virtual server, that is directly in the htdocs folder.
Mylenium -
Connecting database in dreamweaver to coldfusion
i did access database. i created site with all the files and
images. i did the connection from coldfusion to the database in
dreamweaver through the "datasources " in the coldfusion
administrator, but when i try to make the page appear by clicking
view - live data i get this message: "dreamweaver couldn't convert
properly the live page from the server". can someone help me ?here are the codes:
<cfquery name="artwork" datasource="cftutorial">
SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE,
LARGEIMAGE, ISSOLD, MEDIATYPE
FROM ARTISTS, ART, MEDIA
WHERE ARTISTS.ARTISTID = ART.ARTISTID
AND ART.MEDIAID = MEDIA.MEDIAID
</cfquery>
<cfdump var="#artwork#">
and then:
<table border="0" cellpadding="15" cellspacing="0"
bgcolor="#FFFFFF">
<cfoutput query="artwork">
<cfif artwork.currentrow mod 3 eq 1>
<tr>
</cfif>
<td valign="top" align="center" width="200">
<img src="images/#artwork.largeImage#" width="200"
height="200"><br>
<strong>#artwork.artName#</strong><br>
Artist: #artwork.firstName# #artwork.lastName#<br>
Price: #artwork.price#<br>
#artwork.mediaType# - #artwork.description#<br>
<font color="##FF0000">#artwork.isSold#</font>
</td>
<cfif artwork.currentrow mod 3 eq 0>
</tr>
</cfif>
</cfoutput>
</table>
thank you in advance -
How do you display database in Dreamweaver CS6?
Trouble displaying 'greendata' database in Dreamweaver CS6
I am working on the exercise files for Adobe's Dreamweaver CS6 "Classroom In A Book", CH. 13 'Working with Online Data'. The problem I am facing is that the database provided in the exercise files ‘greendata’ is not being listed when I go to select a database.
I followed the specific instructions; but, I am still new to Dreamweaver and programming.
The MySQL Connection is working on the MySQL server 'localhost' with User name ‘root.’
I have XAMPP installed on my computer to run MySQL/PHP. I already checked localhost using my web browser to make sure that the ‘greendata’ is listed as a database; yet, it is not listed from the options when I try to set it up in Dreamweaver.
How can I solve this problem? Please help!
I need to have the 'greendata' database displayed from the list of options under 'select' within the MySQL Connection in Dreamweaver.Thanks for those tutorials Nancy.
I followed the insturctions and I am still having the same problem.
The database that I create in phpMyAdmin is not being listed as an option within Dreamweaver. The connection is setup but I'm guessing that the problem is within XAMPP?
Why is it that a database that I have created in XAMPP isn't being transfered to Dreamweaver?
I've attached a few screenshoots to give you a better understanding of what I'm looking at. Hope someone can help! -
Using a MsAccess database with Dreamweaver CS4?
Hi Everyone,
I have a question concerning using a Microsoft Access Database with Dreamweaver.
First, I was wondering if this was possible. Second, if it is, could someone give me instructions or a link on how to do this. I am pretty new to Dreamweaver, code, etc..., so simpler instructions on how to acheive this would be great.
Here is some information...
1) I am running Windows XP SP2
2) I am using Microsoft Office 2003 (Acces included)
3) I am using Dreamweaver CS4
4) I have installed XAMMP (Apache,MySQL, FileZilla, and PHPmyAdmin, as far as I know)
If anyone needs more information, I'll be hapy to share it as soon as possible.
Any help is greatly appreciated,
Musicman1994The choice of database really depends on which server-side technology you plan to use, and what you're actually planning to use it for.
Access was designed to create databases for small office systems. Although I personally found it very confusing, a lot of people like it and say it's easy to use. However, its major drawback is that it creates very large files; and as soon as the website gets a reasonable amount of traffic, Access has a tendency to freeze or lock up. You can create your database in Access and then export it to another database system, such as Microsoft SQL Server or MySQL. But it's better to start with the database that you ultimately plan using.
I certainly wouldn't recommend developing anything in ASP and then attempting to convert the website to PHP. Although all server-side programs share common features and structures, the code is completely different. So, take some time over choosing your technology first. If you have never developed in ASP, you should be aware that Microsoft stopped developing it about ten years ago. It's still popular and widely available, but ASP is likely to dwindle in usefulness as the years go by. Use PHP or ColdFusion, both of which are supported by Dreamweaver. The other main alternative is ASP.NET, but that's no longer supported by Dreamweaver. -
Help re databases in Dreamweaver 8
I am looking to set up a members database using Dreamweaver 8. I have MS Access. Is there an easy way of doing this and having a "login" facility based on membership category. The website is stored locally and uploaded to remote server via FTP connection.
Many web based membership systems run in PHP/MySQL on Linux servers (rather than MS Access which usually ties you to a Windows server).
You can develop this locally using WAMP http://www.wampserver.com/en/ then upload your site to a PHP-enabled server. -
MySQL databases and dreamweaver
Please, somebody help me!!
I am on a Mac. I have my site up but can't use it because of
the database issues I am having.
1. I don't write code - hence my purchase of Dreamweaver
2. My host will not allow me to connect to MySQL
(server-side) and suggested I try an SSH. I got Navicat.
It seems I need to connect to the database through
Dreamweaver in order to create my PHP pages. I don't know how to do
it or if it is possible using an SSH (Navicat)
Also I don't understand the whole "test server" thing. It was
suggested I connect my Mac to a Windows machine to create a testing
server. Is this really necessary? I have an external hard drive
with tons of space. Can I use that? Are there any other options? I
don't know a single Mac user who has a spare windows machine lying
around.
My site is ready to go but useless unless I can this
database-access problem solved. I need to create PHP pages but
cannot do it without some sort of access to my database.
Please HELP!!!See if this helps:
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com
"farfalle" <[email protected]> wrote in
message news:ff5t8j$da5$[email protected]..
> Please, somebody help me!!
>
> I am on a Mac. I have my site up but can't use it
because of the database
> issues I am having.
>
> 1. I don't write code - hence my purchase of Dreamweaver
> 2. My host will not allow me to connect to MySQL
(server-side) and suggested I
> try an SSH. I got Navicat.
>
> It seems I need to connect to the database through
Dreamweaver in order to
> create my PHP pages. I don't know how to do it or if it
is possible using an
> SSH (Navicat)
>
> Also I don't understand the whole "test server" thing.
It was suggested I
> connect my Mac to a Windows machine to create a testing
server. Is this
> really necessary? I have an external hard drive with
tons of space. Can I use
> that? Are there any other options? I don't know a single
Mac user who has a
> spare windows machine lying around.
>
> My site is ready to go but useless unless I can this
database-access problem
> solved. I need to create PHP pages but cannot do it
without some sort of
> access to my database.
>
> Please HELP!!!
> -
Searchable database in Dreamweaver CS4
I want to create a page where a list our stores that would be searchable by State or Country. I have a very simple Excle file with all the information for the stores including phone numbers and addresses. I want fileds on the page that will allow a user to choose a state from a drop down list and then the results would show any store in that state, or NONE if a store did not exist.
I ahve read many things about MySQL databases and Recordsets, but I can't quite understand how to set the page. ANY help on this qould be greatly appreciated. I'm using Dreamweaver CS4 and I'm not that handy with it:(.
Thank youThis thread may be relevant to your needs
http://forums.adobe.com/message/3076713#3076713
Setting up a PHP development environment for Dreamweaver
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html
Building your first dynamic website – Part 1: Setting up your site and database connection
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
How to save data to access database in dreamweaver
Hello,
I want to save data from webpage to MS access database. I am
using dreamweaver MX 2004 developing tool. For server side
scripting I am using asp page but I am not geting any result. And I
am calling this asp page using HTML codes (using "action").
Please anybody suggest me proper way for this.Thanks for the reply....I'will try your suggestion
........But still I will appriciate if you can check my codes......
I am using following codes for webpages,
<form name="form1" action="add_to_database.asp"
method="post">
<div align="center">
<table width="80%" border="0">
<td><b>FEEDBACK FORM</b></td>
<tr> <td>Name :</td>
<td><input type="text" name="uname"></td>
</tr>
<tr>
<td>Email :</td>
<td> <input type="text" name="email"></td>
</tr>
<tr>
<td>Comments :</td>
<td><textarea
name="comments"></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value="Submit details"
name="submit" onClick="validate()" ></td>
</tr>
</table>
</div>
</form>
and using the action and post method I am calling following
asp page
<body>
<%
Dim uname, email, comments
Dim Conn
Dim Rs
Dim sql
uname = Request.Form("uname")
email = Request.Form("email")
comments =Request.Form("comments")
Set Conn = Server.CreateObject("ADODB.Connection")
Set Rs = Server.CreateObject("ADODB.Recordset")
Conn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=" & Server.MapPath("users.accdb")
sql= "INSERT into adduser(uName, Email, Comments) values(' "
& uname & "', '" & email & "', '" & comments
Conn.execute sql
Rs.Open sql, Conn
Rs.AddNew
Rs.Fields("Name") = Request.Form("name")
Rs.Fields("Email")=Request.Form("email")
Rs.Fields("Comments") = Request.Form("comments")
Rs.Update
Rs.Close
Set Rs = Nothing
Set Conn = Nothing
%>
</body>
Thanks, -
Connecting mysql database to dreamweaver
when i try to upload database which i did in mysql to the
webserver from dreamweaver by doing: view - live data in
dreamweaver i get this message: "the testing server did not execute
any of the scripts in your document.possible explanations
include:1. the testing server is not running 2. the testing server
ignores files with the php. extension. 3. your document does not
contain any scripts"
my webserver is xampp (appache + mysql) and below are the
scripts which i used:
also when i do F12 the images in the database appear gibrish
on the webserver page.
what did i do wrong ?noa2 wrote:
> when i try to upload database which i did in mysql to
the webserver from
> dreamweaver by doing: view - live data in dreamweaver i
get this message: "the
> testing server did not execute any of the scripts in
your document.possible
> explanations include:1. the testing server is not
running 2. the testing server
> ignores files with the php. extension. 3. your document
does not contain any
> scripts"
It sounds as though you have not defined the testing server
correctly in
your Dreamweaver site definition.
> my webserver is xampp (appache + mysql) and below are
the scripts which i used:
> also when i do F12 the images in the database appear
gibrish on the webserver
> page.
You should not store images inside the database. Or if you
do, you need
to write a proxy script to display them. The normal procedure
is to
store the details of images (such as filename) in the
database, but keep
the images themselves in the normal file system. Use the
filename from
the recordset result to build the <img> tag to display
the image.
> mysql_connect("","","");
Using mysql_connect() with only empty strings as arguments
means you
have a totally unprotected database.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Syntax Errors in Recordset, Dreamweaver 8
Hi All!
I'm struggling to figure out Dreamweaver's syntax for a Recordset I'm building. I'm using Dreamweaver 8, ColdFusion 9 to connect with my database, and Windows 7.
I have to start by admitting I copied code from an similar program, and am trying to get it to work for me.
Here's the error I get when I "test" the recordset:
Syntax error. in query expression '1=1
Here's the query:
SELECT LastName, FirstName, MiddleName, Generation, PartyType
FROM [Party Information]
WHERE 1=1
SELECT FullCaseNo, DocketSheet
FROM [Case Information]
WHERE 1=1
<cfif IsDefined("Form.LastName") and Form.LastName NEQ "">
AND PartyInformation.Last Like'#Form.LastName#%'
</cfif>
<cfif IsDefined("Form.FirstName") and Form.FirstName NEQ "">
AND PartyInformation.First Like'#Form.FirstName#%'
</cfif>
<cfif IsDefined("Form.CaseNo") and Form.CaseNo NEQ "">
AND CaseInformation.FullCaseNo ='#Form.CaseNo#'
</cfif>
ORDER BY LastName, FirstName, MiddleName, FullCaseNo
For the sake of just seeing I deleted "WHERE 1=1" just to see if it would run, and I got another syntax error in the FROM clause. In case this wasn't already obvious I'm brand new to Dreamweaver and just trying to get this thing to work.
Any help is much appreciated, thanks in advance!!That's sad to hear.
Anyway, if you're continuing to work on this, why dont you try replacing this:
SELECT LastName, FirstName, MiddleName, Generation, PartyType
FROM [Party Information]
WHERE 1=1
with this:
SELECT LastName, FirstName, MiddleName, Generation, PartyType
FROM PartyInformation
WHERE 0=1
WHERE 1=1 is usually a SQL code to prevent injections and to increase performance of the query you're running.
WHERE 0=1 will usually look up all records in the table you're querying into - this is what you're trying to achieve here anyway.
and rename the table on your DB from Party Information to PartyInformation -
MySQL database - Recordset's echoing problem
Gary, David & any other PHP wizards, listen up -
Today I decided to use a MySQL database to hold my articles
in, and then
call them with a recordset when applicable. Everything works
really, really
nicely except for one thing.
If you go here:
http://sourtea.com/articles2.php
And select "Read this article" for any of the articles,
scroll down to the
bottom where the comment form is and you'll see some PHP code
being
echo'ed - which isn't supposed to be.
I've noticed in IE - it's always displayed with all articles,
but on
Firefox, it seems to only happen with the first article you
open up, then
all the others are fine.
I'm calling the recordsets inside of my php cases, for
example:
<?php
break;
case 10:
?>
<?php echo $row_getArticles['textfields']; ?>
<?php
break;
case 20:
?>
And so on.
Now, everything in the "textfields" row is the physical HTML
and PHP code
that will write and display the article and the comment form.
It seems that something is getting scrambled, or that I need
to write the
PHP code differently inside the table...
Help?
Thanks for your time,
Shane H
[email protected]
http://www.avenuedesigners.com
=============================================
Web Dev Articles, Photography, and more:
http://sourtea.com
=============================================
Proud GAWDS Member
http://www.gawds.org/showmember.php?memberid=1495
Delivering accessible websites to all ...
=============================================Hi Joe -
I did cut and paste the code from DW into the table. I just
finished up,
actually, with another solution. I entered the code for the
comment form
into a .txt file, and used it as a PHP include for the
articles.
Also, for the action of the form (since it's the same form
being used for
three different pages) - I set a variable when it calls a
certain Recordset,
and then did an "if, elseif" statement inside the .txt file
where it will
echo out the appropriate page, depending upon which article
the user is at.
For example (from my code):
<form id="contact_form" action="articles.php?ref=<?php
if($var == 10) { echo
'10'; } elseif($var == 20) { echo '20'; } elseif($var == 30)
{ echo '30'; }
?>" method="post">
That's was really the only problem I had to overcome because
I'm using the
same form for all three articles (assigning the proper
action).
Thanks for the help, Joe - though, I'm not sure if your
suggestion would
have worked! Maybe I'll try it sometime...
Shane H
[email protected]
http://www.avenuedesigners.com
=============================================
Web Dev Articles, Photography, and more:
http://sourtea.com
=============================================
Proud GAWDS Member
http://www.gawds.org/showmember.php?memberid=1495
Delivering accessible websites to all ...
=============================================
"Joe Makowiec" <[email protected]> wrote in
message
news:[email protected]...
> On Wed 30 Aug 2006 02:08:30p, Shane H wrote in
macromedia.dreamweaver:
>
>> Thanks for the prompt reply. Is there a way around
this (e.g., being
>> able to include the PHP code in the row)?
>
> Is the PHP code being pulled in from the database? I'm
not where I can
> test it right now, but I believe that it won't be
executed. The only way
> would be to have it in the page itself.
>
> For example:
>
> <input
> name="namefield"
> class="contactfield"
> id="namefield"
> value="<?php if(isset($_POST['namefield'])) echo
htmlentities($_POST
> ['namefield']);?>"
> tabindex="1"
> accesskey="1"
> type="text">
>
> You can't have that in the data. You could do this:
>
> <input
> name="namefield"
> class="contactfield"
> id="namefield"
> value="<?php if(isset($_POST['namefield'])) echo
htmlentities($_POST
> ['namefield']);?>"
> tabindex="1"
> accesskey="1"
> type="text">
>
> Or maybe you cut and pasted code, and got the character
entities <
> > rather than <>? -
Recordsets & Dreamweaver 8 & PHP
PLEASE HELP ME before I go insane.
At long last I have establish a connection with my MySQL
testing server and I can see the tables in my database but when I
click on the "Server Behaviours" tab to create a Recordset nothing
happens. Where am I going wrong.
I have Dreamweaver 8 version 8.0.2Well your message is a little abrupt on the details and I've
no idea your familiarity with what you're doing, but I'll give an
outline of what I hope helps.
When you click the Server Behaviors Tab (or Bindings) click
the "+" and "Recordset (query)" is the first item on the context
menu. Click that and DW will open a dialog for you to create you
recordset. (The SQL is all you) After you've outlined the name,
connection, SQL query (if you're unsure about the SQL click "test"
to see if you're getting the nfo you want), then click OK. Once
you've done that then the RS will be listed in the bindings panel
and you can pull things out of it into you page.
Good luck! It's fun once you get it all working--until then
it sucks. -
Photo Gallery Database in Dreamweaver Help
Can anyone offer advise on a simple solution for a photo gallery based on a database that can be intergrated to a website that I'm creating in Dreamweaver. Does anyone know of any widget like options and or templates? Thanks in advance.
I have a PHP script that dynamically populates the page with images from a folder. I don't keep images in a database.
http://alt-web.com/GALLERY/GalleryTest.php
Nancy O. -
Connecting to a database in Dreamweaver/ColdFusion
Please Help!
I've created database connections to both Mysql and MS Access
databases in the ColdFusion Administrator Data Source page (I've
used both Mysql and Access to test what's wrong with the
connection).
However, I can't connect to them in Dreamweaver when I go
into the Bindings Panel in order to bind the databases to the
ColdFusion documents I've created in Dreamweaver.
The Dreamweaver Databases panel has the '+' displayed, but
when I click it nothing happens.
The text it displays is: "To use dynamic data on this page:
1. Create a site for this file
2. Choose a document type
3. Set up the site's testing server;
I've done all these things.
The Bindings panel has the same text as the Databases Panel.
Nothing happens when I click the '+' box.
My Mysql and MS Access databases are in the directory
"c:\coldfusionmx\db.
My site definition is as follows:
Local Info: local root folder - C:\CFusionMX\db\ http address
http://localhost:8500/
Remote Info: remote root folder - C:\CFusionMX\db\
Testing Server: server model - ColdFusion ; access -
local/network testing ; server folder - C:\CFusionMX\db\
In the ColdFusion Administrator my class path is:
C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar,
I'm running ZoneAlarm as my firewall
I didn't specify any passwords or users for my MS Access
databases.
So, I'd very much appreciate any help on how to get
Coldfusion to recognize my databases1) in the DW's Databases & Bindings panels there are 5
steps you have to
take to enable remote connections, not 3 as you say - maybe
you can't
see the other 2 necessary steps (RDS setup and CF DataStore
setup), or
maybe you are using some old version of DW...
2) usually the problem is with step 4 - RDS setup. you had to
enable RDS
support at CF installation. if you didn't - there is a way to
enable it
without reinstalling cf, and if you search these forums you
will find
the answer.
3) RDS must have a password, which you set up in CF Admin.
4) i am also not sure about your DW site setup... the remote
and testing
server settings... the testing server should point to your
local site's
webroot... did you do the 'test connection' check at the DW
site setup?
5) definitely no ZoneAlarm at any time setting up anything
with cf or mysql!
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
Maybe you are looking for
-
Is someone available to walk me through how I can watch my movies and TV show on my HP Tablet (like I used to do on my laptop via Netflix, Amazon, HULU, etc (with Firefox installed)? Thanks, Kevin McCormack (Email and phone number removed by mod)
-
Issue during Transfer Order for Process Order
Hello, Can anyone tell me how can I create a Transfer Order for picking items once the Process Order is created. I have created a Process order and released it abd trying to create a Transfer Order via LB13 but it says " No data available for criteri
-
Generating a new table based on user choices - Code Problems
A while ago someone posted on one of the Adobe forums the following code (sorry I do not remember the name / link). This code is meant to generate a second table (an Object list in this case) according to the user's choices at another table (in this
-
I've been trying to go out to an lcd tv I have next to my MPB and I'm trying to make it an extended desktop, the back of the TV has a VGA input and when cycling through the "input" settings on the tv there's everything, component 1, component 2, etc,
-
Problem with nimxsoffline.exe
I am trying to get started with LV 8.0, and when I try to open a blank template I get an error. The indication is that when trying to load nimxsoffline.exe, it was unable to find niRemoteDD.dll. It suggested re-installing LV as a remedy, but this h