An Error Has Occurred During Installation »  Show posts from    to     

Icy Phoenix


General Support - An Error Has Occurred During Installation



ktemanuel [ Tue 17 Mar, 2020 23:02 ]
Post 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: [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: [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";

?>


Informpro [ Thu 19 Mar, 2020 00:55 ]
Post subject: Re: An Error Has Occurred During Installation
Hi,

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


ktemanuel [ Thu 19 Mar, 2020 03:13 ]
Post subject: Re: An Error Has Occurred During Installation
https://imgur.com/gUCnPBL version mariadb is 10.2


Informpro [ Thu 19 Mar, 2020 17:35 ]
Post 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.


Mighty Gorgon [ Sat 21 Mar, 2020 17:37 ]
Post 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.


ktemanuel [ Sun 22 Mar, 2020 06:36 ]
Post 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


Informpro [ Sun 22 Mar, 2020 14:24 ]
Post subject: Re: An Error Has Occurred During Installation
Yes, I think it's time for a PHP7-ready version


jguardon [ Thu 02 Apr, 2020 22:43 ]
Post 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 https://gambas-es.org (since 2009, in Spanish, BTW)


Informpro [ Sat 04 Apr, 2020 14:50 ]
Post 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.




Powered by Icy Phoenix