Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
An error has occurred during installation
The PHP configuration on your server doesn't support the database type that you chose

Ok, Fella's

How to overcome this during installing the latest version?

xampp

Widows 10 - 64 bit


Config.

Code: [Download] [Hide] [Select]
<?php

/**
* @package (c) 2008 - 2020 Gnu Arcade Script
* @version $Id: config.php Version.1.0
* @license http://www.fsf.org/ GNU lesser General Public Licence
*/

if (!defined('IN_ARCADE')) {die('Please use the front door');}

$dbhost = 'localhost'; // Database host - usually localhost
$dbuser = 'root'; // Database User Name
$dbpass = ''; // Database Password
$dbname = 'demo'; // Database Name
$dbpre = 0;

// Change the table prefix ONLY if you are using one database for everything and there's a conflict with the prefix.


$table_prefix = 'gnu_';


// DO NOT Change the table ENGINE As it's ONLY here for future changes to the Db.

$engine = 'MyISAM';

include "config_lang.php";
include "pdo_class_lib.php";

?>


pdo_class_lib.php


Code: [Download] [Hide] [Select]
<?php

/**
* @package 2008 - 2020 Gnu Arcade Script
* @version $Id: db_class_lib.php Version.1.0
* @license http://www.fsf.org/ GNU lesser General Public Licence
*/

if (!defined('IN_ARCADE')) {die('Please use the front door');}

$db_options = array(
    PDO::ATTR_EMULATE_PREPARES => false,                //    important! use actual prepared statements (default: emulate prepared statements)
    PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,        //    throw exceptions on errors (default: stay silent)
    PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC    //    fetch associative arrays (default: mixed arrays)
);

$database = new PDO('mysql:host='.$dbhost.';dbname='.$dbname.';charset=utf8', ''.$dbuser.'', ''.$dbpass.'', $db_options);    // important! specify the character encoding in the DSN string, don't use SET NAMES

?>



Typical Request.

Code: [Download] [Hide] [Select]
<?php

        /**
        * @package (c) 2008 - 2015 Gnu Arcade Script
        * @version $Id: acp_ads.php Version.1.0
        * @license http://www.fsf.org/ GNU lesser General Public Licence
        */

        include "includes/db-global.php";
        include "includes/config.php";

        if (!defined('IN_ARCADE')) {die('Please use the front door');}

        if(isset($_POST['submit'])){

        $ads_1 = gnuEsc($_POST['ads_1']);
        $ads_2 = gnuEsc($_POST['ads_2']);
        $ads_3 = gnuEsc($_POST['ads_3']);
        $ads_4 = gnuEsc($_POST['ads_4']);
        $ads_5 = gnuEsc($_POST['ads_5']);
        $header_adv = gnuEsc($_POST['header_adv']);
        $footer_adv = gnuEsc($_POST['footer_adv']);
        $games_top_adv = gnuEsc($_POST['games_top_adv']);
        $games_bot_adv = gnuEsc($_POST['games_bot_adv']);


        $stmt = $database->prepare("UPDATE " . CONFIG_TABLE . " SET ads_1=?, ads_2=?, ads_3=?, ads_4=?, ads_5=?, header_adv=?, footer_adv=?, games_top_adv=?, games_bot_adv=?");
            $stmt->execute(array($ads_1, $ads_2, $ads_3, $ads_4, $ads_5, $header_adv, $footer_adv, $games_top_adv, $games_bot_adv));

        echo ''.ADM_THL.''.$lang['general_message'].''.ADM_THC.'<div class="msg">'.$lang['ads_updated'].''.GO_BACK.'</div>'.ADM_THB.'';

        return;

        }
        $ads_1 = htmlEsc(stripslashes($ads_1));
        $ads_2 = htmlEsc(stripslashes($ads_2));
        $ads_3 = htmlEsc(stripslashes($ads_3));
        $ads_4 = htmlEsc(stripslashes($ads_4));
        $ads_5 = htmlEsc(stripslashes($ads_5));
        $header_adv = htmlEsc(stripslashes($header_adv));
        $footer_adv = htmlEsc(stripslashes($footer_adv));
        $games_top_adv = htmlEsc(stripslashes($games_top_adv));
        $games_bot_adv = htmlEsc(stripslashes($games_bot_adv));

        global $db, $ads_01, $ads_02, $ads_03, $ads_04, $ads_05, $ads_06, $ads_07, $ads_08, $ads_09, $ads_10, $header_adv0, $header_adv1, $footer_adv0, $footer_adv1, $games_top_adv0, $games_top_adv1, $games_bot_adv0, $games_bot_adv1;

        if($ads_1 == "0") {$ads_02 = 'selected="selected"';};
        if($ads_1 == "1") {$ads_01 = 'selected="selected"';};    

        if($ads_2 == "0") {$ads_04 = 'selected="selected"';};
        if($ads_2 == "1") {$ads_03 = 'selected="selected"';};            

        if($ads_3 == "0") {$ads_06 = 'selected="selected"';};
        if($ads_3 == "1") {$ads_05 = 'selected="selected"';};

        if($ads_4 == "0") {$ads_08 = 'selected="selected"';};
        if($ads_4 == "1") {$ads_07 = 'selected="selected"';};

        if($ads_5 == "0") {$ads_10 = 'selected="selected"';};
        if($ads_5 == "1") {$ads_9 = 'selected="selected"';};

        if($header_adv == "0") {$header_adv0 = 'selected="selected"';};
        if($header_adv == "1") {$header_adv1 = 'selected="selected"';};

        if($footer_adv == "0") {$footer_adv0 = 'selected="selected"';};
        if($footer_adv == "1") {$footer_adv1 = 'selected="selected"';};

        if($games_top_adv == "0") {$games_top_adv0 = 'selected="selected"';};
        if($games_top_adv == "1") {$games_top_adv1 = 'selected="selected"';};

        if($games_bot_adv == "0") {$games_bot_adv0 = 'selected="selected"';};
        if($games_bot_adv == "1") {$games_bot_adv1 = 'selected="selected"';};

        echo ''.ADM_THL.''.$lang['manage_ads'].''.ADM_THC.'

        <form action="'.S_MANAGE_ADS.'" method="post" onsubmit="doCheck();"> <!--THIS IS IMPORTANT-->
        <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
        <td class="sub-header left boldp">'.$lang['ads_a'].'&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
            <input type="hidden" name="ads_1" size="1" value="'.$ads_1.'" />
                <select name="ads_1">
                <option value="1" '.$ads_01.'>'.$lang['yes'].'</option>
                <option value="0" '.$ads_02.'>'.$lang['no'].'</option>
        </select> &nbsp;&nbsp;'.$lang['latest_games'].'        
        </td>
        </tr>
        <tr>
        <td class="sub-header left boldp">'.$lang['ads_b'].'&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
            <input type="hidden" name="ads_2" size="1" value="'.$ads_2.'" />
            <select name="ads_2">
                <option value="1" '.$ads_03.'>'.$lang['yes'].'</option>
                <option value="0" '.$ads_04.'>'.$lang['no'].'</option>    
        </select> &nbsp;&nbsp;'.$lang['mostplayed'].'
        </td>
        </tr>
        <tr>
        <td class="sub-header left boldp">'.$lang['ads_c'].'&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
        <input type="hidden" name="ads_3" size="1" value="'.$ads_3.'" />
            <select name="ads_3">
                <option value="1" '.$ads_05.'>'.$lang['yes'].'</option>
                <option value="0" '.$ads_06.'>'.$lang['no'].'</option>    
        </select> &nbsp;&nbsp;'.$lang['side_block_1'].'
        </td>
        </tr>
        <tr>
        <td class="sub-header left boldp">'.$lang['ads_d'].'&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
            <input type="hidden" name="ads_4" size="1" value="'.$ads_4.'" />
        <select name="ads_4">
                <option value="1" '.$ads_07.'>'.$lang['yes'].'</option>
                <option value="0" '.$ads_08.'>'.$lang['no'].'</option>    
        </select> &nbsp;&nbsp;'.$lang['side_block_2'].'
        </td>
        </tr>
        <tr>
        <td class="sub-header left boldp">'.$lang['ads_e'].'&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
        <input type="hidden" name="ads_5" size="1" value="'.$ads_5.'" />
            <select name="ads_5">
                <option value="1" '.$ads_09.'>'.$lang['yes'].'</option>
                <option value="0" '.$ads_10.'>'.$lang['no'].'</option>
            </select> &nbsp;&nbsp;'.$lang['side_block_3'].'
        </td>
        </tr>
        <tr>
        <td class="sub-header left boldp">'.$lang['head_space'].'&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
        <input type="hidden" name="header_adv" size="1" value="'.$header_adv.'" />
            <select name="header_adv">
                <option value="1" '.$header_adv1.'>'.$lang['yes'].'</option>
                <option value="0" '.$header_adv0.'>'.$lang['no'].'</option>    
        </select>
        </td>
        </tr>
        <tr>
        <td class="sub-header left boldp">'.$lang['foot_space'].'&nbsp;&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
            <input type="hidden" name="footer_adv" size="1" value="'.$footer_adv.'" />
            <select name="footer_adv">
                <option value="1" '.$footer_adv1.'>'.$lang['yes'].'</option>
                <option value="0" '.$footer_adv0.'>'.$lang['no'].'</option>    
            </select>
        </td>
        </tr>
        <tr>
        <td class="sub-header left boldp">'.$lang['above_games'].'&nbsp;&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
            <input type="hidden" name="games_top_adv" size="1" value="'.$games_top_adv.'" />
            <select name="games_top_adv">
                    <option value="1" '.$games_top_adv1.'>'.$lang['yes'].'</option>
                    <option value="0" '.$games_top_adv0.'>'.$lang['no'].'</option>    
            </select>
        </td>
        </tr>
        <tr>
        <td class="sub-header left boldp">'.$lang['below_games'].'&nbsp;&nbsp;&nbsp; &raquo; &nbsp;&nbsp;'.$lang['activated'].'&nbsp;&nbsp;
            <input type="hidden" name="games_bot_adv" size="1" value="'.$games_bot_adv.'" />
                <select name="games_bot_adv">
                    <option value="1" '.$games_bot_adv1.'>'.$lang['yes'].'</option>
                    <option value="0" '.$games_bot_adv0.'>'.$lang['no'].'</option>    
            </select>
        </td>
        </tr>
        <tr>
        <td class="sub-header center"><br /><input class="button" type="submit" name="submit" value="'.$lang['submit'].'" /></td>
        </tr>
        </table>
        </form>

        '.ADM_THB.'

        <br />';

?>

 



 
mortSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
Hi mort, when are you getting that? Installing Icy Phoenix or some Arcade script?
 




____________
IcyPhoenix ADR RPGEzArena (modded phpBB2+ADR)
 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
I'm getting the errors when I try to install Icy Phoenix 2.2.0.105 ?
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
Hi ya Mort.

I know this is old and I apologize for being late to the party. Major PC failure and I tossed it aside for a year and got up off my dif and lived life for a while. Now PC is working again.

I had this issue as well. By now I am sure you got it sorted out but if not, have a look here. http://www.icyphoenix.com/viewtopic.php?f=10&t=9695
 




____________
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
 
MWE_001Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
Nope!

Tried that and still get this - - -

An error has occurred during installation
The PHP configuration on your server doesn't support the database type that you chose  
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
Did you correctly pick "mysqli" in the installation page?
 




____________
IcyPhoenix ADR RPGEzArena (modded phpBB2+ADR)
 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
It doesn't give that option?

mysql4 or 3?

 
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
If your PHP version is 7.0 or higher, you need GIT Icy Phoenix.
 




____________
IcyPhoenix ADR RPGEzArena (modded phpBB2+ADR)
 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
PHP version is: PHP Version 7.4.6

IP version is: ip_20160604_220105

And that's all I can find on GitHub?

 
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
I'm not sure if the version string has been updated (since there hasn't been a release), I'd need MG to check on that.
 




____________
IcyPhoenix ADR RPGEzArena (modded phpBB2+ADR)
 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: An Error Has Occurred During Installation The PHP Configuration On Your Server Doesn't Support The Database Type That Yo 
 
Thank's anyway my my good friend, but I don't really need it - I was just going to convert the templates to html5, css3
and Bootstrap.

 

I also had a lot of problems with a portable HDD ans had to reinstall XAMPP many times before it wiped the HDD completely out and I lost more files.

So I bought a 2TB and 4TB SSD, and I don't expect to have as many problems.

 
 



 
mortSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron