Tag: error

Kohana, PHP

Creating your own Model User

If you are trying to create your own Model User and you receive the message bellow: ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key()ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key()ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key()ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key() then you …

General

Issuer certificate is invalid. (Error code: sec_error_ca_cert_invalid)

If you receive the following error in firefox when you try to visit a secure web site: https://mywebsite.com/index.php Secure Connection Failed An error occurred during a connection to mywebsite.com. Issuer certificate is invalid. (Error code: sec_error_ca_cert_invalid)https://mywebsite.com/index.php Secure Connection Failed An error occurred during a connection to mywebsite.com. Issuer certificate is invalid. (Error code: sec_error_ca_cert_invalid) You …

Linux, Sniffing, Wireshark

Run Wireshark as a user rather than root – Ubuntu

Messages from wireshark: Running as user “root” and group “root”. This could be dangerous. Lua: Error during loading: [string “/usr/share/wireshark/init.lua”]:45: dofile has been disabled To fix them and run wireshark as normal user and not as root which is very dangerous do the following: sudo chgrp adm /usr/bin/dumpcapsudo chgrp adm /usr/bin/dumpcap sudo chmod 750 /usr/bin/dumpcapsudo …

Microsoft SQL Server, Microsoft Windows

How do I fix “Cannot connect to WMI Provider” error?

Error Message: Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid Namespace. This error is caused when the .mof files are damaged during the MS SQL Server 2005 installation. This error typically occurs …

PHP, WEB

Modify error reporting behavior in PHP Part 1

Error reporting behavior can be modified at code level. This is very useful if you don’t have permissions to edit php.ini file. Here is a simple example to show you how to do it: //what should i report? ini_set(’error_reporting’, ‘E_ALL’); //show errors to user? ini_set(’display_errors’, ‘Off’); //log errors? ini_set(’log_errors’, ‘On’); //where should i log errors? …