Solis Light Posted January 4, 2018 Share Posted January 4, 2018 Hello, can someone help me. I use prestashop 1.6 I have one probleme with : Parse error: syntax error, unexpected end of file in /override/classes/Mail.php on line 136 In this file Mail.php on line 136 , i have this code : 135 else136 $connection = new Swift_Connection_Native Someone can help me to found this syntax error, and which code should be here? Thanks! Link to comment Share on other sites More sharing options...
eleazar Posted January 4, 2018 Share Posted January 4, 2018 vor 9 Stunden schrieb Alexandra Maydanyuk: In this file Mail.php on line 136 , i have this code : 135 else136 $connection = new Swift_Connection_Native Exactly this? In this case a semicolon seems to be missing as end of command. I don't know if this will work in your override, but how about: $connection = new Swift_Connection_NativeMail(); Link to comment Share on other sites More sharing options...
Solis Light Posted January 7, 2018 Author Share Posted January 7, 2018 Hello, Thank you for your help ! I change the end in my php file in $connection = new Swift_Connection_NativeMail(); Sadly error (Parse error: syntax error, unexpected end of file in /override/classes/Mail.php on line 136) is still here ((( Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now