close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

confirm.php white space

Thread began 8/02/2010 2:03 pm by watercolor346374 | Last modified 8/05/2010 1:45 pm by Jason Byrnes | 707 views | 3 replies |

watercolor346374

confirm.php white space

Hi,
Everything was working well until I added to the ecart database on the orders table...did exact same thing on order_items and had no problem. Now I get this message after clicking on checkout to go to confirm order...
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /Applications/MAMP/htdocs/winkee/confirm.php on line 136
Well that is where my insert to orders statement is. and it worked until I did this........
Just added to the orders datatbase: $winkee->DisplayInfo("onbackorder")
I have included my confirm.php script...also when I go into ecart database summary for orders I get this message before it loads up: it appears that one of your server side values is improperly coded. Please check this interface for inconsistencies.
Thank you,
K

Attached Files
confirm.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I see a lot of codeing problems in the store order summary behavior.


you will need to rebind each of the columns to correct these problems.

In the store order summary behavior, select each column, click the lightning bolt next to value and reselect the corresponding variable.

Sign in to reply to this post

watercolor346374

confirm.php

Hi Jason,
I went through all of the bindings. I can add the backorderstatus to the order_items table and it all runs right and I get the posting to the db table order_items that I want. When ever I do the same thing to the orders table, it does not work and that is when I get the white space message. I know that when I go into the ecart store sum for the orders table I get a message about server side coding areas and when I rebind them, the script does not work. I am not sure what is not correct. Here is the script without the backorderstatus added to the orders table. I included the detail page since that has all of the ATC items. As I look a what I want to do in the orders table may be impossible, since the backorderstatus is for each item and comes from the inventory table, so it will post for each item ordered. I still need to know what is wrong with my bindings, is that why I get the message that I have errors in my orders table?
Thank you,
K

Attached Files
confirm_detail.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I do not see an issue with the bindings fore the store order summary, they all look correct to me.

what you say is correct, the backorder message is unique to the item, so should not be stored in the orders table, it should be stored in the order details table.

if the backorder message is storing correctly in the details table, i would leave it as is.

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