close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

connections not showing all tables

Thread began 2/13/2021 9:59 am by Peterson Design Studio - jefferis | Last modified 2/14/2021 3:47 pm by Ray Borduin | 284 views | 3 replies |

Peterson Design Studio - jefferis

connections not showing all tables

HI Ray, I have got a search page functioning I think but it is showing no results. When I look at the DB connections, it is not showing all tables. I deleted the WA connection and redid it but not all the tables are showing. Navicat shows all the tables. Right now, it seems that the WA connection is using the unpopulated table Products, when I don't even have a table with that name. My populated table is products with lowercase. However it is not seen. I will try changing the name in Navicat to match, but the queries are set to that table

<?php
if (isset($_POST["Delete"]) || isset($_POST["Delete_x"])) {
$DeleteQuery = new WA_MySQLi_Query($DealersSupplyCo);
$DeleteQuery->Action = "delete";
$DeleteQuery->Table = "products";
$DeleteQuery->addFilter("ProductID", "=", "d", "".((isset($_POST["WADADeleteRecordID"]))?$_POST["WADADeleteRecordID"]:"") ."");
$DeleteQuery->execute();
$DeleteGoTo = "products_results.php?ProductID=".((isset($_POST["WADADeleteRecordID"]))?$_POST["WADADeleteRecordID"]:"") ."";
if (function_exists("rel2abs")) $DeleteGoTo = $DeleteGoTo?rel2abs($DeleteGoTo,dirname(__FILE__)):"";
$DeleteQuery->redirect($DeleteGoTo);
}
?>
<?php
$WADAproducts_details = new WA_MySQLi_RS("WADAproducts_details",$DealersSupplyCo,1);
$WADAproducts_details->setQuery("SELECT ProductID, ProductName, ProductImage, ProductSKU, CatalogMain, Catalog3, Catalog2, WholesalePrice, ProductShortDesc, ProductLongDesc FROM products WHERE products.ProductID = ?");
$WADAproducts_details->bindParam("i", "".($_GET['ProductID']) ."", "-1"); //ParamProductID
$WADAproducts_details->execute();
?>

Sign in to reply to this post

Ray BorduinWebAssist

It is getting the tables from the server defined as the Testing Server in your Dreamweaver site definition. You probably have that pointed to localhost which has a different database setup.

Sign in to reply to this post
Did this help? Tips are appreciated...

Peterson Design Studio - jefferis

Okay, I am not sure what would have been local host. The root path in the image below I removed from the testing server and I recreated the connection and all tables now now. However, I'm getting an inaccessible usr folder created each time I connect to the site in DW.

Sign in to reply to this post

Ray BorduinWebAssist

This is an odd one... My guess is that you have multiple usr folders with different case on the remote server. You may need to go in with another FTP program and delete the duplicate folders and make sure the case on the remote server is the same as your local directory.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...