WebSite X5Help Center

 
Henrik H.
Henrik H.
User

Fatal error one.com gives no support  en

Автор: Henrik H.
Просмотрено 2136, Подписчики 1, Размещенный 0  

I get this error on my homepage:

Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in /customers/5/d/0/armis.dk/httpd.www/PHPMailerAutoload.php on line 45

The error started today, so i contacted one.com, but they will not do anything, and they tell my to contact Incomedia!!!

The site is www.armis.dk

Размещено
6 Ответы - 1 Корректно
Henrik H.
Henrik H.
User
Автор

Deleted the file, and now I can open the site again, but as soon as I chose a page with products, I get this error:

Warning: Undefined array key "auto_increment" in /customers/5/d/0/armis.dk/httpd.www/res/x5engine.php on line 5996 Warning: Undefined array key "auto_increment" in /customers/5/d/0/armis.dk/httpd.www/res/x5engine.php on line 5996 Warning: Undefined array key "auto_increment" in /customers/5/d/0/armis.dk/httpd.www/res/x5engine.php on line 5996 Warning: Undefined array key "auto_increment" in /customers/5/d/0/armis.dk/httpd.www/res/x5engine.php on line 5996 Warning: Undefined array key "auto_increment" in /customers/5/d/0/armis.dk/httpd.www/res/x5engine.php on line 5996 Warning: Undefined array key "auto_increment" in /customers/5/d/0/armis.dk/httpd.www/res/x5engine.php on line 5996 Warning: Undefined array key "auto_increment" in /customers/5/d/0/armis.dk/httpd.www/res/x5engine.php on line 5996

Читать больше
Размещено От Henrik H.
Henrik H.
Henrik H.
User
Автор

I just tried to click Update in the product window, and I now get this error:

I am on version 2021.3.3 and all my problems started yesterday....

I have checked database settings, and they are not changed.

Читать больше
Размещено От Henrik H.
Henrik H.
Henrik H.
User
Автор

PLEASE HELP !!

Читать больше
Размещено От Henrik H.
Franz-Josef H.
Franz-Josef H.
Moderator

It seems to be a php Problem. Which php version is running on your web space? The new WebsiteX5 versions need at least php7.1, but php7.4 is better. A version 8.x can possibly cause problems, then go back to php7.4.

Читать больше
Размещено От Franz-Josef H.
Henrik H.
Henrik H.
User
Автор

One.com upgraded to 8.0 two weeks ago, so now I have downgraded to 7.4, but can still not connect.

Читать больше
Размещено От Henrik H.
Franz-Josef H.
Franz-Josef H.
Moderator

Another problem: You did not enter your website with https on the 'Export the website to the Internet' page.

First you should change the http to https for '5 Export', option 'Export the website to the Internet' in the field 'URL of the website' so that it is https://armis.dk Then hold down the Ctrl key and click on the preview button so that the project is completely rebuilt. Then upload everything and not just the changes.

Afterwards you should set force https on the web host. If this is not possible, you can create a .htaccess file by using the Windows editor to create a file with the following content

RewriteEngine On

RewriteCond% {HTTPS}! = On

RewriteRule ^ https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]

You save this as htaccess.txt. Then rename it to .htaccess (yes, the point must be in front) and load it into your server directory. This means that every call to your site is automatically directed to the https site.

Читать больше
Размещено От Franz-Josef H.