heze54
asked on
Ubuntu 14 Teampass install mysqi_fecth_all error
Hi,
I´m installing TeamPass last version under ubuntu 14 LTS and, when checking PHP functions, there is an error about mysqi_fecth_all.. not avaliable
Why?
How to repare this error?
Regards
I´m installing TeamPass last version under ubuntu 14 LTS and, when checking PHP functions, there is an error about mysqi_fecth_all.. not avaliable
Why?
How to repare this error?
Regards
ASKER
HI,
If I choose the 2nd choice, how to do this?
Regards
If I choose the 2nd choice, how to do this?
Regards
Instead using mysql_fetch_all() to get the data, use the second one:
Instead:
Do:
And you will get the same result.
Instead:
$data = mysqi_fecth_all($result, MYSQL_ASSOC);
Do:
$data = [];
while ($row = $result->fetch_assoc()) {
$data[] = $row;
}
And you will get the same result.
ASKER
HI,
Which file? php.ini?
Which file? php.ini?
Just to be clear, you're not having trouble with mysqi_fecth_all() but are really having trouble with mysqi_fetch_all() ? Because according to PHP it does not exist:
http://php.net/manual-lookup.php?pattern=mysqli_fetch_all&scope=quickref
MySQLi_fetch() used to exist, but has been removed.
Maybe the thing you want is this:
http://php.net/manual/en/mysqli-result.fetch-all.php
http://php.net/manual-lookup.php?pattern=mysqli_fetch_all&scope=quickref
MySQLi_fetch() used to exist, but has been removed.
Maybe the thing you want is this:
http://php.net/manual/en/mysqli-result.fetch-all.php
ASKER
HI Ray,
Resuming... I´m trying to install the latest version of TeamPass under Ubuntu 14.
What should I change?
The more I read forums, The less I understand
Resuming... I´m trying to install the latest version of TeamPass under Ubuntu 14.
What should I change?
The more I read forums, The less I understand
Is this the product you're trying to install?
http://teampass.net/installation/installation-on-linux-server.html
http://teampass.net/installation/installation-on-linux-server.html
ASKER
Hi Ray,
Right!!
Regards
Right!!
Regards
Great. What step of the installation fails?
ASKER
HI,
1st one
PHP function "mysqli_fetch_all" is available Function mysqli_fetch_all is not available!
I also tried to update from 5.3 php to 5.6, but no changes made
1st one
PHP function "mysqli_fetch_all" is available Function mysqli_fetch_all is not available!
I also tried to update from 5.3 php to 5.6, but no changes made
ASKER
HI,
Any idea?
Regards
Any idea?
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
A++
Open in new window
Good luck!