close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

WA errors from fresh product manager install

Thread begun 4/23/2025 4:09 pm by Peterson Design Studio - jefferis | Last modified 4/25/2025 5:42 pm by Jay Core Global Media | 50 views | 4 replies |

Peterson Design Studio - jefferis

WA errors from fresh product manager install

So, I am trying to install product update pages from scratch. I've created the pages, but I'm finding errors with a fresh install.
I have the latest version of data bridge

error: Parse error: syntax error, unexpected token ")", expecting variable or "{" or "$" in /usr/home/name/public_html/cartierbuyer.com/AdminNew/admin/products_results.php on line 26

Line 26 is: $DeleteQuery = new WA_MySQLi_Query($);

Any suggestions?
Also, line 50 appears to have an error:
$WADAProducts = new WA_MySQLi_RS("WADAProducts",$,10); but i can't get to that one until line 26 is fixed.

Sign in to reply to this post

Jay Core Global Media

error

That error usually means there's a misplaced or extra closing parenthesis ) in your PHP code, often right after a function declaration or in an unexpected spot. PHP is telling you:
$DeleteQuery = new WA_MySQLi_Query($);

You're passing just a dollar sign $ as the argument. PHP is expecting a variable name after the dollar sign (like $myconn, $conn, etc.), but instead you gave it an incomplete variable. so replace $ with your msqli connection variable

please attach page or full delete query or record set so th community can try to pin point the problem. Hope this helps

Sign in to reply to this post

Peterson Design Studio - jefferis

attachments aren't working

All i get is a white screen when I try to attach the file I am sending a link : https://drive.google.com/file/d/1X0HKvnYuEFAiJu46P2sXd8313bDsXDQA/view?usp=sharing

Attached Files
products_results.php.txt
Sign in to reply to this post

Peterson Design Studio - jefferis

what is weird

this error was produced by the default wizard for product pages

for some reason on the 5th try, the attachment uploaded

Sign in to reply to this post

Jay Core Global Media

error

sometime it is a little buggy the wizard. So first would be for you to define a mysql connection file if you have not done so,On line 3 <?php require_once('../../Connections/.php'); ?> the connection file is just .php so the page has no connection to your database. whatever the name of your connect file is for example connectdatabase.php the dataassist pages will use that file name for the delete, insert etc functions. So line 26 looks like this
$DeleteQuery = new WA_MySQLi_Query($);
if your connection file was named connectdatabase.php then line 26 would look like
$DeleteQuery = new WA_MySQLi_Query($connectdatabase);

Sign in to reply to this post

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