Jump to content

Featured Replies

Posted

why php is fine 8 mariadb too last version whats wrong ?

i tryed on webhosting and on dedicated server last ISP suite version forum

Could contain: Word, White Board, Text, PageCould contain: Text, Page, File

Edited by GHTheBoss

Is this about a fresh install? 

  • Author

yes it is a new installation

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

  • 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 by GHTheBoss

If they were both using PHP 8, you would indeed have had the same issue on both

  • Author

yeah it is .so better using php 7.4 ? 

Edited by GHTheBoss

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

  • Author

well ok, lemme try

 

  • Author

Ok confirmed with php 7.4 it does work. but my question is why ?

 

Edited by GHTheBoss

  • 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

Could contain: Text, Page

Edited by GHTheBoss

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.

  • Author

wow thanks man. i read somepost some where about  crypt($PW, "$2y$10$"); but i guess that information was wrong

Recently Browsing 0

  • No registered users viewing this page.