close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

css Menu make code wrong.. need help?

Thread began 3/03/2009 11:06 am by toleehua356796 | Last modified 4/13/2009 10:04 am by David Stringer | 18207 views | 12 replies |

toleehua356796

css Menu make code wrong.. need help?

i am used the css menu writer & date assist to make the dynamic item Menu. i am follow before your train video to do it. but when i finish the Dreamweaver cs3 Live Data Error
show on the page. Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C: \AppServ|www\zone|CSSMenuWriter\cssmw_content\menu_41qjlfy92x.php on line 31 & 33

my website: www.yaozone.com

the code:
Line: 31 mysql_select_db($database_connbulesky, $connbulesky);
Line: 32 $query_rsHZ = "SELECT * FROM items WHERE ItemCatID = 1 ORDER BY ItemID ASC";
Line: 33 $rsHZ = mysql_query($query_rsHZ, $connbulesky) or die(mysql_error());
Line: 34 $row_rsHZ = mysql_fetch_assoc($rsHZ);
Line :35 $totalRows_rsHZ = mysql_num_rows($rsHZ);

on the localhost used firefox show the index.php


Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\AppServ\www\zone\CSSMenuWriter\cssmw_content\menu.php on line 31

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\AppServ\www\zone\CSSMenuWriter\cssmw_content\menu.php on line 33

i don't know how to fix this. please help?


i used the date: bludskymusic. all the page is make by dateassist. the Menu make by CSS Menu Writer. help me please. i spend tow weeks still dont know how to fix.

please go to mine web site to see. i upload still not working!
www.yaozone.com

Thanks any one can help!

Sign in to reply to this post

Ray BorduinWebAssist

These errors imply that the connections folder is not included or is not referenced properly on the page. Make sure the connections file is correct and appears on the top of the page.

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

toleehua356796

Originally Said By: Ray Borduin
  These errors imply that the connections folder is not included or is not referenced properly on the page. Make sure the connections file is correct and appears on the top of the page.  



Thanks so much! I got fix it. But the templates pages (siteassistpro_template.dwt.php) Still don't work. When i used the live date. DW CS3 show on like this:

Warning: require_once(Connections/connbulesky.php) [function.require-once]: failed to open stream: No such file or directory in C:\AppServ\www\zone\CSSMenuWriter\cssmw_content\menu.php on line 1
Fatal error: require_once() [function.require]: Failed opening required 'Connections/connbulesky.php' (include_path='.;C:\php5\pear') in C:\AppServ\www\zone\CSSMenuWriter\cssmw_content\menu.php on line 1

Can your tell me again how to fix it. please?

Sign in to reply to this post

Ray BorduinWebAssist

open up the file:

cssmw_content\menu.php

and look at line 1

it appears that an incorrect connections reference is on this page. You would need to either remove or update it.

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

toleehua356796

ecart add to cart button pick which recordset?

Thanks again to you! I got another question about the ecart.
I follow the ecart “getting_started_guide” finish the index.php > add the ecart object.

But on the product page: ecart add to cart button> General> Properties> look up item ID from the recordset. I don’t know which recordset. I pick?
I open the product page. Widow server behaviors> tow recordset on this page.

Recordset (WADAitems ) follow the AdminSuite_SolutionRecipe video the product page come with.

Recordeset (rsHZ) this one is mine before do the css menu writer & date assist to make the dynamic item Menu. Add on the Menu.php page.

I check this tow recodset is the same:
Filter> itemCatID
Entered Value =1
Sort> ItemID> ascending.
Would you please teach me which recordset I can choice is right one?

Thanks again to you!

Sign in to reply to this post

Ray BorduinWebAssist

I think it refers to the WADAitems recordset. But I really can't be sure because I don't quite understand what you are talking about.

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

toleehua356796

ecat on the product/ items_Detail page. Heed help ?

Sorry! I need help again for the Ecart:

When I finish the
Product.php page:
Ecart Add to Cart Button.> on the product.php page.
DW CS3 Live Data Error show like this:
An error occurred while requesting the document form the testing server:
Fatal error: Call to a member function GetContent() on a non-object in C:\AppServ\www\yaozone\products.php on line 3

Fire fox show:

Fatal error: Call to a member function GetContent() on a non-object in C:\AppServ\www\yaozone\products.php on line 3

Product.php page code:
Line 1: <?php require_once('Connections/connbulesky.php'); ?>
Line2: <?php
Line3: $BlueSky->GetContent(); *********wrong on this Line *********
Line4: ?>
Line5: <?php
Line6: //WA Database Search Include
Line7: require_once("WADbSearch/HelperPHP.php");
Line8 ?>
Line9: <?php


items_Detail.php page:
Ecart Add to Cart Button> on the items_Detail.php page.
The DW CS3 Live Data Error Show like this:
Parse error: syntax error, unexpected T_VARIABLE in C:\AppServ\www\yaozone\WA_eCart\BlueSky_PHP.php on line 10

Fire fox show:
Parse error: syntax error, unexpected T_VARIABLE in C:\AppServ\www\yaozone\WA_eCart\BlueSky_PHP.php on line 10

Item_Detail.php page code:

Line 1: <?php
Line 2: //WA eCart Include
Line 3: require_once("WA_eCart/BlueSky_PHP.php");
Line4: ?>
Line5: <?php require_once('Connections/connbulesky.php'); ?>
Line6: <?php
Line7: $BlueSky->GetContent();
Line8: ?>
Line9: <?php
Line10: if (!function_exists("GetSQLValueString")) { *******wrong on this line *******
Line11: function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
Line12: {
Line13: $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;


Please help me again! Thanks again to you!

Sign in to reply to this post

Ray BorduinWebAssist

The page with the error is missing:

<?php
//WA eCart Include
require_once("WA_eCart/BlueSky_PHP.php");
?>

This code has to appear before: $BlueSky->GetContent();

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

toleehua356796

still not work. the wrong line go to line10

when i post your toll me the code on page. the wrong line go to line 10. DWcs3 live date show on:
Parse error: syntax error, unexpected T_VARIABLE in C:\AppServ\www\yaozone\WA_eCart\BlueSkyCart_PHP.php on line 10

Before page code:
line 1: <?php require_once('Connections/connbulesky.php'); ?>
line 2: <?php
line 3: $BlueSkyCart->GetContent(); ******wrong code here*****
line 4: ?>
line 5: <?php
line 6: //WA Database Search Include
line 7: require_once("WADbSearch/HelperPHP.php");
line 8: ?>
line 9: <?php
line 10: //WA Database Search (Copyright 2005, WebAssist.com)
line 11: //Recordset: WADAitems;
line 12: //Searchpage: items_Search.php;
line 13: //Form: WADASearchForm;

After post:

line 1: <?php require_once('Connections/connbulesky.php'); ?>
line 2: <?php ****** post your toll me the code*****
line 3: //WA eCart Include ********post your toll me the code*****
line 4: require_once("WA_eCart/BlueSkyCart_PHP.php"); ****post you toll me code****
line 5: ?><?php
line 6: $BlueSkyCart->GetContent();
line 7: ?>
line 8: <?php
line 9: //WA Database Search Include
line 10: require_once("WADbSearch/HelperPHP.php"); ??????DW cs3 show wrong on this line ?????
line 11: ?>
line 12: <?php
line 13: //WA Database Search (Copyright 2005, WebAssist.com)
line 14: //Recordset: WADAitems;
line 15: //Searchpage: items_Search.php;
line 16: //Form: WADASearchForm;
line 17: $WADbSearch1_DefaultWhere = "";
line 18: if (!session_id()) session_start();
line 19: if ((isset($_GET["Search_x"]) && $_GET["Search_x"] != "")) {
line 20: $WADbSearch1 = new FilterDef;
line 21: $WADbSearch1->initializeQueryBuilder("MYSQL","1");
line 22: //keyword array declarations
line 23: $KeyArr1 = array("ItemShortDesc");

Please help me again! Thanks!

wrong go to the line 10: see ??????DW cs3 show wrong on this line??????

thanks again!

Sign in to reply to this post

Ray BorduinWebAssist

It looks correct. What is the exact error you are getting?

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

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...