Jump to content

Modules Admin page broken


slanit

Recommended Posts

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?

post-591837-0-09639300-1465370046_thumb.jpg

post-591837-0-00953600-1465370052_thumb.jpg

Link to comment
Share on other sites

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

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

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

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

  • 1 month later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...