Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

parse error - AuthNet 1.7


dogpaw

Recommended Posts

I've installed the v1.7 consolidated AIM module (http://www.oscommerce.com/community/contributions,2184/category,1/search,authorize).

 

I'm getting a parse error:Parse error: parse error, unexpected T_ELSE in /vservers/acevintage/htdocs/includes/modules/authorizenet_direct.php on line 142

 

 

I'm running the site on Linux with cURL compiled.

 

Not being a hard core programmer, I'd like some help figuring out what this means.

 

thanks

Link to comment
Share on other sites

Which original file are you referring to?

 

I just uploaded the one from Austin's original contrib and now I get a fatal error:

 

Fatal error: Call to undefined function: curl_init() in /vservers/acevintage/htdocs/includes/modules/authorizenet_direct.php on line 150

 

I do have curl compiled on my server so I thought it would be fine.

 

thanks

Link to comment
Share on other sites

I think I've fixed my problem. I went back to the beginning by starting with the original one by Austin. Then I went to the one with the curl fix by Ryan Walker dated: 15 Jun 2004. It's working now without going to any of the following version after this one.

 

thanks for your reply, Matti.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...