If this is your first visit, check our documentation. To post, register or login.

Parse Error

Locked

Started by grizzly_bearhaus_com on 20 Aug 2006, 8:02 AM · Views: 1,671

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

Post #1 by grizzly_bearhaus_com

: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, 9:12 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

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

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

Post #3 by grizzly_bearhaus_com

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