ERROR: [“DROP DATABASE” Statement Is Disabled] In PhpMyAdmin – Fixed

ERROR: [“DROP DATABASE” Statement Is Disabled] In PhpMyAdmin – Fixed

” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

Sometimes PhpMyAdmin throws very unusual error: ““DROP DATABASE” statement is disabled”. In this situation the “DROP” tab can not be seen in PhpMyAdmin home page.  You can get rid of this problem by doing the following process.

  1. Go to -> your_drive/xampp/PhpMyAdmin/libraries/
  2. Open a file name “config.default.php
  3. Find $cfg[‘AllowUserDropDatabase’] (This would be around line number 566)
  4. You will find the value is “False. Make it to  ”True” and Ta..Da..you can now able to drop the database.
“Strict Standards” Error After Installing Joomla 1.5.21,22 On XAMPP 1.7.4 – Fixed

“Strict Standards” Error After Installing Joomla 1.5.21,22 On XAMPP 1.7.4 – Fixed

If you are using joomla 1.5.21,22 on XAMPP 1.7.4 you might get “Strict Standards” errors like following..

ERROR:Strict Standards: Non-static method JLoader::import() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 29
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 32
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 71
Strict Standards: Non-static method JLoader::load() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 161
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 138
Strict Standards: Non-static method JRequest::clean() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 33
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 463
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 464
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 465
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 466

………….. And some other lines.

SOLUTION: You need to a little fix in php.ini file

  1. Open php.ini file.
  2. Find “error_reporting = E_ALL | E_STRICT” (this would be around line number 516)
  3. Replace with “error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
  4. Restart the APACHE and you are done.
How To Fix “Briefly Unavailable For Scheduled Maintenance WordPress” Error

How To Fix “Briefly Unavailable For Scheduled Maintenance WordPress” Error

If you are upgrading the wordpress version or sometimes one of the plugins you have installed for your wordpress blog and when you upgrade it and refresh the page your upgraded blog page keep showing annoying error “ Briefly unavailable for scheduled maintenance. check back in a minute.” and you refresh it again and again and it keep showing the same thing and sometimes if you refresh the Admin area in wordpress you see the same thing too. Here is the solution for it.

You have to find a file called “.maintenance” without the quotes, this file should be in the root directory of your WordPress installation. DELETE it. Now your blog and your admin area are back to normal.

[Solved] – WordPress Error – Undefined Function Wp_is_mobile()

[Solved] – WordPress Error – Undefined Function Wp_is_mobile()

– WordPress Error” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

– WordPress Error” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

I Have Developed A Website Using WordPress. I Have Upgraded The Version From 3.3 To 3.4 And In That Process I Forgot To Upgrade The Plug-Ins  I Have Installed. That Was Nightmare And That Website Which Contains More Than 300 Pages Had Stopped Working. So, I Had Gone Through The Various Posts And Forums And I Was Able To Resolved The Problem. So, Now Here It Is The Whole Solution. I Think You Don’t Need To Refer Different Posts Or Forums (I Hope) -:).

So, First I have  upload the fresh copy of the folder wp-admin and wp-includes. Don’t touch the wp-content folder. Please also check that your plugin folder should not be plugin.old.  For other details you can also refer the following link.

http://wordpress.org/support/topic/fatal-error-wp-is-mobile.

So after doing all those processes,  my front side had started working fine but admin side One error had started showing up which is Undefined function wp_is_mobile() which is very annoying and not allow me to get into the admin part of the wordpress. So, if you have the same situation you just need to do is, in your default theme you will have one file, functions.php and add the following function at the end of the functions.php file.

function wp_is_mobile() {

static $is_mobile;

if ( isset($is_mobile) )

return $is_mobile;

if ( empty($_SERVER[‘HTTP_USER_AGENT’]) ) {
$is_mobile = false;
} elseif ( strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Mobile’) !== false // many mobile devices (all iPhone, iPad, etc.)
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Android’) !== false
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Silk/’) !== false
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Kindle’) !== false
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘BlackBerry’) !== false
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Opera Mini’) !== false ) {
$is_mobile = true;
} else {
$is_mobile = false;
}

return $is_mobile;
}

now, try to log in in admin area of wordpress. I am sure now you can. This is how I have resolved my issue with the website and it is working well now.