Friday, May 13, 2016

You do not have sufficient permissions to access this page

Some people, upon upgrading from WordPress 4.5x to 4.5.1x have been experiencing this error:
You do not have sufficient permissions to access this page
The most common cause of this error is an upgrade that didn’t complete. The database number has been incremented, so WordPress thinks it is up to date, but it hasn’t yet written the permissions that you will need to access the WordPress admin interface.
I have written a script to force the 1.5.x to 2.0.x upgrade.
<?php
/*
WordPress Force Upgrade Script
Copyright (C) 2006 Mark Jaquith
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
function txfx_log($text) {
echo $text . '<br />';
}
switch ($_GET['step']) :
case "1":
require('wp-config.php');
txfx_log('WordPress loaded...');
require('wp-admin/upgrade-functions.php');
txfx_log('Upgrade functions loaded...');
wp_cache_flush();
txfx_log('Object cache flushed...');
make_db_current();
txfx_log('Database made current...');
upgrade_160();
txfx_log('Data upgraded...');
$wp_rewrite->flush_rules();
txfx_log('Rewrite rules flushed...');
wp_cache_flush();
txfx_log('Object cache flushed...');
txfx_log('<br />');
txfx_log('Hopefully that did it! <strong>DELETE THIS FILE FROM YOUR SERVER NOW!</strong>');
txfx_log('And then, try to access your <code>/wp-admin/</code>');
break;
default :
txfx_log('This script will attempt to upgrade your database. It is intended for users of WordPress 1.5 or later.');
txfx_log('<strong>You should delete this script from your server after you are done using it!</strong>');
txfx_log('<br />');
txfx_log('<a href="?step=1">Click here</a> to attempt the upgrade');
break;
endswitch;
?>
Instructions
  1. Select above script and save it in notepad as force-upgrade.php
  2. Upload force-upgrade.php to your WordPress root directory (the directory with wp-config.php)
  3. Access the file in your browser (e.g. http://example.com/force-upgrade.php)
  4. Delete force-upgrade.php from your server
I won’t promise you that this will solve all your problems, but it has helped several people who have tried it. Let me know how you fare.

Thursday, May 21, 2015

Top 10 Foods You Should Eat This Summer

Watermelon

Refreshing, tasty, and hydrating, watermelon needs no dressing up to provide the nutrition and flavors we crave. Summertime is when watermelons are best in quality and price.
The inflammation-fighting antioxidants in watermelon may reduce risk of complications of diabetes, cardiovascular disease, cancer, and arthritis. Watermelon is also high in vitamins C and A (in the form of beta-carotene) and the antioxidant lycopene, known for reducing risk of macular degeneration and prostate cancer. Potassium, which helps muscle and nerve

Saturday, April 11, 2015

benefits of soaking almonds

Why soaked almonds are better?If you love eating almonds raw and hate the idea of soaking it overnight, then it's time to put in that little extra effort. It's not about taste anymore and more about picking the healthier option when choosing between soaked almonds and raw almonds. Many are unaware that the brown peel of almonds contains tannin, which inhibits nutrient absorption. Once the almonds are soaked, the peel comes off easily, allowing the nuts to release nutrients. Soaked almonds also help with digestion. It releases the enzyme lipase, which is beneficial for fat digestion.  What's more? Almonds also help in weight loss. They contain monounsaturated fats that curb your appetite and makes you feel full. Soaked almonds are a good source of antioxidants too. It resists free radical damage and prevents ageing. Soaked almonds contain Vitamin B17 and folic acid that are vital for fighting cancer and reducing birth defects, another reason worth putting in a little effort.

So make a habit, soak the almonds overnight and have your daily share of nutrition every morning.
 
 
 

Tuesday, October 21, 2014

The 10 Healthiest Foods on the Planet

Healthy Food #1: Lemons

Why They're Healthy:
— Just one lemon has more than 100 percent of your daily intake of vitamin C, which may help increase "good" HDL cholesterol levels and strengthen bones.
— Citrus flavonoids found in lemons may help inhibit the growth of cancer cells and act as an anti-inflammatory.

Quick Tip:
Add a slice of lemon to your green tea. One study found that citrus increases your body's ability to absorb the antioxidants in the tea by about 80 percent.
 

Healthy Food #2: Broccoli

Why It's Healthy:
— One medium stalk of broccoli contains more than 100 percent of your daily vitamin K requirement and almost 200 percent of your recommended daily dose of vitamin C — two essential bone-building nutrients.
— The same serving also helps stave off numerous cancers.

Quick Tip:
Zap it! Preserve up to 90 percent of broccoli's vitamin C by microwaving. (Steaming or boiling holds on to just 66 percent of the nutrient.)

Healthy Food #3: Dark Chocolate

Why It's Healthy:
— Just one-fourth of an ounce daily can reduce blood pressure in otherwise healthy individuals.
— Cocoa powder is rich in flavonoids, antioxidants shown to reduce "bad" LDL cholesterol and increase "good" HDL levels.


Quick Tip: A dark chocolate bar contains about 53.5 milligrams of flavonoids; a milk chocolate bar has fewer than 14.

Healthy Food #4: Potatoes

Why They're Healthy:
— One red potato contains 66 micrograms of cell-building folate — about the same amount found in one cup of spinach or broccoli.
— One sweet potato has almost eight times the amount of cancer-fighting and immune-boosting vitamin A you need daily.

Quick Tip:
Let your potato cool before eating. Research shows that doing so can help you burn close to 25 percent more fat after a meal, thanks to a fat-resistant starch.


Healthy Food #6: Walnuts

Why They're Healthy:
— Contain the most omega-3 fatty acids, which may help reduce cholesterol, of all nuts.
— Omega-3s have been shown to improve mood and fight cancer; they may protect against sun damage, too (but don't skip the SPF!).

Quick Tip:
Eat a few for dessert: The antioxidant melatonin, found in walnuts, helps to regulate sleep.
 

Healthy Food #7: Avocados

Why They're Healthy:
— Rich in healthy, satisfying fats proven in one study to lower cholesterol by about 22 percent.
— One has more than half the fiber and 40 percent of the folate you need daily, which may reduce your risk of heart disease.

Quick Tip:
Adding it to your salad can increase the absorption of key nutrients like beta-carotene by three to five times compared with salads without this superfood.


Healthy Food #8: Garlic

Why It's Healthy:
— Garlic is a powerful disease fighter that can inhibit the growth of bacteria, including E. coli.
— Allicin, a compound found in garlic, works as a potent anti-inflammatory and has been shown to help lower cholesterol and blood-pressure levels.

Quick Tip:
Crushed fresh garlic releases the most allicin. Just don't overcook; garlic exposed to high heat for more than 10 minutes loses important nutrients.


Healthy Food #9: Spinach

Why It's Healthy:
— Spinach contains lutein and zeaxanthin, two immune-boosting antioxidants important for eye health.
— Recent research found that among cancer-fighting fruits and veggies, spinach is one of the most effective.

Quick Tip:
Spinach is a healthy — and flavorless — addition to any smoothie. You won't taste it, we promise! Try blending 1 cup spinach, 1 cup grated carrots, 1 banana, 1 cup apple juice, and ice

Healthy Food #10: Beans

Why They're Healthy:
— Eating a serving of legumes (beans, peas, and lentils) four times a week can lower your risk of heart disease by 22 percent.
— That same habit may also reduce your risk of breast cancer.

Quick Tip:
The darker the bean, the more antioxidants it contains. One study found that black bean hulls contain 40 times the amount of antioxidants found in white bean hulls.

Ebola Virus

Ebola is a rare but deadly virus that causes bleeding inside and outside the body.
As the virus spreads through the body, it damages the immune system and organs. Ultimately, it causes levels of blood-clotting cells to drop. This leads to severe, uncontrollable bleeding.
The disease, also known as Ebola hemorrhagic fever or Ebola virus, kills up to 90% of people who are infected.

How Do You Get Ebola?

Ebola isn’t as contagious as more common viruses like colds, influenza, or measles. It spreads to people by contact with the skin or bodily fluids of an infected animal, like a monkey, chimp, or fruit bat. Then it moves from person to person the same way. Those who care for a sick person or bury someone who has died from the disease often get it.
Other ways to get Ebola include touching contaminated needles or surfaces.
You can’t get Ebola from air, water, or food. A person who has Ebola but has no symptoms can’t spread the disease, either.

What Are the Symptoms of Ebola?

Early on, Ebola can feel like the flu or other illnesses. Symptoms show up 2 to 21 days after infection and usually include:
  • High fever
  • Headache
  • Joint and muscle aches
  • Sore throat
  • Weakness
  • Stomach pain
  • Lack of appetite
As the disease gets worse, it causes bleeding inside the body, as well as from the eyes, ears, and nose.  Some people will vomit or cough up blood, have bloody diarrhea, and get a rash.


How Is Ebola Diagnosed?

Sometimes it's hard to tell if a person has Ebola from the symptoms alone. Doctors may test to rule out other diseases like cholera or malaria.
Tests of blood and tissues also can diagnose Ebola.
If you have Ebola, you’ll be isolated from the public immediately to prevent the spread.


How Is Ebola Treated?

There’s no cure for Ebola, though researchers are working on it. Treatment includes an experimental serum that destroys infected cells.
Doctors manage the symptoms of Ebola with:
  • Fluids and electrolytes
  • Oxygen
  • Blood pressure medication
  • Blood transfusions
  • Treatment for other infections

How Can You Prevent Ebola?

There’s no vaccine to prevent Ebola. The best way to avoid catching the disease is by not traveling to areas where the virus is found.
Health care workers can prevent infection by wearing masks, gloves, and goggles whenever they come into contact with people who may have Ebola.


Ebola Facts

There are five types of Ebola virus. Four of them cause the disease in humans.
The Ebola virus first appeared during two 1976 outbreaks in Africa.
Ebola gets its name from the Ebola River, which is near one of the villages in the Democratic Republic of Congo where the disease first appeared.



Tuesday, June 24, 2014

Top 10 Benefits of Green Tea



1. Green Tea Contains Various Bioactive Compounds That Can Improve Health 
 
Green tea is more than just green liquid.
Many of the bioactive compounds in the tea leaves do make it into the final drink, which contains large amounts of important nutrients.
It is loaded with polyphenols like flavonoids and catechins, which function as powerful
 antioxidant.
These substances can reduce the formation of free radicals in the body, protecting cells
and molecules from damage. These free radicals are known to play a role in aging and all sorts of diseases.
One of the more powerful compounds in green tea is the antioxidant Epigallocatechin Gallate (EGCG), which has been studied to treat various diseases and may be one of the main reasons green tea has such powerful medicinal properties

Green tea also has small amounts of minerals that are important for health.
Try to choose a higher quality brand of green tea, because some of the lower quality brands can contain excessive levels of fluoride.
That being said, even if you choose a lower quality brand, the benefits still far outweigh any risk.
Bottom Line: Green tea is loaded with bioactive compounds that can have various beneficial effects on health.



2. Compounds in Green Tea Can Improve Brain Function and Make You Smarter




Green tea does more than just keep you awake, it can also make you smarter.

The key active ingredient is caffeine, which is a known stimulant.

It doesn’t contain as much as coffee, but enough to produce a response without causing the “jittery” effects associated with too much caffeine.

What caffeine does in the brain is to block an inhibitory neurotransmitter called Adenosine. This way, it actually increases the firing of neurons and the concentration of neurotransmitters like dopamine and norepinephrine .

Caffeine has been intensively studied before and consistently leads to improvements in various aspects of brain function, including improved mood, vigilance, reaction time and memory.

However… green tea contains more than just caffeine. It also has the amino acid L-theanine, which is able to cross the blood-brain barrier.

L-theanine increases the activity of the inhibitory neurotransmitter GABA, which has anti-anxiety effects. It also increases dopamine and the production of alpha waves in the brain .

Studies show that caffeine and L-theanine can have synergistic effects. The combination of the two is particularly potent at improving brain function.

Because of the L-theanine and the smaller dose of caffeine, green tea can give you a much milder and different kind of “buzz” than coffee.

Many people report having more stable energy and being much more productive when they drink green tea, compared to coffee.


Bottom Line: Green tea contains less caffeine than coffee, but enough to produce an effect. It also contains the amino acid L-theanine, which can work synergistically with caffeine to improve brain function.



3. Green Tea Increases Fat Burning and Improves Physical Performance


If you look at the ingredients list for any fat burning supplement, chances are that green tea will be on there.

This is because green tea has been shown to increase fat burning and boost the metabolic rate, in human controlled trials.

In one study in 10 healthy men, green tea increased energy expenditure by 4% .

Another study showed that fat oxidation was increased by 17%, indicating that green tea may selectively increase the burning of fat.

However, I’d like to point out that some studies on green tea don’t show any increase in metabolism, so the effects may depend on the individual.

Caffeine itself has also been shown to improve physical performance by mobilizing fatty acids from the fat tissues and making them available for use as energy.

In two separate review studies, caffeine has been shown to increase physical performance by 11-12%, on average.


Bottom Line: Green tea has been shown to boost the metabolic rate and increase fat burning in the short term, although not all studies agree.



4. Antioxidants in Green Tea May Lower Your Risk of Various Types of Cancer


Cancer is caused by uncontrolled growth of cells. It is one of the world’s leading causes of death.

It is well known that oxidative damage contributes to the development of cancer and that antioxidants can have a protective effect.


Green tea is an excellent source of powerful antioxidants, so it makes perfect sense that it could reduce your risk of cancer, which it appears to do:


  • Breast cancer: A meta-analysis of observational studies found that whomen who drank the most green tea had a 22% lower risk of developing breast cancer, the most common cancer in women.

  • Prostate cancer: One study found that men drinking green tea had a 48% lower risk of developing prostate cancer, which is the most common cancer in men .

  • Colorectal cancer: A study of 69,710 Chinese women found that green tea drinkers had a 57% lower risk of colorectal cancer .


Multiple other observational studies show that green tea drinkers are significantly less likely to get various types of cancer .


It is important to keep in mind that it may be a bad idea to put milk in your tea, because it can reduce the antioxidant value .



Bottom Line: Green tea has powerful antioxidants that may protect against cancer. Multiple studies show that green tea drinkers have a lower risk of various types of cancer.



5. Green Tea May Protect Your Brain in Old Age, Lowering Your Risk of Alzheimer’s and Parkinson’s


Not only can green tea improve brain function in the short term, it may also protect your brain in old age.

Alzheimer’s disease is the most common neurodegenerative disease in humans and a leading cause of dementia.


Parkinson’s disease is the second most common neurodegenerative disease and involves the death of dopamine producing neurons in the brain.


Multiple studies show that the catechin compounds in green tea can have various protective effects on neurons in test tubes and animal models, potentally lowering the risk of Alzheimer’s and Parkinson’s.



Bottom Line: The bioactive compounds in green tea can have various protective effects on neurons and may reduce the risk of both Alzheimer’s and Parkinson’s, the two most common neurodegenerative disorders.



6. Green Tea Can Kill Bacteria, Which Improves Dental Health and Lowers Your Risk of Infection


The catechins in green tea have other biological effects as well.

Some studies show that they can kill bacteria and inhibit viruses like the influenza virus, potentially lowering your risk of infections.

Streptococcus mutans is the primary harmful bacteria in the mouth. It causes plaque formation and is a leading contributor to cavities and tooth decay.

Studies show that the catechins in green tea can inhibit the growth of streptococcus mutans. Green tea consumption is associated with improved dental health and a lower risk of caries .

Another awesome benefit of green tea… multiple studies show that it can reduce bad breath .


Bottom Line: The catechins in green tea may inhibit the growth of bacteria and some viruses. This can lower the risk of infections and lead to improvements in dental health, a lower risk of caries and reduced bad breath.



7. Green Tea May Lower Your Risk of Type II Diabetes


Type II diabetes is a disease that has reached epidemic proportions in the past few decades and now afflicts about 300 million people worldwide.

This disease involves having elevated blood sugar levels in the context of insulin resistance or an inability to produce insulin.

Studies show that green tea can improve insulin sensitivity and reduce blood sugar levels (44, 45).

One study in Japanese individuals found that those who drank the most green tea had a 42% lower risk of developing type II diabetes (46).

According to a review of 7 studies with a total of 286,701 individuals, green tea drinkers had an 18% lower risk of becoming diabetic (47).


Bottom Line: Some controlled trials show that green tea can cause mild reductions in blood sugar levels. It may also lower the risk of developing type II diabetes in the long term.



8. Green Tea May Reduce Your Risk of Cardiovascular Disease

Cardiovascular diseases, including heart disease and stroke, are the biggest causes of death in the world .

Studies show that green tea can improve some of the main risk factors for these diseases.

This includes total cholesterol, LDL cholesterol and triglycerides.

Green tea also dramatically increases the antioxidant capability of the blood, which protects the LDL cholesterol particles from oxidation, which is one part of the pathway towards heart disease.

Given the beneficial effects on risk factors, it is not surprising to see that green tea drinkers have up to a 31% lower risk of cardiovascular disease.


Bottom Line: Green tea has been shown to lower total and LDL cholesterol, as well as protect the LDL particles from oxidation. Observational studies show that green tea drinkers have a lower risk of cardiovascular disease.



9. Green Tea Can Help You Lose Weight and Lower Your Risk of Becoming Obese


Given that green tea can boost the metabolic rate in the short term, it makes sense that it could help you lose weight.

Several studies show that green tea leads to decreases in body fat, especially in the abdominal area.

One of these studies was a randomized controlled trial in 240 men and women that went on for 12 weeks. In this study, the green tea group had significant decreases in body fat percentage, body weight, waist circumference and abdominal fat.

However, some studies don’t show a statistically significant increases in weight loss with green tea, so this needs to be taken with a grain of salt .


Bottom Line: Some studies show that green tea leads to increased weight loss. It is particularly effective at reducing the dangerous abdominal fat.



10. Green Tea May Decrease Your Risk of Dying and Help You Live Longer


Of course, we all have to die eventually. That is inevitable.

However, given that green tea drinkers are at a lower risk of cardiovascular disease and cancer, it makes sense that it could help you live longer.


In a study of 40,530 Japanese adults, those who drank the most green tea (5 or more cups per day) were significantly less likely to die during an 11 year period:


  • Death of all causes: 23% lower in women, 12% lower in men.

  • Death from heart disease: 31% lower in women, 22% lower in men.

  • Death from stroke: 42% lower in women, 35% lower in men.


Another study in 14,001 elderly Japanese individuals aged 65-84 years found that those who drank the most green tea were 76% less likely to die during the 6 year study period.