problems with editing the page SPPAGEBuilder - Forum | JoomShaper
Solved General

problems with editing the page SPPAGEBuilder

Asked by WE-ESVA 5 years ago Last activity 5 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/

Accepted answer

Marked as the solution
Pavel
5 years ago · edited

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

24 more replies

Rashida Rahman Staff

Hi there!

Sorry for the inconvenience!

Which configuration file you are pointing actually, please?

Best Regards

Rashida Rahman Staff

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

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

WE-ESVA Asked this

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!

WE-ESVA Asked this
5 years ago · edited

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?

Rashida Rahman Staff

No problem:)

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

WE-ESVA Asked this

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?

Rashida Rahman Staff

Hi,

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

Thanks

Pavel
5 years ago · edited

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

WE-ESVA Asked this
5 years ago · edited

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 = ''; не сработал :((

Log in to reply.