An Error Has Occurred During Installation


Subject: An Error Has Occurred During Installation
I am trying to install icyphoenix but my hosting has mariadb and not MySQL. is there any solution for my case. sorry for my bad english

My Config

xampp

Windows 64 bit


includes/pdo_class_lib.php
Code: [Download] [Hide] [Select]
<?php

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

?>


includes/config.php (Not Used)
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 = 'arcade'; // 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";

?>

Last edited by mort on Sun 31 May, 2020 05:38; edited 1 time in total
Profile PM  
Subject: Re: An Error Has Occurred During Installation
Hi,

Can you give us the error you get?
What's your MariaDB version?

Profile PM  
Subject: Re: An Error Has Occurred During Installation
https://imgur.com/gUCnPBL version mariadb is 10.2

Profile PM  
Subject: Re: An Error Has Occurred During Installation
Hi,

Did you pick mysqli while installing?
What Icy Phoenix version are you on?

I think you're on recent PHP (PHP 7), which doesn't support old mysql anymore.
Recent Icy Phoenix versions support the new one, called mysqli.

Profile PM  
Subject: Re: An Error Has Occurred During Installation
I think we need to release a new version... what do you think Informpro?

Currently only GIT version is supporting latest requirements.

Subject: Re: An Error Has Occurred During Installation
Informpro wrote: [View Post]
Hi,

Did you pick mysqli while installing?
What Icy Phoenix version are you on?

I think you're on recent PHP (PHP 7), which doesn't support old mysql anymore.
Recent Icy Phoenix versions support the new one, called mysqli.

it is a clean installation

Mighty Gorgon wrote: [View Post]
I think we need to release a new version... what do you think Informpro?

Currently only GIT version is supporting latest requirements.
that would be fantastic
Mighty Gorgon wrote: [View Post]
I think we need to release a new version... what do you think Informpro?

Currently only GIT version is supporting latest requirements.
that would be fantastic

Profile PM  
Subject: Re: An Error Has Occurred During Installation
Yes, I think it's time for a PHP7-ready version :)

Profile PM  
Subject: Re: An Error Has Occurred During Installation
This would be a great notice. I'm willing to migrate my server and the new settings are PHP 7.* so lots of warnings and errors.

Also, I'm trying to implement a syntax highlighter in the new versions of IP, as I have now Geshi in my old version forum 2.0.0.86). We need syntax highlight in several languages, as a programming forum, but Geshi seems to be abandoned. Looking for a more current highlighter.

What do you thing about implementing highlight.js? Would it be better to include actual code inside IP or as a plugin instead?

Best regards,

Jesus

P.D. Forum is at h**ps://gambas-es.org (since 2009, in Spanish, BTW)

Subject: Re: An Error Has Occurred During Installation
Quote:
What do you thing about implementing highlight.js? Would it be better to include actual code inside IP or as a plugin instead?

Probably would be useful, I don't remember how the current highlighting works, but it's probably not up-to-date at all.

Profile PM  

Page 1 of 1


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.973s (PHP: 2% SQL: 98%)
SQL queries: 33 - Debug Off - GZIP Enabled