website icon indicating copy to clipboard operation
website copied to clipboard

Implement Custom Error Pages

Open nijel opened this issue 8 years ago • 5 comments

that will be used instead of nginx default error pages: https://www.phpmyadmin.net/static/A

Note: The custom error page is already there, it just needs to be used for static files as well.

nijel avatar Sep 16 '16 13:09 nijel

It's already handling, just throwing an error for some reason:

https://github.com/phpmyadmin/website/blob/35a9f3f8c2f0eaf8b868dca505af2040f5b342d9/pmaweb/urls.py#L41

https://github.com/phpmyadmin/website/blob/35a9f3f8c2f0eaf8b868dca505af2040f5b342d9/pmaweb/views.py#L86-L92

Trying to fix on my PR, but since I never had worked with Python for web before, I may not fix it.

Yep, I read all the issues.

AdrianoCahete avatar Nov 03 '20 23:11 AdrianoCahete

@nijel @williamdes Can I work on this, if its still required?

vimalMK avatar Nov 02 '22 02:11 vimalMK

@nijel @williamdes Can I work on this, if its still required?

Sure, do you know enough python to finish #136?

williamdes avatar Nov 02 '22 09:11 williamdes

@williamdes Thank you and yes I can try #136 .

vimalMK avatar Nov 02 '22 18:11 vimalMK

@williamdes can you please confirm/share what the production settings.py looks like?

the path will be: phpmyadmin-website\pmaweb\settings.py

Important changes in the settings.py which is also in PR

DEBUG = FALSE COMPRESS_ENABLED = os.environ.get('COMPRESS_ENABLED', False)

vimalMK avatar Nov 03 '22 06:11 vimalMK