CyberHosting

Cannot modify rewrite rules/.htaccess

In CyberPanel 1.9.0, if I try to change and save the rewrite rules for any site, I get the following error:

Could not save rewrite rules. Error message: Traceback (most recent call last): File "/usr/local/CyberCP/plogical/virtualHostUtilities.py", line 25, in from vhost import vhost File "/usr/local/CyberCP/plogical/vhost.py", line 23, in from managePHP.phpManager import PHPManager File "/usr/local/CyberCP/managePHP/phpManager.py", line 6, in from .models import * File "/usr/local/CyberCP/managePHP/models.py", line 9, in class PHP(models.Model): File "/usr/local/CyberCP/managePHP/models.py", line 10, in PHP phpVers = models.CharField(max_length=5,unique=True) File "/usr/lib64/python2.7/site-packages/django/db/models/fields/__init__.py", line 1057, in __init__ super(CharField, self).__init__(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/django/db/models/fields/__init__.py", line 172, in __init__ self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE File "/usr/lib64/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/usr/lib64/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/usr/lib64/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named settings

Comments

Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!