MuADMINS
Soluções
Correções curtas para problemas comuns de servidor, cliente e site de MU Online, cada uma com a fonte e a data. “Confirmado” significa que quem perguntou disse que a correção funcionou.
1 solução para “pdo” em Ferramentas · Limpar
WebEngine CMS installer: "Could not connect to database (1)" at the database step with MSSQL Server 2008 (PDO ODBC, XAMPP)
1. In this case the game files connected fine but the WebEngine installer kept failing on the database step, with no error in the SQL logs or the Windows event log. 2. The cause was a con...
✓ Confirmado pelo autor do tópicoRaGEZONE · 2023-10-06
Mais respostas para “pdo”
1 em Ferramentas, 13 em outras categorias e arquivos de servidor:
How do I enable the SQL Server PDO driver in php.ini and check it is really loaded?
1. Copy the matching php_sqlsrv and php_pdo_sqlsrv DLLs into the PHP ext folder (run php -i to see extension_dir). 2. Add extension= lines for both files in php.ini. 3. On Linux, load pdo...
Which php_pdo_sqlsrv DLL do I need for WebEngine on Windows PHP 8.x, and why does it not load?
1. The driver file must match PHP version, thread safety and bitness: e.g. php_pdo_sqlsrv_82_ts_x64 for PHP 8.2 thread safe 64 bit. 2. XAMPP Apache uses thread safe (ts) PHP; IIS FastCGI...
After switching PHP from 5.6 to 7.x in cPanel my WebEngine lost the connection to the MuOnline database.
1. Each PHP version in cPanel has its own extension list. 2. Check the new version is supported by your WebEngine release. 3. In cPanel PHP selector, enable the same connection extension...
✓ Confirmado pelo autor do tópicoTuServerMU · 2021-07-31After the VPS (SQL) IP changed, a WebEngine CMS 1.2.4 site hosted on a separate Linux server shows 'Connection to database failed (MuOnline)' and the installer says the install is already complete.
1. Open includes/config/webengine.json and set "webengine_cms_installed": false, then upload it. 2. In the web host cPanel open PHP Selector and (re)enable pdo_dblib and pdo_sqlsrv. 3. Ru...
✓ Confirmado pelo autor do tópicoRaGEZONE · 2024-02-16WebEngine CMS install keeps saying 'Could not connect to database (1)' with SQL Server 2008 and XAMPP (PDO ODBC), even though SSMS connects fine.
1. The thread found a conflict between SQL Server 2008 and WebEngine's connection. 2. Install a newer SQL Server (2012 worked for the topic starter; another user had 2019 working). 3. Res...
✓ Confirmado pelo autor do tópicoRaGEZONE · 2023-10-06Installing WebEngine CMS 1.2.5 with the ODBC driver fails with '[ODBC SQL Server Driver] The data types varchar(max) and text are incompatible in the equal to operator'.
1. Do not use the old ODBC SQL Server driver for the install. 2. Install the Microsoft PHP SQLSRV / PDO_SQLSRV drivers that match your PHP version and enable them in php.ini. 3. Restart A...
✓ Confirmado na issueGitHub (lautaroangelico/WebEngine) · 2025-02-20MuCore 2.2.0: the add and edit buttons for modules do not show in the admin panel
1. MuCore 2.2.0 does not work properly on PHP 7.x. 2. Run it on PHP 5.6: the topic starter installed XAMPP with PHP 5.6.40 plus the PDO fix for SQL Server. 3. On a web host, switch the PH...
✓ Confirmado pelo autor do tópicoRaGEZONE · 2019-03-05How do I show the guild logo (G_Mark) of a guild, for example the Castle Siege owner, on a PHP website with MSSQL?
1. G_Mark in the Guild table is binary: turn it into text with bin2hex(). You get 64 hex digits, one per cell of an 8x8 grid. 2. Map each digit to a color: 0 transparent, 1 #000000, 2 #8c...
✓ Confirmado pelo autor do tópicoRaGEZONE · 2020-07-01