This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

sava
sava

Hi. Can anybody to explain how we should use "Safe Mode" parameter? I don't see any clear description of it in documentation. For example, on the production server ("debug" parameter is false, "Safe Mode" is null, so it is enabled) I can't save pages which have got PHP section. Because "Safe mode is enabled". Does it mean that using PHP sections in the pages is a bad practice?

Last updated

bayram4ik
bayram4ik

Actually its OK, unless you create components for every functionality. As far as I understand you should set this option to null (default) once you finish development and switch app.debug to false. This keeps you from changing code in production.

chocolata
chocolata

Hi, I've recently seen that if safe mode is enabled, and you try to edit the meta title or meta keywords via the Static Pages plugin, you get the message: "Safe mode is enabled". I think this might be a small bug.

m.saramitsky32412
m.saramitsky32412

Hello! Have a problem with safe mode. If i'm trying to change only one page from admin panel, it gives a notification, that Safe mode is enabled, and i can't save it. For other pages it's ok.

Tomas
Tomas

m.saramitsky32412 said:

Hello! Have a problem with safe mode. If i'm trying to change only one page from admin panel, it gives a notification, that Safe mode is enabled, and i can't save it. For other pages it's ok.

The same problem here. Any solution?

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.