Best WordPress Frameworks

Plenty of WordPress frameworks are available on the internet. Most of them built for WordPress theme development. There are frameworks for plugins. Options panel is also available. As WordPress frameworks built for faster workflow, most of the developers depending on frameworks. WordPress frameworks help to standardise development and increases flexibility.

More Details:

http://www.cssauthor.com/wordpress-frameworks/

Yii2 installation digest

this is based on freetuts.org and the Yii forum site…

Let’s start by installing Composer for Windows. Download the installer and run it. Installer will ask you to locate php.exe. If you are using xampp, browse to :

C:\xampp\php\

 

and select the purple php file, that is php.exe. If you are using wamp, browse to :

 

C:\wamp\bin\php\php5.5.12\

Continue reading Yii2 installation digest

Firefox history harvesting!

%APPDATA%\Mozilla\Firefox\Profiles
=======

select *
FROM moz_places
WHERE
last_visit_date BETWEEN strftime(‘%s’,’2000-04-01′)*1000000
AND strftime(‘%s’,’2014-07-10′)*1000000
AND visit_count < (2) AND frecency < 21

—-
delete
FROM moz_places
WHERE
last_visit_date BETWEEN strftime(‘%s’,’2000-04-01′)*1000000
AND strftime(‘%s’,’2014-07-10′)*1000000
AND visit_count < (2) AND frecency < 21

=============
select * from moz_historyvisits as hv
LEFT OUTER JOIN moz_places as p
on hv.place_id = p.id where p.visit_count IS NULL
—-
delete from moz_historyvisits where id in(
select hv.id from moz_historyvisits as hv
LEFT OUTER JOIN moz_places as p
on hv.place_id = p.id where p.visit_count IS NULL)
========

VACUUM

=====

 

 

php error handling

To display all errors you need to:

1. Have these lines in the PHP script you’re calling from the browser (typically index.php):

error_reporting(E_ALL);
ini_set('display_errors',1);

2.(a) Make sure that this script has no syntax errors

—or—

2.(b) Set display_errors = On in your php.ini

Otherwise, it can’t even run those 2 lines!

You can check for syntax errors in your script by running (at the command line):

php -l index.php

If you include the script from another PHP script then it will display syntax errors in the included script. For example:

index.php

error_reporting(E_ALL);
ini_set('display_errors',1);// Any syntax errors here will result in a blank screen in the browser

include 'my_script.php';

my_script.php

adjfkj // This syntax error will be displayed in the browser