Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 19, 20222 yr 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, 20222 yr by GHTheBoss
August 19, 20222 yr 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
August 19, 20222 yr Author 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, 20222 yr by GHTheBoss
August 19, 20222 yr Author yeah it is .so better using php 7.4 ? Edited August 19, 20222 yr by GHTheBoss
August 19, 20222 yr 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
August 19, 20222 yr Author Ok confirmed with php 7.4 it does work. but my question is why ? Edited August 19, 20222 yr by GHTheBoss
August 19, 20222 yr Author 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, 20222 yr by GHTheBoss
August 19, 20222 yr 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.
August 19, 20222 yr Author wow thanks man. i read somepost some where about crypt($PW, "$2y$10$"); but i guess that information was wrong