Take the 2-minute tour ×
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It's 100% free, no registration required.

on my cartthrob site I can add and remove things to and from the cart just fine but when i go to checkout i get this error

Parse error: syntax error, unexpected $end, expecting ':' or '{' in MYSITE/system/expressionengine/third_party/cartthrob/payment_gateways/Cartthrob_ct_pay_by_check.php on line 52

ive found the file and the line its referencing is

public function charge($credit_card_number){ switch ($this->plugin_settings('processing_status'))

is there something wrong with this that I should edit? or is the cause of the problem somewhere else?

EDIT: Redownloaded cartthrobs files, opened the one in question and found out what was missing, guess my initial download mustve got corrupted or something

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.