Jump to content

Request for the Community: Functionality of your 1.4 themes in v1.5 RC


Recommended Posts

Hi everybody,

 

We are reaching out to the community in order to have your feedback on how various v1.4 themes work on our 1.5 RC.

 

To provide us with the best information, please provide the name of the theme and the versions for which it is compatible (e.g. 1.4.1 or 1.4.4-1.4.8)

 

This census will allow us to see the percentage of themes working correctly and work to correct any backward compatibility issues that may arise with certain themes before the final release.

 

Please also remember to provide us with any error messages you get.

 

To do this, you will need to enable Error Reporting. You can do that by going to your \config\config.inc.php file and changing 'display_errors' from 'off' to 'on' as seen below:

 

/ * Debug only * /
@ ini_set ('display_errors', 'on');
define ('_PS_DEBUG_SQL_', false);

 

Thank you in advance for your feedback and for continuing to help us improve PrestaShop!

 

Regards,

Mike and the PrestaShop team

Link to comment
Share on other sites

Hi there,

 

A client bought this template:

http://addons.prestashop.com/en/neutral/4416-redsoft-corporate.html

 

It gives a bunch of errors like the following:

Warning: PDO::__construct() [<a href='pdo.--construct'>pdo.--construct</a>]: php_network_getaddresses: getaddrinfo failed: Este anfitri�o n�o � conhecido. in C:\wamp\www\PS15-rev16082\classes\db\DbPDO.php on line 51

Warning: PDO::__construct() [<a href='pdo.--construct'>pdo.--construct</a>]: [2002] php_network_getaddresses: getaddrinfo failed: Este anfitri�o n�o (trying to connect via tcp://localhost:3306) in C:\wamp\www\PS15-rev16082\classes\db\DbPDO.php on line 51

Fatal error: Uncaught exception 'PrestaShopDatabaseException' with message 'Link to database cannot be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Este anfitri�o n�o � conhecido. ' in C:\wamp\www\PS15-rev16082\classes\db\DbPDO.php on line 55

PrestaShopDatabaseException: Link to database cannot be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Este anfitri�o n�o � conhecido. in C:\wamp\www\PS15-rev16082\classes\db\DbPDO.php on line 55

 

Este anfitri�o n�o � conhecido. = Unknown host

 

It give some more informations like "Function " addCSS(), getDiscount() and getDefaultCountryId() " is deprecated"

 

I know that's a template for <1.4.7 but would it be so hard to make it function?! What can I do?

 

Thanks in advance!

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

This is such an important thread mike started yet it has only 2 replies. I surely will use my existing theme with 1.5 and well, mine doesnt work well wit the rc1 i tested.

 

I will do further tests to see what can be done.

Link to comment
Share on other sites

Mike this is a good topic, but it is much more complicated then errors from the debug :)

 

Most of the themes from 1.4.4.0 up to 1.4.8 will not work for several simple reasons. And most of the problems comes from the fact that Presta Team completely changed the old default theme on which many themes are based. I have noted this as a critic.

 

1. Modules:

Presta Team include tophorizontal menu module, which many themes out there uses too. However PrestaTeam did not gives the module different name, for example "tophorizontalmenu2" and this will directly conflict with old themes who uses the module. Also the old "tophorizntalmenu" module don't work with RC1/2, so this is a brake point.

 

Also because of the "multi-store" function and remapped module structure of this function, most custom modules used in the themes will not work too, at least not with multi-store, because PrestaShop 1.5 requires SHOP ID to identify module instance. Something that is missing in all themes modules currently.

 

2. Code and file structure:

 

The new theme system of 1.5 requires additional paths for overrides, new files, new structure, again themes from 1.4.x will brake here. For example, it is required layout.tpl in 1.5 file which is missing in the 1.4.x themes.

 

Also there was a very useful PrestaShop Theme validator, however Presta Team seems to abandon it and its not updated from 1.4.4.

 

3. Export configuration:

 

When the theme is exported in 1.4.x there are lot of different or missing configs that were added in 1.5 version. This will brake the themes too. For example in 1.4.x config can't exist enable or disable of the new slider module added by default.

 

 

In conclusion:

99% of the 1.4.x themes will not work out of the box without theme developers to update them which will require completely remaking all the themes to be 100% compatible with 1.5 new functions and structure.

 

And here comes another problems.

While we will have to remake all themes for 1.5 this will make them not backward compatible with 1.4.x. So we will have to have two versions of the themes and PrestaShop addons store still don't support two versions of the themes or modules. I have opened a topic about it, but yet there is no solution about this problem, while there is a simple solution - to rise the file upload limit in Addons Store, so we can include in one archive two versions of the themes.

Edited by Dreamtheme (see edit history)
  • Like 3
Link to comment
Share on other sites

When I tried to install this theme BioNatural into a new fresh prestashop 1.5 RC2 test server, it didn't work :(

 

I use the automatic theme installation module v1.4 and I got this error:

 

error_imagenes.jpg

 

 

Finally the result was that I could see anything at the frontpage... Only going back again at the default theme had restored the website. Fortunately as I said it was only a test site but I was very dissapointed about this issues cause I see that it will be very difficult to adapt the 1.4 themes to 1.5

Link to comment
Share on other sites

Theme PRS020027 it`s not working with SVN version of 1.5

 

( ! ) Warning: layout.tpl is missing in your theme directory in C:\wamp\www\SVN1.5\classes\Tools.php on line 1680 Call Stack # Time Memory Function Location 1 0.0009 367464 {main}( ) ..\index.php:0 2 0.1657 6046904 DispatcherCore->dispatch( ) ..\index.php:29 3 0.2101 7752144 ControllerCore->run( ) ..\Dispatcher.php:348 4 0.7508 22279264 FrontControllerCore->display( ) ..\Controller.php:186 5 0.7512 22282352 ToolsCore::displayAsDeprecated( ) ..\FrontController.php:575 6 0.7512 22286816 trigger_error ( ) ..\Tools.php:1680

( ! ) Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'C:\wamp\www\SVN1.5/themes/PRS020027/header.tpl'' in C:\wamp\www\SVN1.5\tools\smarty\sysplugins\smarty_internal_templatebase.php on line127 ( ! ) SmartyException: Unable to load template file 'C:\wamp\www\SVN1.5/themes/PRS020027/header.tpl' in C:\wamp\www\SVN1.5\tools\smarty\sysplugins\smarty_internal_templatebase.php on line 127 Call Stack # Time Memory Function Location 1 0.0009 367464 {main}( ) ..\index.php:0 2 0.1657 6046904 DispatcherCore->dispatch( ) ..\index.php:29 3 0.2101 7752144 ControllerCore->run( ) ..\Dispatcher.php:348 4 0.7508 22279264 FrontControllerCore->display( ) ..\Controller.php:186 5 0.8524 22359208 Smarty_Internal_TemplateBase->display( ) ..\FrontController.php:577 6 0.8524 22359336 Smarty_Internal_TemplateBase->fetch( ) ..\smarty_internal_templatebase.php:37

Link to comment
Share on other sites

Don't use themes created for PrestaShop 1.4 in your project on prestashop 1.5 platform. Even if this theme has been "adapted" to prestashop 1.5.

“it is highly advisable not to adapt 1.4 theme to PrestaShop 1.5, but rather start with the default theme and adapt your HTML and CSS files to it. This way, you will ensure that all the new features from PrestaShop 1.5 will be included in your theme out of the box”.

From here: http://doc.prestasho...opment-Foreword

Edited by Marek Mnishek (see edit history)
Link to comment
Share on other sites

Well, the developers have said time and again that we should be able to upgrade seamlessly to the new version 1.5 from the older version, and since most of us use a custom theme i assume it should work fine in the newer version. Maybe they are working on backward compatibility in these last stages of release.

  • Like 1
Link to comment
Share on other sites

Well, the developers have said time and again that we should be able to upgrade seamlessly to the new version 1.5 from the older version, and since most of us use a custom theme i assume it should work fine in the newer version. Maybe they are working on backward compatibility in these last stages of release.

 

I hope so.......... :unsure:

Link to comment
Share on other sites

Iam sure 99% users plan to use their themes with 1.5. What good is an upgrade if theme is not working. And they had said users will be able to use the 1 click upgrade.

 

I had read they were trying to ensure backward compatibility with either themes or modules, but iam not sure. Havent really followed the development closely. We can wait for the official release and see i guess.

Edited by indus (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

I have bought a theme from Templatemonster some weeks ago and they sent me to Templatetuning yesterday. To make my theme working with 1.5 they want $350.

 

Which changes are necessary to make a 1.4.x theme compatible with 1.5? Ist there a list? There should be some kind ...

 

Make the theme new from scratch? Is it really that hard to make the changes in an existing template?

 

Thx

Adrian

Link to comment
Share on other sites

I have bought a theme from Templatemonster some weeks ago and they sent me to Templatetuning yesterday. To make my theme working with 1.5 they want $350.

 

Which changes are necessary to make a 1.4.x theme compatible with 1.5? Ist there a list? There should be some kind ...

 

Make the theme new from scratch? Is it really that hard to make the changes in an existing template?

 

Thx

Adrian

 

Yes it is hard. Compatibility depends on how the theme is build. So it is very different from theme to theme, so there cannot be used convertors or something like that. And because of the new multi-shop features and other functions almost all themes have to be rebuild which is even more time consuming then creating a new one.

 

However a 350$ for an update is a bit high price, we for example offer updates for free when they are ready.

Link to comment
Share on other sites

For me when I upload a theme in 1.5 - http://www.templatemonster.com/prestashop-themes/39540.html

 

It doesn't show at all on the themes page. The only way I can get it to show is by renaming the theme folder to 'default'

 

Once I add all the modules the theme looks like this. This template worked fine up to 1.4.9. There looks like too many errors for me to fix!

 

It's looks like we have a bit of a waiting game here, hopefully just around the corner we'll have either a converter or templates available in two versions.

 

This does make the release of 1.5 a bit of an anti-climax as currently existing stores have to stay with 1.4.9 and 1.5 can be used with new projects as some as some themes get released!

Link to comment
Share on other sites

  • 4 weeks later...

>>>> Just read the things in your first post. Didn´t the prestashop developers see this problems coming? Why the question if our old themes work with 1.5? Was backward compatibility too complicated? I´m a little bit sad :-(

 

 

because designers and php coders had to feed their families too )))))))))

Link to comment
Share on other sites

The Prestashop team don't appear to care a jot that many of us have got screwed up stores and businesses. A big warning that existing themes would not work with 1.5 should have been posted with the download link and on all installer pages. Perhaps they were too busy organising the next self indulgent congratulatory bar camp jolly?

Link to comment
Share on other sites

  • 3 weeks later...

I have bought a theme from Templatemonster some weeks ago and they sent me to Templatetuning yesterday. To make my theme working with 1.5 they want $350.

 

Which changes are necessary to make a 1.4.x theme compatible with 1.5? Ist there a list? There should be some kind ...

 

Make the theme new from scratch? Is it really that hard to make the changes in an existing template?

 

Thx

Adrian

 

Adrian I purchased a few themes from Template Monster for clients and they seem to run without too much issue on 1.5

 

It all depends which modules that they use. A couple used "TMcategories" menu. This needed a tweak (change the max depth to 4 or 5).

 

Most of the other modules should be updated in the process (PayPal etc).

 

One thing to note is that all template monster templates have the old PrestaShop error of having incorrect currency conversions for products with combinations, specific price and discount as detailed here:

 

http://www.prestashop.com/forums/index.php?/topic/195673-incorrect-currency-conversion-of-products-with-specific-price-discount-and-combination/page__fromsearch__1

 

It took me 6 weeks of trying to contact PrestaShop via the bug tracker and their support site and failed to receive a single reply or acknowledgement and so I had to pay a developer to fix it.

 

Anything else you will probably have to tackle when the time comes.

 

You should copy your site to a new subdirectory on your site and copy your database. Point the new site (in the subdirectory) to the new database, change bas shop URI and upgrade that shop to go forward and tackle your problems.

 

Support for 1.4x has all but stopped in my experience.

Link to comment
Share on other sites

PS team:

 

I am currently converting the supplied "default" theme so it echoes my own customised template from PS shop 1.4.9.

 

Can you tell me for sure that these changes I am making in this theme will cover the theme for subsequent 1.5x updates? It's going to take me probably around 1 week to make all of the changes so need to be sure.

 

I cannot get any support for 1.4x any more so I have no other recourse but would appreciate if one of the team could at least answer this question.

 

Thanks

Link to comment
Share on other sites

The way I understand it:

 

Your theme may *appear* to work correctly but the only way to be sure that all of the new features are being utilized and that most importantly, future modules etc will work correctly is to modify the supplied 1.5 default theme to match your customised one.

 

It's actually not *too* difficult but is very time consuming.

 

I have a 1.5.2 site on a subdirectory of my existing shop and am comparing pages and making changes to the appropriate layout of the TPL files of the 1.5x default theme to match my existing 1.4.9 theme.

 

I would personally NOT use a 1.4x theme. Spend a little time now to tweak the existing theme and it will save you trouble down the road.

 

The CSS is already there so the hard work is done. You simply have to modify positioning and appropriate markup in the TPL files.

Link to comment
Share on other sites

Hi could someone from the PS team please answer briefly the following:

 

 

I am currently converting the supplied "default" theme so it echoes my own customised template from PS shop 1.4.9 (TPL files and CSS).

 

Can you tell me for sure that these changes I am making in this theme will cover the theme for subsequent 1.5x updates? It's going to take me probably around 1 week to make all of the changes so need to be sure.

 

I cannot get any support for 1.4x any more so I have no other recourse but would appreciate if one of the team could at least answer this question.

 

Thanks

Link to comment
Share on other sites

Hi Elpatron thanks for the link.

 

So if I take the new default PS 1.5.2 template and *style* it to look like my old template (only using CSS and tinkering with the HTML layout in the TPL files) then I should be OK for any subsequent 1.5x upgrades in the future?

 

Thanks again

Link to comment
Share on other sites

Hi Elpatron thanks for the link.

 

So if I take the new default PS 1.5.2 template and *style* it to look like my old template (only using CSS and tinkering with the HTML layout in the TPL files) then I should be OK for any subsequent 1.5x upgrades in the future?

 

Thanks again

 

con much gusto...

 

I'd follow the advice from PrestaShop. When I have the time I'm just going to move to a vanilla ps 1.5 based release...and not change anything...so I can easily upgrade to the next set of cool features...

Link to comment
Share on other sites

Well the advice from PS is to change the default theme to match your previous theme so I suppose it should be OK.

 

It would be great to start from vanilla but it's impossible with all of the customers / orders / products...

 

I mean vanilla in the sense of root and db files...and of course the needed OEM modules...of course one should keep the customer related information.

Link to comment
Share on other sites

 

It all depends which modules that they use. A couple used "TMcategories" menu. This needed a tweak (change the max depth to 4 or 5).

 

 

HI Steve - I am struggling getting TMcategories menu to show anything at all - I just have a <div> and no contents. I have changed the max depth to 4 and 5 but without any luck....

 

Can you let me know if you did anything else

 

I am using 1.5.2 by the way

Thanks

Link to comment
Share on other sites

×
×
  • Create New...