close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Parse error confirm.php page eCarte5

Thread began 7/01/2010 5:53 pm by dave403891 | Last modified 7/02/2010 10:50 am by Jason Byrnes | 2397 views | 9 replies |

dave403891

Parse error confirm.php page eCarte5

I'm getting a error message when trying to test the checkout failure page. I enter incorrect or incomplete info on the checkout page. When I click the checkout button, I get the following error message:

Parse error: syntax error, unexpected T_STRING in /home/davcow9/mysite.com/confirm.php on line 373

The attached screen shot shows the Line 373 code. I suspect the error is elsewhere in the code, but this is all I have to start with.

This is a critical problem because it has shut down our cart functionality. Help!

Sign in to reply to this post

Jason ByrnesWebAssist

try changing line 373 to:

php:
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)))     {
Sign in to reply to this post

dave403891

Jason,

Thanks for once again being of assitance. I entered the code and tested the site. Now I get this error message:

Parse error: syntax error, unexpected '{' in /home/davcow9/InnerchoicePublishing.com/confirm.php on line 373

What does "unexpected '{'" mean? And what next?

Sign in to reply to this post

Jason ByrnesWebAssist

means there is an error extra "{" can you send a screen shot showing that line?

Sign in to reply to this post

dave403891

Here's the screen shot.

Sign in to reply to this post

Jason ByrnesWebAssist

at the beginning of the line, you are missing the "i" in "if":

Sign in to reply to this post

dave403891

Jason,

Thanks for sticking with me. I'll never make a proof reader.

I can start another thread if you think, but how do I eliminate an email that is generated as an order receipt by UE. My gateway provider generates a receipt email that I prefer. Each time an order is placed the purchaser receives two emails: one from UE and one from the gateway. I'd love to eliminate the one from UE. How is this done?

Sign in to reply to this post

Jason ByrnesWebAssist

In the server behaviors list, select the Universal Email server behavior and click the minus button to remove it.

Sign in to reply to this post

dave403891

Once more, thank you. Everything is working.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post
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...