cancel
Showing results for 
Search instead for 
Did you mean: 

Admin -Changing Theme (Content-Design-Configuration) Help Need

SOLVED

Admin -Changing Theme (Content-Design-Configuration) Help Need

When I select the theme ex. default -Action(Edit) and then select from the dropdown -Applied Theme and hit Save Configuration page acts like it's saving but I receive a 404 Page not found? Can someone help me figure this out? I've tried with a fresh installs using 2.1.7 and 2.1.8 and both giving me the same results.

 

Within my browser bar I get: www.domain.com/admin_*******/theme/design_config/save/key/4752cd83f3be3e6d709647c6b2446bdae7f16d6c48...

 

404 Page Not Found

 

Upon initial setup Ive ran:

php bin/magento indexer:reindex

php bin/magento setup:upgrade

php bin/magento cache:flush

php bin/magento setup:di:compile

 

My cache management has been disabled. Any and all help would be appreciated!

 

Brian

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Admin -Changing Theme (Content-Design-Configuration) Help Need

Solved 

I was able to find the solution and it was mod_security. I edited my modsecurity.conf file

 

From: SecRuleEngine On

To: SecRuleEngine Off

Hope it helps if some else has the same issue!

View solution in original post

4 REPLIES 4

Re: Admin -Changing Theme (Content-Design-Configuration) Help Need

Anyone have any ideas? Cant believe that no one has had this issue. I can't change my theme or logo as every time I hit the SAVE Configuration it reloads the page displaying 404 error: Page Not Found. Been stuck on this for over a week and cant find any solutions.

Re: Admin -Changing Theme (Content-Design-Configuration) Help Need

Solved 

I was able to find the solution and it was mod_security. I edited my modsecurity.conf file

 

From: SecRuleEngine On

To: SecRuleEngine Off

Hope it helps if some else has the same issue!

Re: Admin -Changing Theme (Content-Design-Configuration) Help Need

This solved my issue - the reason it bombs out is you must have some javascript calls in your header/footer inputs for the page - this gets flagged by modsecurity

Re: Admin -Changing Theme (Content-Design-Configuration) Help Need

To change the theme in your admin panel, you'll typically need to follow these steps:

  1. Locate the Theme Settings:

    • Navigation: Look for a section or menu item labeled "Appearance," "Theme," or "Customization."
    • Settings: Within this section, you should find options related to themes or templates.
  2. Choose a New Theme:

    • Theme Library: If your admin panel offers a built-in theme library, browse through the available options and select the one you prefer.
    • Theme Uploading: If you have a custom theme, you might need to upload it to your server and then select it from the theme settings.
  3. Activate the Theme:

    • Save or Apply: Once you've chosen a new theme, click the "Save," "Apply," or "Activate" button to make the changes take effect.
  4. Preview and Adjust:

    • View Changes: After activating the theme, visit your website's frontend to see how the new theme looks.
    • Customize Settings: If necessary, adjust any theme-specific settings or options to fine-tune the appearance.

Additional Tips:

  • Backup Your Theme: Before making any changes, create a backup of your current theme to ensure you can revert to it if needed.
  • Consider Theme Compatibility: Make sure the new theme is compatible with your website's plugins and other components.
  • Seek Support: If you encounter any difficulties or have questions, refer to the theme's documentation or contact its support team.

Specific Instructions:

Since I don't have access to your admin panel's exact interface, I can't provide more detailed instructions. However, the general process outlined above should apply to most admin panels. If you can share more information about your admin panel's name or platform, I might be able to offer more specific linkedin guidance.