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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Powerstore 3 error when you click submit on contact form

Thread began 3/29/2011 12:42 am by Jasmalb327457 | Last modified 3/31/2011 10:50 am by Jason Byrnes | 927 views | 4 replies |

Jasmalb327457

Powerstore 3 error when you click submit on contact form

I am getting this error from the contact form. Please help
Parse error: syntax error, unexpected ',' in D:\Hosting\5393321\html\store\WA_Universal_Email\Email_Templates\contactus.php on line 27

also I need to know how to set up fed ex shipping. Is there a link that the customer can go to, to set up their fed ex account that will work with the shopping cart
Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of your WA_Universal_Email\E mail_Templates\contactus.php page in a zip archive? all of the copies I have stop at line 22, there is no line 27.


to set up your fed ex account, open the admin/fedex.index.php page in your browser

Sign in to reply to this post

Jasmalb327457

file for contact form not working

<html>

<head>

</head>

<body style="font-family: Arial, Helvetica, sans-serif;">

<div id="content" style="font-size: 12px;">

<h1 style="color: #3476a3;font-size: 16px;font-weight: bold;margin:0;"><?php echo($WAGLOBAL_Site_Name); ?> Contact Form Response</h1>

<hr style="margin:0;"/>

<?php

foreach( $_POST as $pkey => $pval ){

if ($pval != "" && strpos($pkey,"Security_") !== 0 && $pkey != "x" && $pkey != "y") {

?>

<div style="formRow">

<strong><?php echo(str_replace("_"," ",$pkey)); ?>: </strong>

<?php echo(str_replace("\n","<BR />",(is_array($pval)?implode(", ",$pval),$pval))); ?>

</div>

<?php

}

}

?>

</div>

</body>

</html>

Sign in to reply to this post

Jasmalb327457

Fed Ex shipping

To set up this type of fed ex account you need an Account number and meter number. What link do you go to to set this up with fed ex that will work with your shopping cart?
Thanks for your help

Sign in to reply to this post

Jason ByrnesWebAssist

change this line:
<?php echo(str_replace("\n","<BR />",(is_array($pval)?implode(", ",$pval),$pval))); ?>


to:
<?php echo(str_replace("\n","<BR />",(is_array($pval)?implode(", ",$pval):$pval))); ?>


to get the account number, you need to sign up for an acount on the fedex.com website.


to get the meeter number, open the admin/fedex.index.php page in your browser

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