theofferhut Posted August 13, 2013 Share Posted August 13, 2013 (edited) Hi Everyone, Ive finally finished my site, got some marketing going and everything looked great - however I am now getting this message when finishing a paypal transaction - Warning: Unterminated comment starting line 117 in theofferhut.com/tools/swift/Swift/File.php on line 117 Parse error: syntax error, unexpected $end, expecting T_FUNCTION in theofferhut.com/tools/swift/Swift/File.php on line 119 I have looked at those lines and they are : /** * Get a single byte from the file * Returns false p Any ideas ? Thanks Edited August 13, 2013 by theofferhut (see edit history) Link to comment Share on other sites More sharing options...
theofferhut Posted August 14, 2013 Author Share Posted August 14, 2013 Bump for today - any help or ideas would be really helpful Thanks Link to comment Share on other sites More sharing options...
theofferhut Posted August 15, 2013 Author Share Posted August 15, 2013 Could really do with some assistance - any ideas guys ? Link to comment Share on other sites More sharing options...
El Patron Posted August 15, 2013 Share Posted August 15, 2013 the ending comment delimiter appears to be missing add, */ to end the comment Link to comment Share on other sites More sharing options...
theofferhut Posted August 15, 2013 Author Share Posted August 15, 2013 Thanks El Patron, I have updated and will test - much appreciated. Link to comment Share on other sites More sharing options...
theofferhut Posted August 19, 2013 Author Share Posted August 19, 2013 Hi El Patron I now get the following message : Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/tubscoco/public_html/theofferhut.com/tools/swift/Swift/File.php on line 120 The following are the lines from file.php Lines 116 - 120 : } /** * Get a single byte from the file * Returns false p */ Link to comment Share on other sites More sharing options...
El Patron Posted August 19, 2013 Share Posted August 19, 2013 if there is no affect to your shop (i.e. it is running correctly) turn off error reporting... Link to comment Share on other sites More sharing options...
theofferhut Posted August 19, 2013 Author Share Posted August 19, 2013 I tried that but still get the message - I changed it to define('_PS_MODE_DEV_', false); is there anything else I need to change ? Thanks Link to comment Share on other sites More sharing options...
El Patron Posted August 19, 2013 Share Posted August 19, 2013 see if this helps http://www.prestashop.com/forums/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/ Link to comment Share on other sites More sharing options...
theofferhut Posted August 20, 2013 Author Share Posted August 20, 2013 Hi El Patron, That was the page where I got the original link to turn off error reporting, I have recompiled the site but still get the message. Cheers Allan Link to comment Share on other sites More sharing options...
theofferhut Posted September 30, 2013 Author Share Posted September 30, 2013 Hi Everyone, Im still getting this message - can any one help ? it doesnt stop orders from being taken but customers are complaining. Thanks Allan Link to comment Share on other sites More sharing options...
Recommended Posts