Wednesday, July 29, 2015

Strict Standards: Non-static method JLoader::import() should not be called statically in

I was getting lot's of error messages for my joomla installation, after my php version for my shared hosting company upgraded the php version .

Strict Standards: Non-static method JLoader::import() should not be called statically in.

To stop the error message, just added the following code in my index.php file for my front end and back end script and the error messages has stop.

Strict Standards: Non-static method JLoader::import() should not be called statically in

define( '_JEXEC', 1 );

error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );

Friday, July 24, 2015

Dumping large database into mysql sql using console

Dumping large database into mysql sql using console

Change the directory where your mysql folder is located for easyphp. Mine is as follow


C:\Program Files\EasyPHP5.3.0\mysql\bin>


Type the following command, i am accessing via root.


C:\Program Files\EasyPHP5.3.0\mysql\bin>mysql -p -u root;

Enter the password:

Drop the current database.

mysql > drop database [database name] ;

mysql > show databases;

mysql > create database [database name] ;

mysql > use [database name] ;

Dump data into the database

mysql> source freepres_freeprdb.sql ;

mysql> show tables;

Check the total records, to see the latest record.

mysql > select count(*) as total_records from articles;


Related Posts Plugin for WordPress, Blogger...

ShareThis