JaroslavH Posted July 26, 2015 Share Posted July 26, 2015 Hi All, I did an automatic update from version 1.6.0.9 to 1.6.0.14. Web and administration ends with a white page now. In file config/defines.inc.php I set define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); Now I get an error message: Parse error: syntax error, unexpected 'curl_init' (T_STRING) in /home/www/uctenka.eu/domains/alfafish.cz/www/override/classes/Link.php on line 26 On the line 26 is this code: substr($url, 0, 7) != 'http: !function_exists('curl_init')) Advise me somewhere how to fix this? Thanks, Jaroslav Link to comment Share on other sites More sharing options...
prestamax Posted July 26, 2015 Share Posted July 26, 2015 (edited) If the file Link.php is in the folder "override" it means that you have modified the file. Why did you put the file "Link.php" in the folder "override"? What was the purpose? Rename the file to anything else so it won't be loaded then everything should be working again. If you don't know why you put the file in the override folder you may probably delete it at all. Edited July 26, 2015 by prestamax (see edit history) 1 Link to comment Share on other sites More sharing options...
gabdara Posted July 26, 2015 Share Posted July 26, 2015 A module might have done a override to your Link.php file and in the process it might not done it completely because that line of code looks incomplete. Usually there is a comment that tells you from what module the override was done. Go to that module files and look at Link.php to compare them. If they are not the same, replace the one from the override with the one from the module. Otherwise disable the module and delete the override if you don't need it. 1 Link to comment Share on other sites More sharing options...
JaroslavH Posted July 26, 2015 Author Share Posted July 26, 2015 Thank you both for your advice. I renamed the file. The Web is functional. I found a module that created the file. I need this module. I will contact the author. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts