Problems With Editing The Page SPPAGEBuilder - Question | JoomShaper

Problems With Editing The Page SPPAGEBuilder

W

WE-ESVA

General 2 years ago

hi!

This is the first time I have encountered this, help me figure it out.

I use a template NEWSBERG

We put the site on the Internet. I had to edit the sppagebuilder page. And nothing could be edited. The site was hanging.

It turned out that in the file configuration.php it was written public $live_site = 'https://www.ewm-russia.com/';

Fixed : public $live_site = 'https://ewm-russia.com/'; Editing and saving changes is possible. However, with this form of recording, the appearance of the site broke down.

https://imgur.com/q2bnXVa

And the debugger console throws errors https://imgur.com/2xgtKIh

If you return the previous record public $live_site = 'https://www.ewm-russia.com/'; then the site is displayed correctly

https://imgur.com/lG3MXP5

Help if you can!

site: https://ewm-russia.com/

0
25 Answers
Pavel
Pavel
Accepted Answer
2 years ago #24931

Совет, перенесите весь CSS из css поля шаблона в файл custom.css. Поле шаблона не используйте. Это добавляет код в head что плохо для скорости страницы. И не используйте комментарии на кириллице, сервер это видит длинными краказябрами, что тоже влияет на скорость. А лучше их вообще убрать, и как минимум удалить все пустые строки. А как максимум минирфицировать

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #23809

Hi there!

Sorry for the inconvenience!

Which configuration file you are pointing actually, please?

Best Regards

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #23814

Can I have a screenshot/screencast of your hang issue, please?

Is this happening with backend editor or with the frontend editor?

0
W
WE-ESVA
Accepted Answer
2 years ago #23828

Hi, Rashida! I'm glad to see you!

  1. The hang occurs when working with sppagebuilder. No changes can be saved when the "Save" button is clicked. https://imgur.com/a/3VDN8rx

  2. When I talk about the configuration file, I mean the Jumla configuration file configuration.php

  3. I used newsberg_quickstart_j3_v1.1 for the first time and made my website based on it

Good health to you and the whole team!

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #24175

Hi,

Have you already checked the following faq please?

https://www.joomshaper.com/documentation/sp-page-builder/sp-page-builder-3#if-you-cannot-save-page-settings

You may try to disable mod_security to see if it causes the issue or not.

Thanks

0
W
WE-ESVA
Accepted Answer
2 years ago #24177

oh, I'm afraid that will be a problem. I will write to the provider, these are the hosting settings :((

I'll let you know the result, do you mind?

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #24274

No problem:)

Yes, these are hosting settings. I will wait for your answer.

0
W
WE-ESVA
Accepted Answer
2 years ago #24883

Hello, Rashida! The provider gives the following settings:

configuration.php

the variable public $live_site =''"; is replaced by public $live_site = 'https://www.yourdomain.com'; public $force_ssl = '0'; is replaced by public $force_ssl = '2';

.htaccess ..... ..... RewriteEngine on SetEnvIf X-Forwarded-Proto https SERVER_PORT=443 SetEnvIf X-Forwarded-Proto https HTTPS=on RewriteCond %{HTTP:HTTPS} !=on [NC] RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

..... .....

with such settings, the problem is not solved.

If specify a variable without WWW — public $live_site = 'https://yourdomain.com'; then the error "mixed content" occurs. https://imgur.com/2xgtKIh

Maybe it is possible to specify the paths to resources in the template itself?

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #24884

Hi,

Did they disable mod_security to see if it causes the issue or not, please?

Thanks

0
Pavel
Pavel
Accepted Answer
2 years ago #24885

Удалите значение в live_site что бы было пусто, вот так public $live_site = ''; и сайт резолвился автоматически исходя из настроек сервера. Никогда не заполняйте это значение если точно не знаете, как настроен сервер. Эта переменная может конфликтовать с его настройками. Для указания основного зеркала сайта лучше использовать htaccess и robots.txt. Или средства панели управления. Например, это все настраивается в панели ISP manager (если у вас такая). Уточните для какого домена получен сертификат. с www это считается другим доменом. Обычно сертификат получают для обоих, для с и без www. Это не проблема Билдера скрорее всего. А проблема того, что у вас не правильно настроен сайт и сертификат

0
W
WE-ESVA
Accepted Answer
2 years ago #24895

Hello, Rashida!

The provider turned off the mod_security.

I edited configuration.php: public $live_site = 'https://ewm-russia.com'; Page changes are possible. But the site breaks down.

I thought, when the mode is disabled, did I need to change .htaccess and configuration.php? Remove redirection to https?

Or do you want to see for yourself what happens when disabled mod_security? I was confused... Should I ask the provider to disable the mod_security again?

Павел, спасибо Вам. Настройки сделаны по документации sweb https://help.sweb.ru/entry/198/, провайдер тоже не видит в них ошибок. Вариант public $live_site = ''; не сработал :((

0
Pavel
Pavel
Accepted Answer
2 years ago #24930

Павел, спасибо Вам. Настройки сделаны по документации sweb https://help.sweb.ru/entry/198/,

Добрый день. Это не являетсся истиной в последней инстанции. Как правило, у правайдера нет специалистов по конкретной CMS. И поэтому они предлагают решения путем правки файла конфигурации - программистам так проще, чем разбираться с интерфейсом. Но на самом деле, файлом конфигурации управляет вкладка "Общие настройки" в админке Joomla. Там только нет управления $live_site .

Оставьте эту переменную пустой и никогда не заполняйте. Изменение главного зеркала сайта не вступает в силу мгновенно. Для этого требуется время, что бы переписались DNS. Поэтому выйдите из режима паники. Очистите кэш и подождите день.

Ошибки в консоли сообщали о смешанном контенте - часть ресурсов загружается по http (не защищенному соединению). Это всё следствие того, что подключение сертификата не вступило полноценно в силу и вы стали переключать всё туда обратно

0
W
WE-ESVA
Accepted Answer
2 years ago #24979

Павел, спасибо за советы! займусь!

P.S. за "режим паники" — отдельный респект. Как-то не думалось, что так заметно! И да, я в панике. Первый раз такие пляски с бубном

0
W
WE-ESVA
Accepted Answer
2 years ago #25066

Павел, благодаря Вам режим паники значительно снизился. Скажите, мне не надо отключать режим mod_sequrity?

Я очищу переменную public $live_site = ''; и просто подожду 2-3 дня?

0
Pavel
Pavel
Accepted Answer
2 years ago #25072

Скажите, мне не надо отключать режим mod_sequrity?

Здравствуйте. В некоторых случаях это мешает работе Билдера (как сказано в документации). Надо тестировать.

Я очищу переменную public $live_site = ''; и просто подожду 2-3 дня?

Думаю дня хватит

0
W
WE-ESVA
Accepted Answer
2 years ago #25073

Павел, спасибо! Буду тестировать

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #25182

Hi,

Yes, please disable the mod_security as there can be some sensitive rules set that can trouble the saving operation.

Best Regards

0
W
WE-ESVA
Accepted Answer
2 years ago #25262

Hi, Rashida!

The problem started with connecting an SSL certificate. Everything worked fine without the certificate. The provider temporarily disabled the mod_security mode — the result is the same, the error is " mixed content

0
Pavel
Pavel
Accepted Answer
2 years ago #25284
0
W
WE-ESVA
Accepted Answer
2 years ago #25394

Thanks! I'll test it

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #25402

Hi,

You can have a look into the mixed content issue related blog from us too:

https://www.joomshaper.com/blog/how-to-do-ssl-check-in-joomla-3-7

Regards

0
W
WE-ESVA
Accepted Answer
2 years ago #26065

Hello, Rashida! Hello, Pavel!

The problem of saving a page in SpPageBuilder requires disabling the mod_security mode.

The provider is categorically against such a shutdown, because there is a problem of site security.

I have decided for myself so far: if it is necessary to make changes to SP, I will disable the mode temporarily. This is inconvenient, but there are no other options yet

thank you very much for your help!!!

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #26199

Glad that you have find out the reason.

You can take the domains as an exception for the mod_security you are working now in settings, it will not affect other domains then...

You are always welcome:)

Best Regards

0
W
WE-ESVA
Accepted Answer
2 years ago #26201

Thanks, Rashida! Be healthy! And the pandemic will bypass you!!!

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #26222

Thanks for your wishes:)

Same to you too...

0