Zen Cart Logo
Forums / Addon Payment Modules / Parse Error

Parse Error

Locked

Views: 1,659

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Aug 2006, 08:02
#1
Join Date:
Aug 2006
Location:
Northwest U.S.A.
Posts:
8
Plugin Contributions:
0

Parse Error

:wacko: Need help

I am working on modifying a payment module to allow the use of online checks. I keep getting a parse error on the very last line of the PHP script that ends with the ?>. The message that the debugger gives is:
Parse error: parse error, unexpected $end in echeck.php on line 252

Line 252 only has ?> in it

I can sent the script if needed

20 Aug 2006, 09:12
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Parse Error

That suggests that you most likely have not properly closed your { and } braces, or maybe your ( and ) parentheses.

20 Aug 2006, 11:01
#3
Join Date:
Aug 2006
Location:
Northwest U.S.A.
Posts:
8
Plugin Contributions:
0

Re: Parse Error

Re-checked everything and corrected an error where I had not closed a line with a }

I also found that I hadn't changed all references to osCommerce specific information ( tep_ ) to that of ZenCart ( zen_ ) . Once I did that the converted mod works fine.

Will post it on the Mods site right away.

It's called Accept_EPayments V2.0 ( osCommerce version) Converted to ZenCart