Recordset problem mysql / php

Hi
Having a problem that I can't find a way out of. I am trying
to create a recordset on a php / mysql setup not on my local
machine though. I am getting an error of 500 internal server error
when testing the connection. In the recordset builder I can see the
db and the tables ok but when I click test I get the error. It is
happening every time. Any ideas?

www.DwFAQ.info wrote:
Well when I first saw your screenshot of Recordset window I was wondering what parameter you were filtering about_id against. First now all I see is the characters *** in the drop-down option. You should pick something like URL parameter, Session Variable, Entered Value, etc. something to filter about_id against, ya know?
That was the problem it wouldnt display session variable or or any of the other options it would only display *** no matter what I was trying to filter against....  Wasnt a huge deal since i could just hand code it but the wizard is faster
I nuked the configuration folder and that seemed to have taken care of the problem..

Similar Messages

  • Communication problem MYSQL PHP XML Flash.

    I have driven myself into a corner with this so I hope someone here knows a solution.
    I am building a photogallery with a simple html layout but with a flash slideshow.
    The data for each album and photo are stored in a mysql database. Each photo-image is in one big folder on the server. With PHP I sort out which photo belongs to what album and display them accordingly. To start the slideshow people can click on a link near the album, this link will send a < href> with the album ID to an PHP file (xml.php) that will generated an XML output created from the MYSQL server. Here comes my problem:
    Loading XML into flash is no problem BUT I only know how to do this with a static or self supporting XML output. (xml.php needs the input of the album ID else it will not get the correct data). For now I have a temporary solution where I write the XML output from xml.php to a txt file and let Flash read from there, but is there a way where I can read directly from xml.php?

    Echo your formatted xml out as a string in xml.php, Flash will then read your dynamically generated XML.

  • Problem displaying php page in dreamweaver

    I am having problems displaying php scripting on dreamweaver.
    Need your advice.
    Installed dreamweaver 8, Coldfusion 7, mysql, php5.2 (using
    windows installer).
    Created file test.php ror testing containing
    <!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>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    date is:<b><?php echo Hello ?></b>
    </body>
    </html>

    ulises_arsi wrote:
    > I am having problems displaying php scripting on
    dreamweaver.
    Tell us what the problems are.
    > Installed dreamweaver 8, Coldfusion 7, mysql, php5.2
    (using windows installer).
    PHP needs to be configured with a web server, such as Apache
    or IIS.
    ColdFusion is also a webserver, but as far as I know, it
    cannot be
    configured to serve PHP pages.
    > date is:
    <?php echo Hello ?>
    The only thing that would display is an error message. Hello
    needs to be
    enclosed in quotes:
    <?php echo 'Hello'; ?>
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Update MySQL & PHP Version

    I have a Mac Mini that I am using as a server and I can't figure out how to go about updating the MySQL & PHP that is controlled by the ServerAdmin app. Any ideas?

    I ran an install of 10.4.4. The update ran with no problems.

  • Bootstrap + mysql + php: robust solution for an educational dashboard?

    Hi. We are just beginning work on a dashboard for educational purposes. We need to show data tables of sts progress, notes etc...
    Kind of like the following tables:
    http://www.dreambox.com/district-reports
    We have downloaded a template based on bootstrap. It is all pretty easy except for the data integration. Before we were using flash datagrids and were also looking at flex components which were very easy to use. The questions are:
    1. Can we get the same "power" for our data tables/data grids with bootstrap "ready made" plugin ins.
    2. To replicate the datadrid in flash what do we use in bootstrap - ajax datatable or a j query plug in.
    3. How do we connect up the mysql + php + datagrid. Would it be very similar to an AS3 + php + mysql solution?
    Basically, is bootstrap html5 + CSS a viable robust solution to producing an educational dashboard.
    I use the term plugin because I don't think you call them components or widgets.
    You must also know that this will be on an enterprise level and there should be around 10,000 active users - not at the same time obviously. We will be hiring a freelancer or part tim staff to implement and maintain but we do need to know which way to go first.
    Pretty broad questions maybe, just trying to find my way and study up on what I am supposed to be studying up on. I am on Lynda.com which is OK but I need some guys creating these things to give me advice and point us in the right direction.
    Cheers in advance.

    Hi - thank you Nancy - I should get really specific now.
    I spent quite a few hours investigating and here's the run down.
    1. php + mysqli: Pretty easy as it is the same workflow as I use in flash - I was just a bit thrown by the html part and still have a few questions.
    I will post the link to the very clean and easy to follow mysql + php implementation on html tables just in case any newbies are following the post.
    http://www.sourcecodetuts.com/php/18/how-create-secure-registration-page-phpmysql-part-ii
        mysqli - they seem to use the "improved" mysqli now and this code seems to be very professional with encryption etc...
    My question is which is the best method for handling the recordset back from the database.
    1. In flash we used to use XML serialized which is easy for flash objects to pick up and then display in the datagrid tables.
    2. The example in the next link echos it out in the html table format which sounds very obvious but not sure if it is correct as I have never dome that before.
    http://www.sourcecodetuts.com/php/40/creating-and-populating-table-mysql-data-using-twitte r-bootstrap-framework
    while ($row = mysql_fetch_array($result)) {
        // Print out the contents of the entry
        echo '<tr>';
        echo '<td>' . $row['firstname'] . '</td>';
        echo '<td>' . $row['lastname'] . '</td>';
        echo '<td>' . $row['email'] . '</td>';
        echo '<td>' . $row['phone'] . '</td>';
    3. However I am more used to dealing with an object returned and then dealt with in flash BUT a simple html table couldn't deal with that so - I have just started reading re: ajax or javascript. Are they the best way to handle data returned from a database. As I say this dashboard wil have to be used my many thousands and we will be creating various tables with multiple parameters inputted via dropdown box lists.
    My workflow in flash - would it be javascript that would replicate that functionality or do I just echo out in tr and td tags as in above - seems to basic.
    Sorry about repeating mysel above and going on and on but I hace finally got there - just missing the last part in the puzzle.
    Cheers

  • Apache/MySQL/PHP and Mountain Lion

    I was about to buy Mountain Lion, but I just read by a reviewer that there is an issue with the webserver or websharing capabilities of it. The reviewer was saying he/she had to go into the terminal and launch it from there!
    Is anybody else having issues with developing database driven sites on Mountain Lion, or are you getting on OK with it?
    I currently use xammp as my apache/mysql/php server. Is anybody on Mountain Lion using xammp, if not, what equivalent are you using?
    Thanks.
    Mat

    Starting Apache is very easy. Simply type the following into a terminal:
    sudo apachectl start
    I think that they removed the tick box because it's so easy to do from terminal, and not something that most OSX users need.
    As SnakEyez02 mentioned, using a package like MAMP or XAMPP doesn't require this. Those apps run their own Apache

  • Problem uploading PHP files [was: PHP files]

    I am having a problem uploading PHP files from Dreamweaver to my file manager on my web host.
    [Subject line edited by moderator to make meaning clearer. Thread also moved to the Dreamweaver Application Development forum]

    I see this is your first post. Welcome.
    Please take a few minutes to read How to get help quickly. Also post in the correct forum. The Dreamweaver General Discussion forum is for questions about DW in general, CSS, and design problems. Questions about PHP and server-side issues should go in the Dreamweaver Application Development forum.
    It's very hard to give you any help, because the information you have given is so sparse. The only advice I can give is to check that you have set up the Remote Server details correctly in the Site Definition dialog box. See http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSBE25912D-A9DE-4ba1-9F85-4C692F5C14ADa .html.

  • Inserting & uploading records with Dreamweaver CS3, MYSQL & PHP

    I'm able to build a web page that allows for images to be
    uploaded to a server folder. Also have a web page created to insert
    info about the image into a MYSQL/PHP database.
    My goal is to find a way to combine the two together so that
    when you click the submit button... 1) the image gets uploaded to
    the server folder, 2) the info about the image gets placed into the
    database table, and 3) there is an entry in the database that
    establishes the path to the image.
    Any help or direction to a tutorial would be greatly
    appreciated.

    I use a DW extension from DMXzone (Pure PHP Upload) that
    allows me to both insert data form an online form into a MySQL
    table as well as upload files to a directory on the server with one
    button click. This might be a solution for you.

  • CANNOT FIND mmhttpdb.php  and mysql.php  files

    does anyone know where I can download these two files from ? (in order to connect to database)
    mmhttpdb.php     mysql.php
    I deleted them accidentially.

    * Vista/Windows 7: C:\Program Files (x86)\Adobe\Adobe Dreamweaver CC\Configuration\DisabledFeatures
    * Mac OS X: /Applications/Adobe Dreamweaver CC/Configuration/DisabledFeatures
    If they no longer reside anywhere including your trash/recycle bin, you may need to re-install CC.
    Nancy O.

  • MySQL PHP question/problem.....blank page!

    This is new to me, so be gentle and let me know what might be
    happening
    here.
    - I set up a MySQL database which seems fine
    - Set up a testing server for the site (the root of the
    remote site) which
    tests okay
    - Set up a Connection which tests okay
    - Created a Recordset which tests okay
    - Inserted a REPEAT REGION and even just a field to
    display.....I get a
    blank page. Blank with DESIGN VIEW and blank with f12 and
    blank if I upload
    it and look at the page.
    How can everything check out and test out yet it's not
    returning anything? I
    know there's an easy answer here....
    If it helps, here's the code:
    <?php require_once('Connections/jobs.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType,
    $theDefinedValue = "",
    $theNotDefinedValue = "")
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
    : $theValue;
    $theValue = function_exists("mysql_real_escape_string") ?
    mysql_real_escape_string($theValue) :
    mysql_escape_string($theValue);
    switch ($theType) {
    case "text":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" :
    "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue != "") ? intval($theValue) : "NULL";
    break;
    case "double":
    $theValue = ($theValue != "") ? "'" . doubleval($theValue) .
    "NULL";
    break;
    case "date":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" :
    "NULL";
    break;
    case "defined":
    $theValue = ($theValue != "") ? $theDefinedValue :
    $theNotDefinedValue;
    break;
    return $theValue;
    $maxRows_Jobs1 = 6;
    $pageNum_Jobs1 = 0;
    if (isset($_GET['pageNum_Jobs1'])) {
    $pageNum_Jobs1 = $_GET['pageNum_Jobs1'];
    $startRow_Jobs1 = $pageNum_Jobs1 * $maxRows_Jobs1;
    mysql_select_db($database_jobs, $jobs);
    $query_Jobs1 = "SELECT job_title, salary FROM jobs ORDER BY
    job_title ASC";
    $query_limit_Jobs1 = sprintf("%s LIMIT %d, %d", $query_Jobs1,
    $startRow_Jobs1, $maxRows_Jobs1);
    $Jobs1 = mysql_query($query_limit_Jobs1, $jobs) or
    die(mysql_error());
    $row_Jobs1 = mysql_fetch_assoc($Jobs1);
    if (isset($_GET['totalRows_Jobs1'])) {
    $totalRows_Jobs1 = $_GET['totalRows_Jobs1'];
    } else {
    $all_Jobs1 = mysql_query($query_Jobs1);
    $totalRows_Jobs1 = mysql_num_rows($all_Jobs1);
    $totalPages_Jobs1 = ceil($totalRows_Jobs1/$maxRows_Jobs1)-1;
    ?>
    <!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>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Database test</title>
    </head>
    <body>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <?php do { ?>
    <td> </td>
    <?php } while ($row_Jobs1 = mysql_fetch_assoc($Jobs1));
    ?>
    </tr>
    <tr>
    <td> </td>
    </tr>
    <tr>
    <td><?php echo $row_Jobs1['job_title'];
    ?></td>
    </tr>
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($Jobs1);
    ?>
    THANKS,
    Mad Dog
    (be gentle)

    no worries mad, glad you got it fixed man.
    "Mad Dog" <[email protected]> wrote in message
    news:ecqpkh$ocp$[email protected]..
    >I added that, though it wasn't the problem. And I don't
    know why DW didn't
    >add it.
    >
    > But I've got things working now. By INSERTING a DYNAMIC
    TABLE and
    > modifying the code I'm getting what I wanted. It was
    something about doing
    > it with a table and REPEAT REGION that got things (me?)
    bolluxed up.
    >
    > Thanks for the help!
    > MD
    >
    >
    >
    > crash wrote:
    >> switch ($theType) {
    >> case "text":
    >> $theValue = ($theValue != "") ? "'" . $theValue .
    "'" : "NULL";
    >> break;
    >> case "long":
    >>
    >> you should insert the following text:
    >> break; after this (Idon't know why DW didn't do it)
    >>
    >>
    >> case "int":
    >> $theValue = ($theValue != "") ? intval($theValue) :
    "NULL";
    >> break;
    >>
    >>
    >> Also,it currently looks like your do while is
    surrounding an empty
    >> table cell.
    >
    >

  • Mediawiki, mysql, php? problems [SOLVED]

    On Sunday my Arch install that is hosted by Slicehost became unresponsive to them so they had to do an emergency reboot. After it came back up my install of mediawiki was (and still is) only returning a blank page (at least in Firefox). After some digging I found out that part of the problem was that mysqld wasn't starting so I managed to get that fixed by commenting out the lines relating to innodb and putting in skip-innodb into my.cnf. But I'm still getting a blank page.
    According to Mediawiki's manual, "A blank white page indicates a PHP error which isn't being printed to the screen." They give two lines to put into LocalSettings.php to force error messages but after doing that I'm still getting a blank page. Changing display_errors in php.ini to ON didn't have any effect.  When I load the wiki in Safari I get the following error: "Got java.io.EOFException (Server closed connection while sending the HTTP header.): http://some_url.com/mediawiki/index.php/Main_Page". I have no idea what this error means and googling java.io.EOFException doesn't bring up anything very helpful. My PHP Test Page indicates that PHP is up and running.
    Any ideas on fixes or where I can find more clues?
    [EDIT]
    Mysql was definitely the root of the problems with Mediawiki. I tried nearly every suggestion listed in the forums for fixing a mysql install that wouldn't start but nothing worked. I even completely uninstalled mysql and reinstalled it but it still refused to start. I switched over to postgresql and switched mediawiki to run with that. Problem solved.
    Last edited by k_odoma (2009-05-23 01:48:35)

    There are some other things that must be done to connect to
    the database
    (such as passing the usernamee, password, and host info to
    mysql_connect()
    and storing the connection resource), and those might be in
    the include
    files. I generally place all of the connection parameters in
    a separate file
    that is located in a folder that can't be accessed by a
    browser, for
    security purposes.
    Paul Swanson
    Portland, Oregon, USA
    "Amy Blankenship *AdobeCommunityExpert*"
    <[email protected]>
    wrote in message news:edk6ui$69c$[email protected]..
    > What's in the include(s)?
    >
    > "83Dons" <[email protected]> wrote in
    message
    > news:edk5s5$4uk$[email protected]..
    > > Here is the php code for the 'read' and 'write'
    parts:
    > >
    > >
    > >
    > > <?php
    > > include '......';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $sql = "select A1Answer from authorware where id =
    '13'";
    > > $result = mysql_query($sql);
    > > $answer1 = mysql_result($result,0,"A1Answer");
    > > print $answer1;
    > > ?>
    > >
    > > <?php
    > > include '............';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $newdata = $_GET['data'];
    > > mysql_query("insert into authorware (A1Answer)
    values('$newdata')")
    or
    > > die(mysql_error());
    > > mysql_close(); ?>
    > >
    >
    >

  • Problems with PHP and MySQLi server behaviors

    Hi,
    I'm a graphic and Web-designer with some knowledge of PHP and MySQL and I've been using Dreaweaver since very early ages in creating dynamic web projects and use the Bindings and Server behaviors quite a lot. But recently PHP has deprecated MySQL_connect since 2012 and it seems Dreamweaver isnt suporting the alternative MYSQLi server behaviors which will be the future of accessing Databases in MySQL along side with other options. Without this feature Dreamweaver is not of any use to us web-designers, since there are many Free great Editing software out there... Is the Dreamweaver team solving this problem? Or are you really planning on dropping this software? I've been using CS5.5 for a while and was planning on updating but this is a key feature and without it its not worth the investment.
    Kind regards.
    Eddy

    heduino wrote:
    Hi,
    I'm a graphic and Web-designer with some knowledge of PHP and MySQL and I've been using Dreaweaver since very early ages in creating dynamic web projects and use the Bindings and Server behaviors quite a lot. But recently PHP has deprecated MySQL_connect since 2012 and it seems Dreamweaver isnt suporting the alternative MYSQLi server behaviors which will be the future of accessing Databases in MySQL along side with other options. Without this feature Dreamweaver is not of any use to us web-designers, since there are many Free great Editing software out there... Is the Dreamweaver team solving this problem? Or are you really planning on dropping this software? I've been using CS5.5 for a while and was planning on updating but this is a key feature and without it its not worth the investment.
    Kind regards.
    Eddy
    There are no plans that I know of to introduce a new set of mysqli server behaviours into DW from Adobe. They have left that to  thrid party developers to bring out extensions which replace them.
    What the server behaviours could do was very limiting anyway so I suspect any replacement mysqli behaviours would also be very limiting. I personally jumped into thre code and started to write my own mysqli connection files and query strings by watching a few simple tutorials on youtube - it isnt that difficult.
    Look for 'php academy' on youtube - they have about 9 simple to follow tutorials on getting started with mysqli.

  • MYSQL, PHP Problems

    I am trying to connect Authorware to my mysql database. Both
    are online and I want to write test answers to my database
    and also read them back out and display them in my authorware
    piece.
    In a plain authorware page i have in a calculation:
    Result := ReadURL
    http://www.dundee.ac.uk/.../example/authorware2.php")
    And then {Result} on the authorware page.
    What returns is the source code for the php page plus
    whatever is printed to the screen by that .php page. I want
    what is printed to the screen as it is the contents of the
    variable needed, but not the rest of the stuff. How do I
    simple pass just that variable back to authorware and not all
    the rest of the stuff.
    I also have an issue with writing to the database using:
    action := "?data="
    query := ActivityAnswer1a
    db_loc := "
    http://www.dundee.ac.uk/..../"
    URLstring := db_loc^"authorware.php"^action^query
    queryString := ReadURL(URLstring)
    It seems to sometimes write 2 entries and not the required
    one. Not sure why.

    There are some other things that must be done to connect to
    the database
    (such as passing the usernamee, password, and host info to
    mysql_connect()
    and storing the connection resource), and those might be in
    the include
    files. I generally place all of the connection parameters in
    a separate file
    that is located in a folder that can't be accessed by a
    browser, for
    security purposes.
    Paul Swanson
    Portland, Oregon, USA
    "Amy Blankenship *AdobeCommunityExpert*"
    <[email protected]>
    wrote in message news:edk6ui$69c$[email protected]..
    > What's in the include(s)?
    >
    > "83Dons" <[email protected]> wrote in
    message
    > news:edk5s5$4uk$[email protected]..
    > > Here is the php code for the 'read' and 'write'
    parts:
    > >
    > >
    > >
    > > <?php
    > > include '......';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $sql = "select A1Answer from authorware where id =
    '13'";
    > > $result = mysql_query($sql);
    > > $answer1 = mysql_result($result,0,"A1Answer");
    > > print $answer1;
    > > ?>
    > >
    > > <?php
    > > include '............';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $newdata = $_GET['data'];
    > > mysql_query("insert into authorware (A1Answer)
    values('$newdata')")
    or
    > > die(mysql_error());
    > > mysql_close(); ?>
    > >
    >
    >

  • ***No Table found, when creating a recordset to MySQL Database

    I have made a successful connection to the MySQL database.
    When attempting to create a record set (Query) under the Application/Bindings Tab, I select the connection, but then the Table field says *** No Table Found
    Also under Application/Databases tab, the connections appear. When expanding the + for the Table it says "None"
    I do have Tables in the MySQL database which Dreamweaver has a connection to, so that is not the problem.
    I've searched multiple forums on the internet for this problem, and while I have found that others have had this problem, I have not seen any solutions.
    Any help would be greatly appreciated.
    I am a novice in this area, so if you need any additional information from me, please be as specific as possible as to where and how I can get it.
    Thank you in advance for your help.
    Additional information:
    Windows 7 Ultimate
    Dreamweaver CS3 (Creative Suite 3 Web Premium)
    Apache 2.2.15-win32-x86-openssl-0.9.8m-r2
    PHP-5.2.6-Win32
    mysql-workbench-gpl-5.2.25-win32
    Freshly reformatted computer and only installed the above software along with AVG antivirus.
    Edit: I should also note that this is for a local testing server. I am not trying to connect remotely.
    Best Regards,
    Blain
    Message was edited by: Blain1976

    Now the problem has gone from bad to worse.
    I previously had a connection to my database but just couldn't see the tables.
    Now after I added another user I can't even make a connection. Instead I get an error message that says "An unidentified error has occured"
    My server and database are actually running. I can loginto my database through the MySQL workbench. It says it's running. The apache server also says it's running and if I key in localhost in my internet explorer it says "It works!"
    I have now deleted the new user in MySQL  that I added and now I can't even connect to the database in Dreamweaver.
    Any suggestions?
    Thank you,
    Blain

  • Is it possible to load an swf from MySQL /PHP

    Hi,
    I hope someone can help me.
    I like to call for different SWF files from a link in a MySQL
    database to use in a Detailpage with PHP.
    Photos and text are no problem.
    The AC code is probably complicating things.
    Is it possible? And if so how?
    Maybe someone can help me out.
    Any help will be much appreciated.
    Thanks, Jos

    ye that.s possibe .You just need to have a dummy swf which
    check checks for
    link and therfore the swf they intend to call and load them .
    "arnhemcs" <[email protected]> wrote in
    message
    news:fdrm64$crb$[email protected]..
    > Hi,
    > I hope someone can help me.
    >
    > I like to call for different SWF files from a link in a
    MySQL database to
    > use
    > in a Detailpage with PHP.
    > Photos and text are no problem.
    > The AC code is probably complicating things.
    >
    > Is it possible? And if so how?
    >
    > Maybe someone can help me out.
    > Any help will be much appreciated.
    >
    > Thanks, Jos
    >

Maybe you are looking for