Check Dedicated Server Specifications | check raid

This post explains few quick linux commands to check server specifications. I tried to explain every command output in this post as follows:

Check SSD

# cat /sys/block/sda/queue/rotational
1

if above commnad returns 1 it means HDD else if it returns 0 then it is SSD.

 

Check RAM

# cat /proc/meminfo

MemTotal: 131778740 kB

Above command returns huge list of outputs, however you can ignore all and should focus on 1st line which tells about total Memory. You can convert KBs to MBs at google in order to get values in MBs.

Read More

Opencart 3.x Image src unknown error

Few days ago one of our client reported an error on his opencart store that was working perfectly in past. However suddenly it started giving error with the product images. He was not able to upload, edit, view images under admin panel as well as on front-end.

Images were failed to load on web site, and when i checked the source of images i found unknown or empty src. I tried to fix the errors while googling this issue but could not find any solution. Apparently i found out there is an image compressor php script included in the opencart. I just opened it at following location :

Front-end: Read More