Business Websites, Ecommerce solution, Process Automation!

How to Log errors in Codeigniter

You do not have to build separate functions in codeignter to log errors in you rapplications.

Codeignter has an error logging function in the file system\core\common.php:

 

Code Ignter Error function

function log_message($level, $message)
    {
        static $_log;

        if ($_log === NULL)
        {
            // references cannot…

Call to undefined method CI_DB_mysqli_driver::_error_number()

If you are a codeigniter developer   and you are in the middle of a project scratching your heard asking why you cannot get a DB insert/delete success message determined, you are in the right place. You may not be doing anything wrong.

 

Here is a sample code that can generate…

Onsite Support: Fixing computers at home- Toronto and Area

Onsite Support: Fixing computers at home- Toronto and Area

Almost every home you can think of has one or more computers and so are issues with either with the software or hardware. In most developed countries, majority of the issues are software related while in most third world countries the computer…

How to Solve Codeigniter Time Zone error

How to Solve Codeigniter Time Zone error:

A PHP Error was encountered

Severity: Warning

Message: main(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function

If you have not seen this error before in your Codeigniter code but suddenly started…

How to fix error: Call to undefined function wp_get_theme() on Wordpress

It can be a nightmare when you are in the middle of a theme upload or after a theme activation, something happens and you end up with the following error:

1
Call to undefined function wp_get_theme()

The most frustrating thing is that any link that you click on…

01

Build YourWebsites

>>
Showcase your business online! Whether you need a website for your associations,business, ecommerce or affiliate marketing Call us Now
02

MaintainWeb Assets

Maintain Your Web Assets To ensure optimal performance and 99.9% uptime.We help you fix issues,on-page SEO optimization
03

Build NewAdd-ons

>>
We help our Clients to add new features: Additional pages, add payment gateway, load products to your store or build a new e-commerce store.