| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5087|Reply: 6
Collapse the left

I want to install this on 000webhost but I got this.

[Copy link]

 China

Post time: 2017-08-14 07:11
| Show all posts |Read mode
I want to install this on 000webhost but I got this What should I do?

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2017-08-14 22:44
| Show all posts
What the PHP version?

 Russia

Post time: 2017-08-15 19:58
| Show all posts
Thanx.
7.1 use more strong type cast...

I will try to fix this...

 Russia

Post time: 2017-08-15 20:32
| Show all posts
Replace the function return_bytes with the next code:
  1. function return_bytes($val) {
  2.     $val = trim($val);
  3.     $last = strtolower($val{strlen($val)-1});
  4. /*vot*/ $val = intval(trim($val, $last));
  5.     switch($last) {
  6.         case 'g': $val *= 1024;
  7.         case 'm': $val *= 1024;
  8.         case 'k': $val *= 1024;
  9.     }
  10.     return $val;
  11. }
Copy the Code

 China

 Author| Post time: 2017-08-16 07:12
| Show all posts
I can change the PHP version,What version shall I change to?

 Russia

Post time: 2017-08-16 08:20
| Show all posts
PHP 5.4 will be ok.
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-24 16:15 GMT+3 , Processed in 0.077200 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list