Migration Guide - PHP 5.5 to 8.4

error_reporting(E_ALL)

Mysqli

includes/db/mysql4.class.php (use RVS or Reifen Ritter as example)

Encoding, Special Characters, Umlaute

Save all relevant files in utf-8 (language files, ...)

Search for this character to find errors:

In VSCode:

Unused files

Remove all unused files (after checking if they are needed or called, both in files and db-templates)

Also check crontab -l to see if a file gets used there

Composer

Git

Using Reifen Ritter as example

If the .gitignore was changed later and the project needs to be updated accordingly:

Deprecated and removed things

PHPMailer

Order files

After a successful order in the shop, the order gets put into the following file: system/daten/export/bestellungen.txt (or test___bestellungen.txt if youe are using the test user)

There needs to be a specific encoding and spacing for them to work. Reifen Ritter Software uses the ANSI/Windows-1252 encoding.

Changes in scart.php:

$b_text2 = iconv("UTF-8", "ISO-8859-15", $b_text);
if ($b_text2 == "") {
    $b_text2 = utf8_decode($b_text);
}


$fd = fopen($pfad, "a+");
fwrite($fd, $b_text2 . "\n");
fclose($fd);

GoLive

clone the repository into a new folder on the server