Jump to content

Parse error during set up


Guest eproducts

Recommended Posts

Guest eproducts

Hi all,

This is a new instal of 3.04 using PPPro. Had a few errors due to PayPal.php Pear path. fixed those and have this one now.

Parse error: parse error, unexpected T_REQUIRE_ONCE in /home/eprod2/public_html/ecomm/pear/Services/PayPal.php on line 1

I am assuming that the problem lies somewhere in here:

<?php/** * Base PayPal SDK file. * * @package Services_PayPal *//** * Include our error class and the PEAR base class. */require_once '/usr/bin/PEAR.php';require_once 'Services/PayPal/Error.php';require_once 'Services/PayPal/SDK/Generator.php';/** * End point for users to access the PayPal API, provides utility * methods used internally as well as factory methods.

Can anyone tell me if there are initial file changes required. I have only edited the PayPal.php file. to point correctly to Pear on the server. The cart seems to work fine until I go to check out with either PPal option. Then I get the Parse error.

The print out form option works fine...

Any help greatly appreciated!

Thanks,

DP

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.

Guest
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...