Daily Lucky Numbers:
2
3
23
26
30
43

Arcade install

Started by Vincent Titus, April 29, 2024, 04:16:22 PM

Previous topic - Next topic

Vincent Titus

ok i was able to get by the database.php file by changing it to

if (strpos($db_name, '.') === false) {
    $result = $smcFunc['db_query']('', "SHOW TABLE STATUS FROM `{raw:db_name}`", array('db_name' => $db_name));
} else {
    $result = $smcFunc['db_query']('', 'SHOW TABLE STATUS FROM `' . $db_name . '`', array());
}


by adding the backtick ` here `{raw:db_name}`" and here  `' . $db_name . '`',


i assume ill have to do that to all including the other files like Sub_install.php because now the error is on Sub_install.php file lol

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-353035393de2
LIKE 'smf_arcade_games'' at line 2
File: /home/sites/36b/7/7588baaf12/public_html/Packages/temp/arcadeinstall/Subs-Install.php
Line: 57