lsblk
sudo gorwpart /dev/sda 1
duso resize2fs /dev/sda1
df -h
lsblk
sudo gorwpart /dev/sda 1
duso resize2fs /dev/sda1
df -h
https://docs.metamask.io/guide/getting-started.html#basic-considerations
https://infura.io/docs/eth2
https://marketinsg.zendesk.com/hc/en-us/articles/360045156711-Crypto-com-Pay
http://trufflesuite.com/index.html
https://rarible.com/create/erc-721
Warning: fopen(/var/www/html/webocreation.com/system/storage/session/....): failed to open stream: Permission denied in /var/www/html/webocreation.com/system/library/session/file.php on line 29 Warning: flock() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 31 Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 33 Warning: fflush() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 35 Warning: flock() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 37 Warning: fclose() expects parameter 1 to be resource, bool given in /var/www/html/webocreation/system/library/session/file.php on line 39
These errors occurs because of the file permissions. In most of the forum, I found that they suggested to give full permission 0777 for the storage folder, this can be dangerous as per the security reason.I have added the opencart upload folders and files at /var/www/html/webocreationFollowing are the commands that I run:Change the ownership of the files and folders to the apache:apache sudo chown apache:apache -R .
Let's make the all files secure by giving permissions of 0644 find . -type f -exec chmod 0644 {} \; Likewise, let's make the directory accessible for the apache find . -type d -exec chmod 0755 {} \; Now, let give access to read all files for the httpd server sudo chcon -t httpd_sys_content_t . -R Allow write only to specific dirs sudo chcon -t httpd_sys_rw_content_t ./system/storage/cache -Rsudo chcon -t httpd_sys_rw_content_t ./system/storage/download -R
sudo chcon -t httpd_sys_rw_content_t ./system/storage/logs -R
sudo chcon -t httpd_sys_rw_content_t ./system/storage/modification -R
sudo chcon -t httpd_sys_rw_content_t ./system/storage/session -R
sudo chcon -t httpd_sys_rw_content_t ./system/storage/upload -R
sudo chcon -t httpd_sys_rw_content_t ./system/storage/vendor -R
Once these commands are run then you are ready to install.Then, open the browser and run the URL and you may get warning saying config.php file need to be writable, then for that run following two commands:sudo chcon -t httpd_sys_rw_content_t ./config.php -R
sudo chcon -t httpd_sys_rw_content_t ./admin/config.php -R
I was ssh-ing to AWS EC2 instance and got the error Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
-----------------
Solution: The solution is just adding the right path, for the key pair that you downloaded. I was in the right folder and I gave the path by just adding "./"
ssh ec2-user@54.89.86.26 -i ./ec2-keypair.pem
Notice: Trying to access array offset on the value of type null in .../vendor/scss.inc.php on line 1753
then the solution is: Open the file .../vendor/scss.inc.php and go to line as given in the above case it is 1753 where you will see code like below:
foreach ($args as $arg) {list($key, $value) = $arg;$key = $key[1];if (empty($key)) {$posArgs[] = $value;} else {$keyArgs[$key] = $value;}}
Then change the line to the following, the changes done is in bold.
foreach ($args as $arg) {list($key, $value) = $arg;if (!empty($key[1])) {$key = $key[1];}if (empty($key)) {$posArgs[] = $value;} else {$keyArgs[$key] = $value;}}
Top & Famous Songs Aja Aakash Ma Euta Tara Tara Antim Palta Bhetna Aau Sabai Sathi Gaye Bigreko Manche Ma Ke Samjhi Khelyau Timro Pauju ...
ACKNOWLEDGEMENT This report has been prepared for the Final Year Project on topic “E-shoppin...
1) Without touching,how will you kill a Plant ? a) By Knife b) By Rope and Gun c) By Scolding d) None 2) I was in Dream. In Dream I visited ...
Nobody likes this question, so let's get it over with quickly. If you were seriously ill or died tomorrow, would your family know whe...
Every time you apply for a loan from a bank or financial institution in Nepal, someone checks your record with the Credit Information Bur...
You buy a share at Rs 500 and sell it at Rs 540. That's Rs 40 profit per share, right? Not quite. By the time the broker, SEBON, the ...
A question I get a lot: "I don't have a big sum to invest. Is it even worth starting?" Yes. In fact, for most salaried peop...
If you have a salaried job in Nepal, your payslip probably has a line that quietly takes a chunk of your pay before you see it. It might ...
Dashain is just behind us and Tihar is a couple of weeks away. If you're like most Nepali households, this is the most expensive stre...
{# 1. Main slider paragraph template #} {# File: templates/paragraph--slider-with-resources.html.twig #} <div class="slider-with-res...
Your offer letter said Rs 60,000 a month. Your bank account says something smaller. Most people shrug and assume "tax," but a s...
A few years ago, paying for tea meant opening your purse and seeing the notes get thinner. Now it's a scan, a beep, done. eSewa, Khal...
In most Nepali families, gold isn't really a financial decision. It's a wedding gift, a mother's security, something you buy ...
Festival season is loan season. The scooter ads, the "zero down payment" phone offers, the cousin who just got a personal loan ...