Skip to main content
Participant
September 6, 2010
Question

Dreamweaver cs5 recordsets issues...frustating! any ideas?

  • September 6, 2010
  • 4 replies
  • 3074 views

Hi- any suggestion on how to deal with D cs5 software recordsets issues. Most of the time when I open a page that has a recordsets, or when I tried to edit or when creating recordsets or deleting, using the recordsets window, the program keeps crashing!! it is very frustrating, and I am not adding additional custom code to the recorsets, the software keeps crashing with its own generated code. If I switch between simple and advanced mode, it does the same thing.

Sometimes, when you try to edit a recordset  it duplicates the recordset instead of editing the existing one.

I have been waiting for an update for this issue but nothing....I am using Windows 7 and developing in PHP/MySQL

Thanks,

Renier

This topic has been closed for replies.

4 replies

Participating Frequently
May 6, 2011

..It also adds another (reduntant) connection line at the top too:

<?php require_once('../Connections/latitude.php'); ?>

I end up with several that I delete, leaving just one...

Participating Frequently
May 6, 2011

I've just done a bit of testing and might have something.

I made a simple PHP page with any SELECT statement using the advanced recordset panel.

I could edit this to my hearts content and all is good ..... until.......I upload it to the server.

Then, when I change my recordset in the panel (or even just open it and close it) the recordset is duplicated. If I then use UNDO , then we're back to normal, can edit happily.

In fact whenever I interact with the server, like looking at MANAGE SITES for instance, and I then open and close the recordset, the recordset is duplicated.

So it seems it's something to do with connecting to the server. I tried altering a few settings but couldn't shake the problem. If anyone can use this to solve our problem then I'd be very happy to hear about it.

AS A GETAROUND.  AFTER you upload your page, either close and re-open it before you edit your recordset.  OR open the recordset, close it (problem occurs) then UNDO and go again.

Try it out, see if you get the same.

Kelly.

Lon_Winters
Inspiring
May 6, 2011

Kelly, I think you're on the right track - There have been numerous complaints over the years about the "interacting with server" thing popping up for no good apparent reason. That part of it alone I think is worse when working in ASP - it feels the need to interact with the server when I go to select something as innocuous as static text on the page!

My next stretch of work will be back to PHP sites, so I'll keep a  close watch on things and report back if I learn or see anything suspicious.

Participating Frequently
May 6, 2011

I've got used to it now.. It's very consistent when it does it so I just check which is the latest SQL query I wanted and just delete the old one that remains. If you look you'll notice that the old code starts in the middle of a line, which makes it a bit more difficult to see:

$row_rsDomjobs = mysql_fetch_assoc($rsDomjobs);(OLD STARTS HERE)if (isset($_GET['totalRows_rsDomjobs'])) {

If you split them apart at teh point shown above you'll see the 2 blocks of code are similar, apart obviously form your new SQL query. Just delete the old one..

I can't believe it hasn't been fixed on CS5 as it did it in 3 and 4 too. I presume most people who produce more dynamic sites use CF or just code it themselves, as I now do.. It's disappointing that Adobe don't even acknowledge the problem though

Participant
May 6, 2011

I am having the same problems but instead of editing what I do is save my work, delete the record set and create a new one. I bit of a nuicence but for me it is better than working out what code has been duplicated and/or deleted and having to correct it.

Lawrence_Cramer
Inspiring
September 7, 2010

Has it done this since you first installed CS5, or did it develop this behavior later on?  Have you tried installing the Dreamweaver CS5 updater? It focuses mostly on HTML5 updates, but there were a number of bug fixes, perhaps this will help.  After trying this if it still crashes you may have to try a full uninstall and reinstall... Or contact Adobe Support directly.

--
Lawrence Carmer - *Adobe Community Professional*
http://www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in PHP and ColdFusion

Stay updated - http://blog.cartweaver.com

Lon_Winters
Inspiring
September 8, 2010

Here are the steps I would take when I start seeing crashes when using recordsets or other server behaviors. But I'm still on cs4, so it may be purely a CS5 issue as mentioned above.

1. Delete the Wincache file (usually only a temporary fix)

2. Could be a conflict with an installed 3rd party extension.

3. Does it happen on just a particular page, or any page? Iff it's just one, you can try on a blank or less populated page - I've occasionally had to just re-build the page and that would help. Sometimes it was just the removal of a single field of dynamic data tied to the recordset. removing this binding and re-adding ti worked, even though the code was exactly the same in both cases.

4. Deleting the database connection and removing the connection scripts, then re-creating the connection

And sometimes, for whatever reason, I have seen where it added another set of recordset code, or just parts of it. And sometimes when you delete a recordset, parts still remain. It is frustrating, no doubt. 

Participating Frequently
May 6, 2011

Hi Lon,

Thank you for answering. I have a large monitor and nearly always work

in Split mode. I have noticed that when you select a record set it

sometimes seems to select more that the code for that record set.

After reading some replys to this same problem in CS4 I believe I may

have caused it. I wanted the data in the second record set to read using

a field from the first (master - detail) so I added some code to load

the key between the two record sets.

Kind Regards

John


Yes John, but take a look at the example code I posted a couple of posts above. It does it even on the simplest recordset, with no variables.

Just a SELECT * FROM   statement.

When I alter that from the panel  to SELECT * FROM ..... WHERE ..... , it all goes tits up with nothing else on the page. A totally blank page except the recordset.

Where are ADOBE on this? Why are they not giving us an answer or even aknowledgement of our problem, which is major and makes the multi-thousand dollar software almost useless?