News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Valkoinen näyttö package managerissa

Started by km44, February 02, 2014, 09:59:04 PM

Previous topic - Next topic

km44

Package managerissa yrittäessä avata "Simple Machines Third-party Mod Site" palvelimen "New Feature
View the 274 mods in this section." ilmestyy vain valkoinen ruutu, eli missä vika?   >:(

Tuonhan voi aina ohittaa tietenkin lataamalla paketit käsin.

Tietoa:

SMF versio 2.0.7 (asennettu softaculouksen kautta)

host: Arvixe VPS

Tämän scriptin mukaan pystyy varaamaan tarpeeksi suuria määriä muistia:

<?php
// This is only an example, the numbers below will
// differ depending on your system

for ($i=1$i<256$i++) {
//echo "used memory is " . memory_get_usage() . "<br/>";
$a loadmem($i); 
//echo "used memory after allocating ".$i."m is " . memory_get_usage() . "<br/>"; // 57960
//echo "used memory after unsetting allocated memory is " . memory_get_usage() . "<br/>"; // 36744
echo "You have allocated "$i "M ("memory_get_usage() . ") memory in this php script" "<br />";
unset($a);
}

function 
loadmem($howmuchmeg) {
$a str_repeat("0"$howmuchmeg 1024 1024); // alocating 10 chars times million chars
return $a;
}

?>


You have allocated 250M (262783040) memory in this php script
You have allocated 251M (263831616) memory in this php script
You have allocated 252M (264880192) memory in this php script
You have allocated 253M (265928768) memory in this php script
You have allocated 254M (266977344) memory in this php script
You have allocated 255M (268025920) memory in this php script


PHP info: (upotus sekä bbcode ei toiminut, koska antoi valkoisen ruudun  ::)

s14.postimg. org/hild526w1/phpinfo.jpg

Advertisement: