clauf Posted February 3, 2011 Share Posted February 3, 2011 Hello Rocky,I'm trying to upgrade from V1.3 to V1.4RC1) I got this message : Fatal error: Class 'ObjectModel' not found in E:\xampplite\htdocs\prestanew\classes\Configuration.php on line 29What to do to solve the problem?2) I have made lots of changes to files in V1.3. I copied most of the changed files to V1.4 folder, maybe still missing some. How to override so I don't need to copy these changed files?3) I also changed blockvariouslinks.tpl, but V1.4 doesn't have this module. What should I do?4) I’m about to upload from localhost to remote server, and I want to upgrade to V1.4 mainly for URL management feature, because I have already removed the complicated order steps of V1.3 ( but not one page checkout yet). I’m not sure if it’s worthy of the troubles? Thanks in advance and best regards,Clau Link to comment Share on other sites More sharing options...
clauf Posted February 5, 2011 Author Share Posted February 5, 2011 Hi Rocky,Can you pls help. I read several of your posts which are closely related with the problems I had. That's why I ask you.Thanks. Link to comment Share on other sites More sharing options...
clauf Posted February 8, 2011 Author Share Posted February 8, 2011 darn! is rock on vacation?? so many errors... now i get parse error. it's really awful to upgrade if you have modified core files! Link to comment Share on other sites More sharing options...
guest* Posted February 10, 2011 Share Posted February 10, 2011 As up to 1.4..X there are really many changes in core you should upgrade first with the original files and than step-by-step install your own modules. all files you have adapted for 1.3. can crashes the system. Compare your adapted files from 1.3. with the original 1.4. files with win-merge and change them with your adaptions.The module filtersearch from community for ex. crashes BO of 1.4.11. Also old smarty will not work, so make sure that you use all new files and adapt/extend only these by your code. Link to comment Share on other sites More sharing options...
clauf Posted February 11, 2011 Author Share Posted February 11, 2011 To: cd2500Your information and advice greatly appreciated. Yes, I will have to do it in this way. Link to comment Share on other sites More sharing options...
guest* Posted February 11, 2011 Share Posted February 11, 2011 Sorry, I want to write better news, but I can't. I'm testing the 1.4. since 1.4.0.6 and tried to update my 1.3.1.1 (which in the meantime I updated to 1.3.3.3 and 1.3.3.6 last week) to 1.4.X. No chance. Many scripts do not work anymore, also the scripts with very old smarty from presta version 1.2.5.So I tried to update with original scripts and by choosing english on installer ( I use only german as default and unique language - other are deleted) and it worked. Than subsequently I took all my adapted files, compared them with new original from 1.4. version and adapted them with my "old code".So you will have a clean "refurbished" new installation. All extra modules I bought or downloaded I installed step-by-step, always checking if on BO and fronted all is ok.Modules which are depending on core unfortunatelly will not work with 1.4. anymore. There are really too much core changes... Link to comment Share on other sites More sharing options...
clauf Posted February 12, 2011 Author Share Posted February 12, 2011 To: cd2500Wow, that's...Learning from your experience, here is what I plan to do. I will wait for the final version for Prestashop1.4. I install it and make all the changes again which I have done over version 1.3. That will surely take lots of time but better than wasting time trying to upgrade. Start it all over again! Fortunately I kept notes for all the changes I made. Thanks a lot for sharing your experience which is very helpful. Link to comment Share on other sites More sharing options...
EQ10000 Posted February 12, 2011 Share Posted February 12, 2011 I would like to know which php programs you make changes. Pls just list out with the why not to make a module instead. Link to comment Share on other sites More sharing options...
Paul C Posted February 12, 2011 Share Posted February 12, 2011 Clauf,There are so many fundamental changes to the 1.4 core that I doubt you'll be able to overwrite the 1.4 core files with modified versions of 1.3 files and have much success; which appears to be what you're trying to do?I'm afraid that if you have made changes to core files that will be overwritten by the upgrade, then you're going to have to merge them by hand, and in some cases redevelop the "modifications" based on the new architecture. In certain cases you will be able to use overrides for the classes to avoid having this same issue again, and if there are changes to the files in the root of the store (cms.php, category.php, authentication.php etc.) then you will have to transfer the intent of these into overridden versions of the "front controllers" for them (these files are fundamentally different).There are many changes that might have been made to the core files that you would certainly not do given the new structure. I suggest that you review what changes were made and explore how they could be better done using modules, hooks and overrides, rather than direct changes.I would also urge you to use all of the override features provided including the previously available, but sadly neglected, module template overrides in your theme; you won't regret it Paul Link to comment Share on other sites More sharing options...
guest* Posted February 12, 2011 Share Posted February 12, 2011 Clauf,There are so many fundamental changes to the 1.4 core that I doubt you'll be able to overwrite the 1.4 core files with modified versions of 1.3 files and have much success; which appears to be what you're trying to do? This was also my experience. The best way is to install/upgrade presta 1.3. with original presta 1.4. files and than all files you've adapted by yourself compare with winmerge and adapt again. So yo will have a new clean installation. You save time by doing on this way. 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