Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Statham Posted August 19, 2022 Posted August 19, 2022 (edited) why php is fine 8 mariadb too last version whats wrong ? i tryed on webhosting and on dedicated server last ISP suite version forum Edited August 19, 2022 by GHTheBoss
Marc Posted August 19, 2022 Posted August 19, 2022 Please could you reword the original message, as Im not sure what you mean there. We are aware of an issue with PHP 8 during install, so if thats what you are using, you would need to restart that, and install with 7.4
Statham Posted August 19, 2022 Author Posted August 19, 2022 (edited) there no message coming. just during installing its switch to white page and he just put TABLE mysql and nothing else. i will try with php 7.4 lol first time i were angry with hosting because i was thinking the problem was some setting on shared hosting lol, but as i hear now its not. so i bought a dedicate server and had same issue lol Edited August 19, 2022 by GHTheBoss
Marc Posted August 19, 2022 Posted August 19, 2022 If they were both using PHP 8, you would indeed have had the same issue on both
Statham Posted August 19, 2022 Author Posted August 19, 2022 (edited) yeah it is .so better using php 7.4 ? Edited August 19, 2022 by GHTheBoss
Marc Posted August 19, 2022 Posted August 19, 2022 Just now, GHTheBoss said: yeah it is .so better using php 7.4 ? At present it is for the install as there is a bug with the installer. Once you are installed, you can switch to PHP 8 if you wish
Statham Posted August 19, 2022 Author Posted August 19, 2022 (edited) Ok confirmed with php 7.4 it does work. but my question is why ? Edited August 19, 2022 by GHTheBoss
Statham Posted August 19, 2022 Author Posted August 19, 2022 (edited) also another question why pass salt is empity ? trying to do auth login for my software which is dev in c++ but for old version of IPB i was doing this is from 2013 function user_auth($name, $pass) { global $forum_prefix; if(!($result=mysql_query("SELECT * FROM ".mysql_real_escape_string($forum_prefix)."_members WHERE name = '".mysql_real_escape_string($name)."'"))) die(mysql_error()); if( mysql_numrows($result)>=1 ) { if( md5(md5(mysql_result($result,0,"members_pass_salt")).md5($pass)) == mysql_result($result,0,"members_pass_hash") ) { return true; }else{ return false; } } } how about new one ? $test = "GHTheBoss"; $Result = $dbconnection->query("SELECT * FROM ibf_core_members WHERE name = '".$test ."'"); if ( $Result->num_rows >=1 ) { $PW = "testing"; $Password = crypt($PW, "$2y$10$"); die( $Password); } this wont work because i can't read any pass salt Edited August 19, 2022 by GHTheBoss
Ryan Ashbrook Posted August 19, 2022 Posted August 19, 2022 That is a legacy column that is no longer used since the latest versions of IPS4 use the password_hash function. That column is still referenced, however, if a user has not logged in since an upgrade from IPB3, so the system can update the password hash to the new version. Marc and Statham 1 1
Statham Posted August 19, 2022 Author Posted August 19, 2022 wow thanks man. i read somepost some where about crypt($PW, "$2y$10$"); but i guess that information was wrong
Recommended Posts