Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Sir Osis of Liver on January 07, 2017, 11:00:35 PM

Title: Cannot install 2.1
Post by: Sir Osis of Liver on January 07, 2017, 11:00:35 PM
Installing on new host (Crocweb), get this error when MySQL is selected -

The version of your database server is very old, and does not meet SMF's minimum requirements.

... and this error when MySQLi is selected -

Cannot find database source script! Please check file Subs-Db-mysqli.php is within your forum source directory

Both are running 5.0.11.

Title: Re: Cannot install 2.1
Post by: Kindred on January 08, 2017, 12:18:25 AM
Already reported... ;)
Title: Re: Cannot install 2.1
Post by: d3vcho on January 08, 2017, 03:06:30 AM
BTW, if I remember well, min MySQL version required is 5.0.3

Regarding MySQLi, I think the solution got merged this night, so latest GitHub build should solve the problem.

EDIT: Not merged yet. Here's the PR (fix) https://github.com/SimpleMachines/SMF2.1/pull/3817
Title: Re: Cannot install 2.1
Post by: Sir Osis of Liver on January 08, 2017, 03:27:04 PM
The current github package (as of last night) does not contain Subs-Db-mysqli.php.

So there's no way to install 2.1 on this host?
Title: Re: Cannot install 2.1
Post by: d3vcho on January 08, 2017, 05:38:30 PM
No, it doesn't contain Subs-Db-mysqli.php because they are renaming MySQLi to MySQL and they forgot some bits of the code.

And no, there's no way to install SMF 2.1 unless MySQL is at least version 5.0.3
Title: Re: Cannot install 2.1
Post by: Sir Osis of Liver on January 09, 2017, 12:08:48 PM
Isn't 5.0.11 > 5.0.3?

Will this be fixed?
Title: Re: Cannot install 2.1
Post by: Kindred on January 09, 2017, 12:15:08 PM
I believe that it IS fixed, but the fix has not been committed yet
Title: Re: Cannot install 2.1
Post by: d3vcho on January 09, 2017, 12:19:04 PM
Quote from: Sir Osis of Liver on January 09, 2017, 12:08:48 PM
Isn't 5.0.11 > 5.0.3?

Will this be fixed?


Hmm, yeah that's right. Then I don't know what is causing the problem...

Looking into install_2-1_mysql.sql it appears this: #### Install script for MySQL 4.0.18+

So I don't know... You better report it on GitHub, you'll get better support over there :D
Title: Re: Cannot install 2.1
Post by: Sir Osis of Liver on January 09, 2017, 09:10:34 PM
I'll give it another six months, and try again. ;)
Title: Re: Cannot install 2.1
Post by: Antes on January 09, 2017, 09:20:55 PM
Quote from: Sir Osis of Liver on January 09, 2017, 09:10:34 PM
I'll give it another six months, and try again. ;)


what do you mean?
Title: Re: Cannot install 2.1
Post by: Sir Osis of Liver on January 09, 2017, 09:27:02 PM
j/k - Haven't had time to look at 2.1 in a while, and just moved to new host recently.  First try at installing it there didn't work.  Will give it another go when fix is committed.
Title: Re: Cannot install 2.1
Post by: live627 on January 10, 2017, 03:50:06 AM
that was the fastest six months ever :P

Is my birthday close yet?
Title: Re: Cannot install 2.1
Post by: Bob Perry of Web Presence Consulting on January 11, 2017, 10:48:27 AM
Quote from: Sir Osis of Liver on January 09, 2017, 12:08:48 PM
Isn't 5.0.11 > 5.0.3?

Will this be fixed?


If you mean is it older? yes
Title: Re: Cannot install 2.1
Post by: Sir Osis of Liver on January 11, 2017, 09:39:00 PM
Just tried installing current github package, installer crashes after Welcome page.

Errorlog -



[12-Jan-2017 02:37:12 UTC] PHP Warning:  require_once(/Class-Package.php): failed to open stream: No such file or directory in /home/thekrash/public_html/smf21/install.php on line 595
[12-Jan-2017 02:37:12 UTC] PHP Fatal error:  require_once(): Failed opening required '/Class-Package.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/thekrash/public_html/smf21/install.php on line 595


Title: Re: Cannot install 2.1
Post by: d3vcho on January 12, 2017, 01:44:21 AM
Maybe you should report that on GitHub.
Title: Re: Cannot install 2.1
Post by: Jailer on January 12, 2017, 06:45:30 PM
Quote from: Sir Osis of Liver on January 11, 2017, 09:39:00 PM
Just tried installing current github package, installer crashes after Welcome page.

Errorlog -



[12-Jan-2017 02:37:12 UTC] PHP Warning:  require_once(/Class-Package.php): failed to open stream: No such file or directory in /home/thekrash/public_html/smf21/install.php on line 595
[12-Jan-2017 02:37:12 UTC] PHP Fatal error:  require_once(): Failed opening required '/Class-Package.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/thekrash/public_html/smf21/install.php on line 595



Same thing here. I don't have a clue how to use github.
Title: Re: Cannot install 2.1
Post by: Jailer on January 12, 2017, 08:18:42 PM
No edit of posts???

Comment added to the issues section along with snippet of error log message. Best I can do.

EDIT: Must have been a post limit thing, the edit buttons show now.   :o
Title: Re: Cannot install 2.1
Post by: Antes on January 12, 2017, 08:49:12 PM
Quote from: Jailer on January 12, 2017, 08:18:42 PM
No edit of posts???

Comment added to the issues section along with snippet of error log message. Best I can do.

EDIT: Must have been a post limit thing, the edit buttons show now.   :o

We disabled post editing for users when post has certain age :P I can't recall the exact age (something like 1-3 hours).