Jump to content

White screen after update 1.6.0.9 to 1.6.0.14


Recommended Posts

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

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 by prestamax (see edit history)
  • Like 1
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...