Hi everybody,
I would like to know what are your tips to convert PS 1.6 to PS 1.7 and especially to latest 1.7.6.7.
In this forum, there are many modules which you could not use but if you make some little changes, they might work.
I found out that many PS 1.6 might generate error 500.
By debugging, here a list of what I found.
1°) setMedia (generates error 500)
2°)
2°) Tab orders not showing in admin
3°) Parameters matching for function with parent class
for example function l (parameters are not the same so make it the same parameters as parent class)
Share your findings here!
I would like to know what are your tips to convert PS 1.6 to PS 1.7 and especially to latest 1.7.6.7.
In this forum, there are many modules which you could not use but if you make some little changes, they might work.
I found out that many PS 1.6 might generate error 500.
By debugging, here a list of what I found.
1°) setMedia (generates error 500)
Code:
setMedia() par setMedia(isNewTheme=false)
public function setMedia($isNewTheme = false)
{
parent::setMedia($isNewTheme = false);
2°) Tab orders not showing in admin
Code:
$adminOrders = version_compare(_PS_VERSION_, '1.7', '>=') ? 'AdminParentOrders' : 'AdminOrders';
for example function l (parameters are not the same so make it the same parameters as parent class)
Share your findings here!