Random install errors April 09, 2014, 05:43:08 pm A little feedback before I bug log them First, MySQLi needed, could be a tad clearer for us dumber lot.Warning: file_put_contents(/home/xj45/public_html/forum/db_last_error.php): failed to open stream: Permission denied in /home/xj45/public_html/forum/Settings.php on line 192If we're going to need db_last_error.php it should be part of the initial permissions check on install and fixable then.Warning: is_readable(): open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/home/xj45:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/xj45/public_html/forum/sources/ext/PasswordHash.php on line 51@is_readable? may be better?
Re: Random install errors Reply #2 – April 09, 2014, 06:38:28 pm http://it1.php.net/manual/en/function.mysql-db-query.phpDo you see the terribly big red warning that the mysql is going to be dropped?
Re: Random install errors Reply #3 – April 09, 2014, 06:40:48 pm Meant to say though, its a very friendly install
Re: Random install errors Reply #4 – April 09, 2014, 07:01:01 pm Oh I didn't read the first line... lolSorry.
Re: Random install errors Reply #5 – April 09, 2014, 07:03:23 pm Quote from: Trekkie101 – April 09, 2014, 05:43:08 pmA little feedback before I bug log them First, MySQLi needed, could be a tad clearer for us dumber lot.There was a similar report about this, we need to check the dependancy up front and complain more nicely.Quote from: Trekkie101 – April 09, 2014, 05:43:08 pmWarning: file_put_contents(/home/xj45/public_html/forum/db_last_error.php): failed to open stream: Permission denied in /home/xj45/public_html/forum/Settings.php on line 192If we're going to need db_last_error.php it should be part of the initial permissions check on install and fixable then.Maybe we should just include that empty file in the install package and be done with it.Quote from: Trekkie101 – April 09, 2014, 05:43:08 pmWarning: is_readable(): open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/home/xj45:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/xj45/public_html/forum/sources/ext/PasswordHash.php on line 51@is_readable? may be better?Probably yes
Re: Random install errors Reply #6 – April 09, 2014, 07:44:44 pm Quote from: emanuele – April 09, 2014, 06:38:28 pmhttp://it1.php.net/manual/en/function.mysql-db-query.phpDo you see the terribly big red warning that the mysql is going to be dropped? Meh. Big fuss about nothing.
Re: Random install errors Reply #7 – April 11, 2014, 07:11:36 pm db_last_error here: https://github.com/emanuele45/Dialogo/commit/c0013d7ae65710450cf465285a9bf5414d5edfbephpass here: https://github.com/emanuele45/Dialogo/commit/84aa4bcf13a78652b02226aa260cf237c42cce46
Re: Random install errors Reply #9 – April 12, 2014, 08:11:18 am There is still the MySQLi thing pending.
Re: Random install errors Reply #11 – June 15, 2014, 05:27:08 am Did anyone remember if the MySQLi warning was improved?
Re: Random install errors Reply #12 – June 16, 2014, 07:10:22 am Just tried it with without 'i' ...QuoteThe installer was unable to detect database support in PHP that ElkArte can utilize. Please ask your host to ensure that PHP was compiled with the desired database, or that the proper php extension is being loaded. Currently ElkArte supports the: "%1$s" extensions So the message still needs improvement, plus its not inserting in the supported scheme in to the string
Re: Random install errors Reply #13 – June 16, 2014, 07:33:41 am hmm...I think that this:Code: [Select]if (count($db_missing) === count($db))should be:Code: [Select]if (count($db_missing) === count($databases))Apparently this is enough to trigger the proper sprintf.