Guest LinkHunter Posted August 22, 2008 Share Posted August 22, 2008 I did a fresh install of 3.1.8 and everything works perfect except that I configured the Paypal gateway to the Standard/IPN and when a customer is trying to checkout it goes to this error: Parse error: syntax error, unexpected '<' in /home/mysite/public_html/modules/gateway/PayPal/transfer.inc.php on line 119 I see the problem but am unsure as to what to do to fix it. Help anyone? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Guest Posted August 22, 2008 Share Posted August 22, 2008 please do a search before posting. The solution has been posted several times - there is a small typo in the php. Quote Link to comment Share on other sites More sharing options...
Guest LinkHunter Posted August 22, 2008 Share Posted August 22, 2008 please do a search before posting. The solution has been posted several times - there is a small typo in the php. Sorry!! I tried searching actually and couldn't find it but I just uploaded the file from a previous version and it works just fine now. I love this script!! Quote Link to comment Share on other sites More sharing options...
Guest ScienceFare Posted August 31, 2008 Share Posted August 31, 2008 I'm having the same issue, and searching for the fix as suggested, returns more of your posts stating that the fix was posted many times, and to please search for it. Rather than sending folks in an endless loop looking for the answer, why don't you simply provide it?????? Many thanks... -ScienceFare Quote Link to comment Share on other sites More sharing options...
Guest ScienceFare Posted August 31, 2008 Share Posted August 31, 2008 For those interested in the fix, and are tired of the endless loop of searching for the answer only to keep returning to countless posts that advise you to search for the answer, here it is: Although line #119 is reported as having the error, it actually occurs in the line before. Line #118 has a small typo. Here is the incorrect line #118: <input type='hidden' name='upload' value='1' />"; Here is the correct line #118: <input type='hidden' name='upload' value='1' />; I hope that this helps someone. Quote Link to comment Share on other sites More sharing options...
Guest SwishEmporium Posted November 13, 2008 Share Posted November 13, 2008 For those interested in the fix, and are tired of the endless loop of searching for the answer only to keep returning to countless posts that advise you to search for the answer, here it is: Although line #119 is reported as having the error, it actually occurs in the line before. Line #118 has a small typo. Here is the incorrect line #118: <input type='hidden' name='upload' value='1' />"; Here is the correct line #118: <input type='hidden' name='upload' value='1' />; I hope that this helps someone. This certainly did help me, thankyou so much for pointing out the error code. Quote Link to comment Share on other sites More sharing options...
Guest autojonny Posted January 7, 2009 Share Posted January 7, 2009 my error is on line 143 Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/auto/public_html/shop/modules/gateway/ExpressCheckout/transfer.inc.php on line 143 ive had a look but cant seem to fix it, can anyone help Quote Link to comment Share on other sites More sharing options...
Guest Atif007 Posted January 20, 2009 Share Posted January 20, 2009 From where where get this facility ? French Wholesalers Directory & Trade Suppliers |DIY Wholesale Tools Suppliers Directory | American Wholesale & USA Wholesalers Directory | France Wholesalers & Suppliers Directory Quote Link to comment Share on other sites More sharing options...
Guest 2001web Posted April 1, 2009 Share Posted April 1, 2009 Still have an issue with this repaired the error but now cart order number is not being transferred to paypal At top of paypal page it reads as follows Cart Order No: < Quote Link to comment Share on other sites More sharing options...
Guest Posted April 11, 2009 Share Posted April 11, 2009 Still have an issue with this repaired the error but now cart order number is not being transferred to paypal At top of paypal page it reads as follows Cart Order No: < same here. having this cart order no. error. Quote Link to comment Share on other sites More sharing options...
Guest 2001web Posted April 11, 2009 Share Posted April 11, 2009 same here. having this cart order no. error. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 12, 2009 Share Posted April 12, 2009 thank you very much! i fixed the problem already. hwever, the previous order with the "<" not able to delete it. ;) Quote Link to comment Share on other sites More sharing options...
Guest 2001web Posted April 12, 2009 Share Posted April 12, 2009 thank you very much! i fixed the problem already. hwever, the previous order with the "<" not able to delete it. If you have access to your hosting control panel, use something like php myadmin to look up the order in the orders table you should be able to remove it from there, the order NOT the table hehe. Quote Link to comment Share on other sites More sharing options...
Guest theoutbackhoof Posted April 30, 2009 Share Posted April 30, 2009 To ask a silly question. Where do I find this file so I can fix it??? Thanks alot, Beth Quote Link to comment Share on other sites More sharing options...
Guest ballesdegolf.fr Posted April 30, 2009 Share Posted April 30, 2009 To ask a silly question. Where do I find this file so I can fix it??? Thanks alot, Beth Hi Beth Are you currently having this problem? If not don't go playing with your code unless you need to! Otherwise look here: yoursiteURL.com/public_html/modules/gateway/PayPal/transfer.inc.php You will need to download the file via ftp, edit the file as noted in the previous post, and then upload over the existing file via ftp. I suggest that you keep a copy of the original on your server by renaming it to BACKUPtransfer.inc.php BEFORE you upload the new version. As always make regular backups of you store generally - but ALWAYS before messing with your code! Hope this helps Jim Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.