slanit Posted June 8, 2016 Share Posted June 8, 2016 Hi, a customer of me used Prestashop 1.5.3.1 and i upgraded it to 1.6.1.4 with the help of the autoupgrader plugin. Everything works fine now, but the Modules backoffice page is completely broken. It seems to output just a small html piece from a tpl, with no headers or footers, but if i turn on debuging, no errors will show up. Look at the two screenshots, where you also will see the HTML code. Could it be that the modules page relies on some hooks that got unregistered or anything else? How can we fix this without complete reinstall? Link to comment Share on other sites More sharing options...
ernitish Posted June 8, 2016 Share Posted June 8, 2016 Its Looks...there a broken CSS file...check with console...And try to resolve broken link of that css file with core development. Link to comment Share on other sites More sharing options...
slanit Posted June 8, 2016 Author Share Posted June 8, 2016 Hello ernitish It is no broken CSS file... As you see, there is no real HTML header and no footer... it just begins with a DIV. It seems that prestashop is somehow forgetting to add these elements to the Modules page and just shows a single small TPL file and forgets to add header and footer TPL files... Link to comment Share on other sites More sharing options...
musicmaster Posted June 8, 2016 Share Posted June 8, 2016 I am puzzled what you doing. If you look for error messages it would be better to look at the source code itself - not the polished version in the debugger. You can try to search there for the word "error" and for a sudden end. If you look for error messages you should look in the console of the debugger (Firebug would even be better) and the apache and php error logs. Link to comment Share on other sites More sharing options...
slanit Posted June 8, 2016 Author Share Posted June 8, 2016 I just clicked the Modules page link in the backoffice and i am showing you just the sourcecode to show that there is no header attached in the HTML. Don't concentrate on the browser or the way i show you the HTML in the F12 tools... it happens in all browsers because prestashop sends not all needed HTML parts... I enabled devmode _PS_MODE_DEV_ in prestashop, but i don't see any errors... no presta nor php errors... also there are no php errors in the apache log. It seems that prestashop simply forgets to add the header TPL and footer TPL or takes a wrong TPL. Link to comment Share on other sites More sharing options...
musicmaster Posted June 8, 2016 Share Posted June 8, 2016 I would need to look at it myself to find out what goes wrong as I don't recognize the problem. But for that I would need complete access to the shop. Alternatively you could consider my copy_shop tool: https://www.prestashop.com/forums/topic/194451-modulecopy-categories-to-other-shop/ It allows you to copy products, customers, orders and other business data to a clean install. Link to comment Share on other sites More sharing options...
John-shop Posted July 29, 2016 Share Posted July 29, 2016 I did the same thing, where I updated from 1.5.x to 1.6.1 using the autoupgrader plugin and now my modual page is exactly as above. Has anybody bfigureout the fix for this? Link to comment Share on other sites More sharing options...
slanit Posted July 29, 2016 Author Share Posted July 29, 2016 I've fixed it on my server... I guess some module copied some file to the admin or override folder (on mine it was in the admin folder)... Delete the following folders, and then upload them from the original prestashop zip file: cache admin override You need to delete them, not just overwrite the files. Here is the original Prestashop zip file... please use the same version as your shop has! https://www.prestashop.com/en/developers-versions#previous-version If this doesn't help, tell me, and we might find a different way... Link to comment Share on other sites More sharing options...
John-shop Posted July 29, 2016 Share Posted July 29, 2016 That did the job, thank you! 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