close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

syntax error and error basic set up

Thread began 11/04/2009 5:34 am by info271221 | Last modified 11/04/2009 12:09 pm by Jason Byrnes | 911 views | 1 replies |

info271221

syntax error and error basic set up

On the confirm page I am getting this error - PHP Parse error: syntax error, unexpected ';' in D:\Websites\www.MYSITE\ShopTheHorseMall\confirm.php on line 3

Also, MYSITE is very large and I would prefer to have a separate set of eCart Files for each subsite. I set up a new dreamweaver site in wamp/www/ShopTheHorseMall and used that as the local path - then ShopTheHorseMall as the live connection. The database connected fine... however the eCart files were generated in wamp/www (the root of www NOT ShopTheHorseMall AND some one of the re-directs sent to MYSITE/Accounts/cart_display - Not sure why that happened. What would be the best way to set eCart up for my subsites?

Files attached

Sign in to reply to this post

Jason ByrnesWebAssist

line 3:
require_once(("WA_eCart/eCart1_PHP.php");

should be:
require_once("WA_eCart/eCart1_PHP.php");



The eCart files will all be stored at the rot of the Dreamweaver site.

using your currant setup, you need to create a uniquely named eCart object for each subsite.

another way to go about it is to create new Dreamweaver site for each sub site, and "put them together" when uploading to the server.


for example:
Site 1:
Site folder: c:\websites\site1

site 2:
Site folder: c:\websites\site2

site 3:
Site folder: c:\websites\site3


them on the remote tab, set then upload to:
Site 1:
host directory: httpdocs/site1

site 2:
host directory: httpdocs/site2

site 3:
host directory: httpdocs/site3

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