blank page

  • Hello,
    when I login cp ,got blank page and this error message


    Fatal error: Out of memory (allocated 2097152) (tried to allocate 19456 bytes) in /var/www/imscp/gui/library/environment.php on line 92


    please how i can fix this error:huh:


  • Hello,
    when I login cp ,got blank page and this error message


    Fatal error: Out of memory (allocated 2097152) (tried to allocate 19456 bytes) in /var/www/imscp/gui/library/environment.php on line 92


    please how i can fix this error:huh:


    Hello ;


    What i-MSCP version you are using?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello ;


    What i-MSCP version you are using?


    i-MSCP Version 1.0.3.0
    [hr]


    And what Server? I bet a vServer which have to low Memory or is misconfigurated.


    Memory 1 GB and Burst 1.5 GB


    Kernel Version 2.6.32-042stab076.8 (SMP)


    CPU model Intel (R) Xeon(R) CPU E31240 @ 3.30GHz
    Number of CPU Cores 4

    Edited once, last by Horus ().


  • What does this show?

    Code
    1. # free -th


    #free -th
    free: invalid option -- 'h'
    usage: free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V]
    -b,-k,-m,-g show output in bytes, KB, MB, or GB
    -l show detailed low and high memory statistics
    -o use old format (no -/+buffers/cache line)
    -t display total for RAM + swap
    -s update every [delay] seconds
    -c update [count] times
    -V display version information and exit
    [hr]
    ~# free -t
    total used free shared buffers cached
    Mem: 1572864 299104 1273760 0 0 86572
    -/+ buffers/cache: 212532 1360332
    Swap: 0 0 0
    Total: 1572864 299104 1273760

    Edited once, last by Horus ().

  • Code
    1. ~# free -t
    2. total used free shared buffers cached
    3. Mem: 1572864 299104 1273760 0 0 86572
    4. -/+ buffers/cache: 212532 1360332
    5. Swap: 0 0 0
    6. Total: 1572864 299104 1273760


    At the moment you ran this it seems you had enough free memory, but probably the situation was different when the error occured.
    And if the output is correct, your system has no swap space at all. This is a problem when all the 1.5 GB memory are used. Try to add a swap partition or a swap file if you cannot create a partition.