Skip to main content
Topic: Random install errors  (Read 2431 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Random install errors

A little feedback before I bug log them :P

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 192

If 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 #1
Why is MySQLi needed?
Master of Expletives: Now with improved family f@&king friendliness! :D

Sources code: making easy front end changes difficult since 1873. :P


Re: Random install errors

Reply #3
Meant to say though, its a very friendly install :)

Re: Random install errors

Reply #4
Oh I didn't read the first line... lol
Sorry.
Bugs creator.
Features destroyer.
Template killer.

Re: Random install errors

Reply #5
A little feedback before I bug log them :P

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.
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 192

If 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.

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?
Probably yes
Be safe, Be kind, Happy Programing

Re: Random install errors

Reply #6
http://it1.php.net/manual/en/function.mysql-db-query.php

Do you see the terribly big red warning that the mysql is going to be dropped? :P
Meh. Big fuss about nothing. :P
Master of Expletives: Now with improved family f@&king friendliness! :D

Sources code: making easy front end changes difficult since 1873. :P


Re: Random install errors

Reply #8
Thanks !
Be safe, Be kind, Happy Programing

Re: Random install errors

Reply #9
There is still the MySQLi thing pending.
Bugs creator.
Features destroyer.
Template killer.

Re: Random install errors

Reply #10
Nice  :D

Re: Random install errors

Reply #11
Did anyone remember if the MySQLi warning was improved?
Bugs creator.
Features destroyer.
Template killer.

Re: Random install errors

Reply #12
Just tried it with without 'i' ...

Quote
The 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
Be safe, Be kind, Happy Programing

Re: Random install errors

Reply #13
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.
Bugs creator.
Features destroyer.
Template killer.