Jump to content

This theme file could not be saved help

Featured Replies

Posted

I cant edit the Globaltemplate, it comes

This theme file could not be saved

 

why? How can i fixx that?

I had this the other day I think it was some if/elseif/endif that I had broken accidentally.

  • Author
6 minutes ago, beeurd said:

I had this the other day I think it was some if/elseif/endif that I had broken accidentally.

how can i fixx that?

  • Author

push .

What are you trying to do? Can you save any templates or is it just a specific change that doesn’t work?

 

  • Author
2 minutes ago, opentype said:

What are you trying to do? Can you save any templates or is it just a specific change that doesn’t work?

 

just the globaltemplate dont work - the others are fine

Okay: now the other question. What are you trying to do in the global template? If you introduce syntax errors, it won’t let you save. That’s expected. 

  • Author
1 minute ago, opentype said:

Okay: now the other question. What are you trying to do in the global template? If you introduce syntax errors, it won’t let you save. That’s expected. 

No, i tryed with a normal ,, a " too or backspace  dont work too :D

Then you might have errors in there already. You could try the Revert button first and see if that helps. 

Easiest way to find the error is probably to use the "Show default" option in the top right that lets you view the original template, that way you can compare differences between the default template and your edited version that won't save.

_20180325_134930.thumb.JPG.193eb5cbae154d7e55393ad8767e6526.JPG

  • Author
18 minutes ago, beeurd said:

Easiest way to find the error is probably to use the "Show default" option in the top right that lets you view the original template, that way you can compare differences between the default template and your edited version that won't save.

_20180325_134930.thumb.JPG.193eb5cbae154d7e55393ad8767e6526.JPG

yeah i looked but i have a other theme as default , in standart theme it doesnt work too

1 hour ago, milan122 said:

yeah i looked but i have a other theme as default , in standart theme it doesnt work too

If you select Show default and then Save - this work?

Then choose Revert

Have found that logging out of AdminCP and then log back in sometimes works

  • Author
11 minutes ago, Adlago said:

If you select Show default and then Save - this work?

Then choose Revert

no this dont work ...

I would try downloading a file version from a client area and uploads it.
Then Support - Something isn't working correctly. And test again.

Or create support ticket .

  • Author
39 minutes ago, Adlago said:

I would try downloading a file version from a client area and uploads it.
Then Support - Something isn't working correctly. And test again.

Or create support ticket .

yeah tryed with replacing with files again dont work too .

Let someone check it out on your site directly, e.g. through a support ticket. 

Sounds like Modsecurity is keeping you from saving the template.

  • Author
48 minutes ago, bridges101 said:

Sounds like Modsecurity is keeping you from saving the template.

okey how can i fix that?

6 minutes ago, milan122 said:

okey how can i fix that?

Open a support ticket with your host and tell them mod sec is stopping you from saving a template. They will need your ip address so they can whitelist it.

  • Author
1 minute ago, bridges101 said:

Open a support ticket with your host and tell them mod sec is stopping you from saving a template. They will need your ip address so they can whitelist it.

have my own server

43 minutes ago, milan122 said:

have my own server

If you use the Apache server and you have other sites besides IPS, then use the htaccess file and add it.

<IfModule mod_security.c>
  SecFilterEngine Off
  SecFilterScanPOST Off
</IfModule>

PP. To disable mod_security, there is a lot of info. Look for what matches your server.

  • Author
3 hours ago, Adlago said:

If you use the Apache server and you have other sites besides IPS, then use the htaccess file and add it.


<IfModule mod_security.c>
  SecFilterEngine Off
  SecFilterScanPOST Off
</IfModule>

PP. To disable mod_security, there is a lot of info. Look for what matches your server.

well mod_security is not installed !

10 minutes ago, milan122 said:

well mod_security is not installed !

Try another - create a new theme. Check whether you can edit a template in a new theme.

 

  • Author
3 minutes ago, Adlago said:

Try another - create a new theme. Check whether you can edit a template in a new theme.

 

i can edit everything , but not globaltemplate

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.